So, I am adapting and adding to a project based on the example app with SDK16.0 and softdevice s112. I'm using Keil.
My nrf52832 has 256kb flash, 32k ram.
I'm compiling fine at
Program Size: Code=29200 RO-data=3424 RW-data=420 ZI-data=6204
But then I add *one* more line of code and I get a bunch of
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching nrf_sdh_ble.o(.data).
Below are my compiler options, inherited from the example code. It looks like my ROM is sized at 0x6700=421000 bytes and my RAM is sized at 0xDD38=56000 bytes.
This is way more than the size of my program (29k-35k flask, 6-7k ram), isn't it? My softdevice (according to nrfconnect) is around 97k, so I should be fine.
What am I running into here, does anyone know? I would have thought the example project was set up properly.
Thanks.