Skip to content

Commit 94e8c2e

Browse files
arvinfgalak
authored andcommitted
Kconfig: ROM_START_OFFSET fix for samd5x
Set `ROM_START_OFFSET` for SAMD5X series to match the value calculated in the linker file after forced alignments in `vector_table.ld`. Signed-off-by: Arvin Farahmand <[email protected]>
1 parent bd365cc commit 94e8c2e

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

soc/arm/atmel_sam0/samd51/Kconfig.defconfig.series

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ config NUM_IRQS
2525
int
2626
default 137
2727

28+
config ROM_START_OFFSET
29+
default 0x400 if BOOTLOADER_MCUBOOT
30+
2831
config SYS_CLOCK_HW_CYCLES_PER_SEC
2932
int
3033
default 120000000

soc/arm/atmel_sam0/same51/Kconfig.defconfig.series

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ config NUM_IRQS
2121
int
2222
default 137
2323

24+
config ROM_START_OFFSET
25+
default 0x400 if BOOTLOADER_MCUBOOT
26+
2427
config SYS_CLOCK_HW_CYCLES_PER_SEC
2528
int
2629
default 120000000

soc/arm/atmel_sam0/same53/Kconfig.defconfig.series

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ config NUM_IRQS
2121
int
2222
default 137
2323

24+
config ROM_START_OFFSET
25+
default 0x400 if BOOTLOADER_MCUBOOT
26+
2427
config SYS_CLOCK_HW_CYCLES_PER_SEC
2528
int
2629
default 120000000

soc/arm/atmel_sam0/same54/Kconfig.defconfig.series

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ config NUM_IRQS
2020
int
2121
default 137
2222

23+
config ROM_START_OFFSET
24+
default 0x400 if BOOTLOADER_MCUBOOT
25+
2326
config SYS_CLOCK_HW_CYCLES_PER_SEC
2427
int
2528
default 120000000

0 commit comments

Comments
 (0)