aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040/Kconfig
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-11-03 12:41:28 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-11-08 09:53:04 -0500
commit42e9adcfc9963b54c71e8851e1a6a41a001531e5 (patch)
tree1ebbecfbe8eff81d4b1a5a66cc92b0e160a8d6dd /src/rp2040/Kconfig
parent11dd273b34e78b82ec16d22495aa107233ac6779 (diff)
downloadkutter-42e9adcfc9963b54c71e8851e1a6a41a001531e5.tar.gz
kutter-42e9adcfc9963b54c71e8851e1a6a41a001531e5.tar.xz
kutter-42e9adcfc9963b54c71e8851e1a6a41a001531e5.zip
armcm_reset: Introduce Kconfig FLASH_BOOT_ADDRESS value
Specify the arm architecture flash bootup address for each chip type in Kconfig using a new FLASH_BOOT_ADDRESS setting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040/Kconfig')
-rw-r--r--src/rp2040/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rp2040/Kconfig b/src/rp2040/Kconfig
index 37862d34..148222d7 100644
--- a/src/rp2040/Kconfig
+++ b/src/rp2040/Kconfig
@@ -31,6 +31,10 @@ config FLASH_SIZE
hex
default 0x200000
+config FLASH_BOOT_ADDRESS
+ hex
+ default 0x10000100 # Stage2 binary starts at 0x10000000
+
config RAM_START
hex
default 0x20000000
@@ -45,7 +49,7 @@ config STACK_SIZE
config FLASH_START
hex
- default 0x10000000
+ default 0x10000100
######################################################################