Compilation error for nRF52832: Flash region overflow

Hi,

I'm getting compilation error for nrf52dk/nrf52832 as,

 c:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 42708 bytes collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [10/20] No configure step for 'mcuboot'

While the same code was compiling for nrf5340dk/nrf5340/cpuapp.

Please let me know how to reduce the output file size for nrf52dk/nrf52832 board.

Best regards,

Sai Krishna

Related