aboutsummaryrefslogtreecommitdiff
path: root/Debug/memdump
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-08-04 15:12:36 -0700
committerpx4dev <px4@purgatory.org>2012-08-04 15:12:36 -0700
commit8a365179eafdf3aea98e60ab9f5882b200d4c759 (patch)
tree4f38d6d4cd80bd0b6e22e2bb534c3f117ce44e56 /Debug/memdump
downloadpx4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.gz
px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.bz2
px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.zip
Fresh import of the PX4 firmware sources.
Diffstat (limited to 'Debug/memdump')
-rw-r--r--Debug/memdump11
1 files changed, 11 insertions, 0 deletions
diff --git a/Debug/memdump b/Debug/memdump
new file mode 100644
index 000000000..703c4ed8b
--- /dev/null
+++ b/Debug/memdump
@@ -0,0 +1,11 @@
+define f4_memdump
+ shell mkdir -p /tmp/dump
+ printf "Dumping CCSRAM to /tmp/dump/ccsram\n"
+ dump memory /tmp/dump/ccsram 0x10000000 0x10010000
+ printf "Dumping SRAM to /tmp/dump/sram\n"
+ dump memory /tmp/dump/sram 0x20000000 0x20020000
+end
+
+document f4_memdump
+Dumps the STM32F4 memory to files in /tmp/dump.
+end