unable to compile application after activating CONFIG_BOOTLOADER_MCUBOOT option

hello all,

I'm fairly new to nRF SDF and its build environment. I browsed a lot of posts but did not find the solution to what is probably a basic misconfiguration error on my part.

I am using SDK v2.9.1 with Visual Studio Code and the EV-BM833 board.

My application runs fine when in stand alone mode (no boot loader) and now I want to add the bootloader to handle firmware updates in production mode.

I have able to compile, run and debug the MCUbootloder image itself without issue.

The problem is that my application does not compile when I enable the MCUboot option (CONFIG_BOOTLOADER_MCUBOOT=y).
The compilation error being: "zephyr/zephyr_pre0.elf section `rodata' will not fit in region `FLASH'".

From what I could gather, this compilation error means that the CONFIG_BOOTLOADER_MCUBOOT option is actually being ignored (causing the partition manager to not be properly configured).

The application is being built with sysbuild configuration. I tried adding child/mcuboot.conf with CONFIG_BOOTLOADER_MCUBOOT=y with no luck. It tried building without sysbuild too...

I attached my project to that post.

Any help is welcomed,

Best regards,

Alex

8814.peripheral_uart.zip

Parents Reply Children
No Data
Related