summaryrefslogtreecommitdiffstats
path: root/electronics
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@twinleaf.com>2014-11-05 23:20:09 -0800
committerbryan newbold <bnewbold@twinleaf.com>2014-11-05 23:24:29 -0800
commitb2f5ba408f8c7678dd45001e45e79c0c4463f41a (patch)
treeacf2bef629e68c00dd4922664fd9200a1f21d14f /electronics
parent157d5709841e44ed5a626e3d94466e391fa7dd6f (diff)
downloadknowledge-b2f5ba408f8c7678dd45001e45e79c0c4463f41a.tar.gz
knowledge-b2f5ba408f8c7678dd45001e45e79c0c4463f41a.zip
stm32: memory utilization notes
Diffstat (limited to 'electronics')
-rw-r--r--electronics/stm32.txt9
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
================