kconfig: Improve USE_CODE_PARTITION prompt and help string
The prompt and help string for USE_CODE_PARTITION were too terse and didn't make it clear that it's related to devicetree, which confused me. Spell things out in more detail. Unless the meaning of a symbol is completely obvious from context, aim for at least a few sentences of help text. Think about what would be confusing for someone coming at it without much context. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9cdb6f4033
commit
1f9c5f136d
|
@ -86,10 +86,13 @@ config HAS_FLASH_LOAD_OFFSET
|
|||
and FLASH_LOAD_SIZE.
|
||||
|
||||
config USE_CODE_PARTITION
|
||||
bool "link into code-partition"
|
||||
bool "Link application into /chosen/zephyr,code-partition from devicetree"
|
||||
depends on HAS_FLASH_LOAD_OFFSET
|
||||
help
|
||||
When selected application will be linked into chosen code-partition.
|
||||
When enabled, the application will be linked into the flash partition
|
||||
selected by the zephyr,code-partition property in /chosen in devicetree.
|
||||
When this is disabled, the flash load offset and size can be set manually
|
||||
below.
|
||||
|
||||
# Workaround for not being able to have commas in macro arguments
|
||||
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
|
||||
|
|
Loading…
Reference in a new issue