nrf52833 bluetooth mesh and bootloader

Dears,

I am developing a device base on nrf52833 SOC, nrf Connect SDK ver2.0.0.

I run the bluetooth mesh sensor server example and I want to have OTA on it.

But when I enable CONFIG_BOOTLOADER_MCUBOOT, there is an error:
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr\zephyr_pre0.elf section `text' will not fit in region `FLASH'
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: region `FLASH' overflowed by 44772 bytes

Why was the FLASH overflowed?

Is that true that 512KB flash of the nrf52833 SOC is not enough for bluetooth mesh and bootloader both exist one application?

Best regards.

Related