diff options
author | bryan newbold <bnewbold@twinleaf.com> | 2014-11-05 23:20:09 -0800 |
---|---|---|
committer | bryan newbold <bnewbold@twinleaf.com> | 2014-11-05 23:24:29 -0800 |
commit | b2f5ba408f8c7678dd45001e45e79c0c4463f41a (patch) | |
tree | acf2bef629e68c00dd4922664fd9200a1f21d14f | |
parent | 157d5709841e44ed5a626e3d94466e391fa7dd6f (diff) | |
download | knowledge-b2f5ba408f8c7678dd45001e45e79c0c4463f41a.tar.gz knowledge-b2f5ba408f8c7678dd45001e45e79c0c4463f41a.zip |
stm32: memory utilization notes
-rw-r--r-- | electronics/stm32.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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 ================ |