doc: application: Remove accidental backslashes in Kconfig sample
The SOC Definitions section had backslashes before * in globbing 'source's. Also change the language for the code block from 'console' to 'none'. Kconfig isn't shell. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
4461bc7c54
commit
acc829c3ee
1 changed files with 9 additions and 9 deletions
|
@ -675,7 +675,7 @@ SOC Definitions
|
|||
Similar to board support, the structure is similar to how SOCs are maintained in
|
||||
the Zephyr tree, for example:
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: none
|
||||
|
||||
soc
|
||||
└── arm
|
||||
|
@ -693,19 +693,19 @@ In the ``soc`` directory you will need a top-level Kconfig file pointing to the
|
|||
custom SOC definitions:
|
||||
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: none
|
||||
|
||||
choice
|
||||
prompt "SoC/CPU/Configuration Selection"
|
||||
choice
|
||||
prompt "SoC/CPU/Configuration selection"
|
||||
|
||||
source "$(SOC_DIR)/$(ARCH)/\*/Kconfig.soc"
|
||||
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.soc"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
menu "Hardware Configuration"
|
||||
osource "$(SOC_DIR)/$(ARCH)/\*/Kconfig"
|
||||
menu "Hardware Configuration"
|
||||
osource "$(SOC_DIR)/$(ARCH)/*/Kconfig"
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
Once the SOC structure is in place, you can build your application
|
||||
targeting this platform by specifying the location of your custom platform
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue