The RAM of the STM32G4 is heavily occupied
Posted: Mon Nov 14, 2022 3:37 am
When I compiled the /RT-STM32G474RE-NUCLEO64 template, the compilation result showed that the running memory(RAM) occupied 128K, what should I do to reduce the running memory consumption? Because the STM32G474RE only has 128K of running memory (I'm a newbie, excuse me)
The result of the compilation:
text data bss dec hex filename
7588 0 131072 138660 21da4 build/ch.elf
Creating build/ch.list
RAM(/K) = (bss+data)/1024 = 131072/1024 = 128K
The result of the compilation:
text data bss dec hex filename
7588 0 131072 138660 21da4 build/ch.elf
Creating build/ch.list
RAM(/K) = (bss+data)/1024 = 131072/1024 = 128K