CONFIG_BOOTLOADER_MCUBOOT on custom NRF9160 board

Hi all,

SDK: NRF Connect v2.5.0

We've made a custom PCB with the NRF9160, and we have made a custom board configuration for it.

Our issue seems to appear when trying to enable this flag: CONFIG_BOOTLOADER_MCUBOOT=y.

It fails at generating the build files with: 

CMake Error at /opt/nordic/ncs/v2.5.0/nrf/lib/fprotect/CMakeLists.txt:16 (message): No fprotect backend selected.

But if I use the same project and generate build files for the nrf9160dk_nrf9160_ns, then the project compiles fine, and if I emit the bootloader flag, it also compiles on the custom board.

I've also tried setting CONFIG_FPROTECT=n which doesn't seem to affect anything.

Here's the defconfig we're using for the custom board right now

CONFIG_SOC_SERIES_NRF91X=y
CONFIG_SOC_NRF9160_SICA=y
CONFIG_BOARD_APPARATUS_V2=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y

CONFIG_ARM_TRUSTZONE_M=y

CONFIG_TRUSTED_EXECUTION_NONSECURE=y

# Enable FPU
CONFIG_SHELL_BACKEND_RTT=y

# Enable UARTE
CONFIG_SERIAL=y

# Enable GPIO
CONFIG_GPIO=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# Enable I2C driver
CONFIG_I2C=y

# Enable SPI driver
CONFIG_SPI=y

What are we missing here?

Parents Reply Children
Related