.elf section `.bss' will not fit in region `RAM'
Hello everyone,
I am trying to deploy ML model to microcontrollers and I have two boards of STM32L4R9I-Discovery and STM32H7B3I-Discovery. The experiments and related results are shown below:
I use TFLite Micro and STM32Cube.AI runtime to profile my ML model and then compile on two different boards. The hardware resource related to these two boards are provided and STM32H7B3I is a bigger one. However, it's strange that I can successively get the results on smaller board (STM32L4R9I) but build fail on a bigger one (STM32H7B3I) with the following error:
.../arm-none-eabi/bin/ld.exe: *****.elf section `.bss' will not fit in region `RAM'
.../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 251112 bytes
Could anyone provide some suggestions about how to address this issue? Thank you very much.
Best regards,
Jeff
