The RAM usage always displays as 100% when I using the default gcc linker script
|
.stack (ORIGIN(RAM) + LENGTH(RAM) - __STACK_SIZE - __STACKSEAL_SIZE) (NOLOAD) : |
Memory region Used Size Region Size %age Used
FLASH: 17272 B 48 KB 35.14%
RAM: 4080 B 4080 B 100.00%
I fix this by change the linkscript to
Memory region Used Size Region Size %age Used
FLASH: 17272 B 48 KB 35.14%
RAM: 1640 B 4080 B 40.20%
The RAM usage always displays as 100% when I using the default gcc linker script
CMSIS_6/CMSIS/Core/Template/Device_M/Config/Device_gcc.ld
Line 294 in fdbbc52
I fix this by change the linkscript to