From 1f9c5f136d017a1efa6b32e3fa7b36dd034d9b89 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 16 Nov 2019 01:16:57 +0100 Subject: [PATCH] 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 --- Kconfig.zephyr | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Kconfig.zephyr b/Kconfig.zephyr index 7a92c144aa4..63cd4d06310 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -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