Arm-none-eabi/bin/ld: rak3172.ino.elf section `.data' will not fit in region `ROM'

Hi, I wonder how much .data I have available. According. to the data sheet online for the 3172 you use the 256 K Flash Version of the STM chip. In mem.ld it says
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x20000 /* 128K */
but my little piece of code let the .data segment run out of space? Anything I can do to get more flash space for the application ?

Welcome to the forum @Christian

The LoRaWAN stack and LoRa drivers do not leave much space for application code on the RAK3172.

Check Configurable Memory Use on RUI3 v4.1.0 - More memory space for your actual IoT applications for some tips.

Make sure you have the latest RUI3 BSP version, at least V4.1.0 or the staging V4.1.1.

Cool. I am still working on 4.0.x, so I missed this function. Will help squeeze out some more bytes for app. TNX