zephyr_pre0.elf section `bss' will not fit in region `RAM' | region `RAM' overflowed by 135500 bytes

Hello,

When building my project although the terminal doesn't show me using all the RAM, I get the following error message which fails the build. 

Memory region         Used Size  Region Size  %age Used
           FLASH:       48456 B        64 KB     73.94%
             RAM:       18884 B        32 KB     57.63%

c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `bss' will not fit in region `RAM'
c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM' overflowed by 135500 bytes

I am using a custom device with a nRF5340 chipset, custom board files and all. Is this build error actually related to the RAM usage or is there something else I'm missing?

Thanks,

Parents Reply Children
No Data
Related