From b2f5ba408f8c7678dd45001e45e79c0c4463f41a Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 5 Nov 2014 23:20:09 -0800 Subject: stm32: memory utilization notes --- electronics/stm32.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'electronics') diff --git a/electronics/stm32.txt b/electronics/stm32.txt index 6785840..4678b06 100644 --- a/electronics/stm32.txt +++ b/electronics/stm32.txt @@ -1,4 +1,13 @@ +Memory Utilization +===================== + +'text' is what ends up in flash (only). +'data' is initialized variables: need to be storad in flash, then end up in RAM. +'bss' is uninitialized data: nothing in flash, but does consume RAM. + +The "-x --format=sysv" flags to arm-none-eabi-size can be helpful. + Debugging ================ -- cgit v1.2.3