Have been trying to run nRF9160 LwM2M client sample. A problem is that it doesn't appear to be initialising the modem properly, by trying to access the network when the modem is closed (red indicator). Whereas we've been able to access the network, establishing an LTE Cat M and NB-IoT connection by running the at_client sample with the normal FUN AT commands.
So then using vscode we tried to build LwM2M_client with debug on, to be able to step through the modem initialisation code.
However the build fails with "zephyr/zephyr_pre0.elf section `rodata' will not fit in region `FLASH' ... region `FLASH' overflowed by 40984 bytes"
This is the same on an Ubuntu 20.04 and also a Windows 11 PC.
Using the latest SDK 2.0.0 and modem firmware 1.3.2
It is obviously fairly critical to be able to operate the debugger with the LwM2M client, particularly if it is to be used as a basis for further LwM2M firmware development.
Solutions would be appreciated.