region `FLASH' overflowed by x bytes

Hi

I'm trying to build Matter: Template app for nrf5340dk_nrf5340_cpuapp but I get this error:

/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `rodata' will not fit in region `FLASH'

/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 248 bytes

The application configuration file is: prj.conf

While I can build the light_bulb application successfully.

Regards,

Related