nrf91/common: add configuration checks for linker script
This commit is contained in:
parent
0267bfe093
commit
db82126faa
|
@ -50,6 +50,23 @@
|
|||
#define FLASH_CPUAPP_START_ADDR (0x00000000)
|
||||
#define RAM_CPUAPP_START_ADDR (CONFIG_RAM_START + NRF91_SHMEM_SIZE)
|
||||
|
||||
/* Verify */
|
||||
|
||||
#ifdef CONFIG_NRF91_APP_FORMAT_MCUBOOT
|
||||
# ifndef CONFIG_NRF91_PROGMEM_OTA_PARTITION
|
||||
# error missing CONFIG_NRF91_PROGMEM_OTA_PARTITION
|
||||
# endif
|
||||
# ifndef CONFIG_NRF91_OTA_PRIMARY_SLOT_OFFSET
|
||||
# error missing CONFIG_NRF91_OTA_PRIMARY_SLOT_OFFSET
|
||||
# endif
|
||||
# ifndef CONFIG_NRF91_MCUBOOT_HEADER_SIZE
|
||||
# error missing CONFIG_NRF91_MCUBOOT_HEADER_SIZE
|
||||
# endif
|
||||
# ifndef CONFIG_NRF91_OTA_SLOT_SIZE
|
||||
# error missing CONFIG_NRF91_OTA_SLOT_SIZE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Image format configuration */
|
||||
|
||||
#ifdef CONFIG_NRF91_APP_FORMAT_MCUBOOT
|
||||
|
|
Loading…
Reference in New Issue