I'm trying to setup so that I can do firmware update on nRF5340 using only the internal flash.
Due to the many dependencies between different images I'm creating my custom board by using a copy of the
thingy53 board, however on my board there is no external flash.
I'm using the nrf sdk 2.5.2 and it does not seem like the mcuboot integration works without external flash.
CONFIG_NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH needs to be set which depends on CONFIG_NRF53_MULTI_IMAGE_UPDATE, which in turn depends on PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY.
config NRF53_MULTI_IMAGE_UPDATE bool "Support updating app core and net core in a single operation" default y depends on UPDATEABLE_IMAGE_NUMBER > 1 depends on SOC_NRF5340_CPUAPP depends on BOOT_IMAGE_ACCESS_HOOKS depends on FLASH_SIMULATOR depends on FLASH_SIMULATOR_DOUBLE_WRITES depends on !FLASH_SIMULATOR_STATS depends on PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY depends on BOOT_UPGRADE_ONLY || USE_NRF53_MULTI_IMAGE_WITHOUT_UPGRADE_ONLY depends on $(dt_compat_enabled,$(DT_COMPAT_SIM_FLASH)) select NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH
here also BOOT_IMAGE_ACCESS_HOOKS depends on PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY being set.