diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 18:44:07 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 18:44:07 -0500 |
commit | 9b342c65c8a038ff980645452ab84556376bedc7 (patch) | |
tree | 59b235f448ef979cfa650c4999ee57f970f00274 /src/lpc176x | |
parent | dc94a357528013ae182e413c3d7ec6145450a075 (diff) | |
download | kutter-9b342c65c8a038ff980645452ab84556376bedc7.tar.gz kutter-9b342c65c8a038ff980645452ab84556376bedc7.tar.xz kutter-9b342c65c8a038ff980645452ab84556376bedc7.zip |
armcm_link: Rename CONFIG_FLASH_START to CONFIG_FLASH_APPLICATION_ADDRESS
Rename the build symbol name for better clarity on what it represents.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x')
-rw-r--r-- | src/lpc176x/Kconfig | 2 | ||||
-rw-r--r-- | src/lpc176x/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc176x/Kconfig b/src/lpc176x/Kconfig index 5c950ef5..02da06da 100644 --- a/src/lpc176x/Kconfig +++ b/src/lpc176x/Kconfig @@ -70,7 +70,7 @@ choice config LPC_FLASH_START_0000 bool "No bootloader" endchoice -config FLASH_START +config FLASH_APPLICATION_ADDRESS hex default 0x4000 if LPC_FLASH_START_4000 default 0x0000 diff --git a/src/lpc176x/main.c b/src/lpc176x/main.c index 19a166dc..7fd05c5d 100644 --- a/src/lpc176x/main.c +++ b/src/lpc176x/main.c @@ -44,7 +44,7 @@ DECL_INIT(watchdog_init); void bootloader_request(void) { - if (!CONFIG_FLASH_START) + if (!CONFIG_FLASH_APPLICATION_ADDRESS) return; try_request_canboot(); // Disable USB and pause for 5ms so host recognizes a disconnect |