bootloader: make bootloader offset address in flash configurable

This commit is contained in:
morris
2020-07-14 17:20:13 +08:00
parent f092054f3d
commit b587428e5d
4 changed files with 13 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
set(BOOTLOADER_OFFSET 0x1000)
set(BOOTLOADER_OFFSET CONFIG_BOOTLOADER_OFFSET_IN_FLASH)
# Do not generate flash file when building bootloader
if(BOOTLOADER_BUILD OR NOT CONFIG_APP_BUILD_BOOTLOADER)