Skip to content

Commit 0a28ebf

Browse files
committed
bootloader: Make CONFIG_SB_IMAGE_BOOT_OFFSET user configurable
Allow setting custom value to the Kconfig option. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent 59e69b3 commit 0a28ebf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

subsys/bootloader/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ config SECURE_BOOT
1616
Set this option to enable the first stage bootloader which
1717
verifies the signature of the app.
1818

19+
1920
config SB_IMAGE_BOOT_OFFSET
20-
hex
21+
hex "Offset of executable code within firmware image"
2122
depends on !PARTITION_MANAGER_ENABLED
2223
default 0x800 if SOC_SERIES_NRF54L
2324
default 0x200 if SOC_SERIES_NRF53 || SOC_SERIES_NRF91
2425
default 0x200 if SOC_SERIES_NRF52
26+
default 0
2527
help
2628
Size of offset, from the beginning of storage partition, or __rom_start,
2729
where to application code begins. This is usually size of non-executable

0 commit comments

Comments
 (0)