diff --git a/boards/arm/nrf91/common/scripts/flash_app.ld b/boards/arm/nrf91/common/scripts/flash_app.ld index e8ca68d6cb..38eceec344 100644 --- a/boards/arm/nrf91/common/scripts/flash_app.ld +++ b/boards/arm/nrf91/common/scripts/flash_app.ld @@ -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