Hi,
I'm working with NRF Connect SDK, and once in a while when I add new configuration options to the prj.conf, I get an error that some region overflowed by X bytes,
for example:
section `rodata' will not fit in region `FLASH' /home/vitaliy/tools/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.bfd: region `FLASH' overflowed by 3644 bytes
I'm using the nRF52833 board, so it should have around 500K space,
and as you can see the current usage is:
Memory region Used Size Region Size %age Used
FLASH: 27196 B 48 KB 55.33%
SRAM: 19780 B 128 KB 15.09%
IDT_LIST: 0 GB 2 KB 0.00%
Now, I read about Partition Manager, and I understand that for the main app image the required space is calculated dynamically, based on the components used,
and that the main app thus does not contain a pm.yml (as I see indeed in the project dir) which can define the allocation, so:
1. Why such errors occur?
2. Is there nevertheless any configuration that needs to be applied?
3. How can this be fixed?
Thanks!