RAM Overflow Error in Nordic WiFi Fundamentals Exercise l5_e2

Hi everyone,

I'm currently following the "WiFi Fundamentals" course provided by Nordic, and I'm encountering issues with this specific exercise (l5_e2):

To ensure I wasn't making any mistakes, I used the solutions provided directly by Nordic (l5_e2_sol).

Additional Context:

  • Board: nrf7002dk_nrf5340

  • IDE: Visual Studio Code with nRF Connect extension

  • SDK and toolchains: 3.0

  • Windows 11 Pro

When trying to build l5_e2, I consistently get the error: region 'RAM' overflowed and `noinit' will not fit in region `RAM' .


Here are the details:

Memory region Used Size Region Size %age Used

FLASH: 114048 B 128 KB 87.01%

RAM: 38876 B 48 KB 79.09%

[...]

c:/ncs/toolchains/0b393f9e1b/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 `noinit' will not fit in region `RAM'

c:/ncs/toolchains/0b393f9e1b/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 50048 bytes

collect2.exe: error: ld returned 1 exit status

This is not the first time I encounter this problem on the WiFi Fundamentals courses; sometimes it was solved by doing nothing.

Related