summaryrefslogtreecommitdiff
path: root/tests/adc-power/openocd.stm32f4-disco.cfg
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-09-09 21:02:43 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-09-09 22:16:45 +0000
commita5764de19f3f1c34789990b85965ffb9df0d4e9d (patch)
treeae0c9df3738fe55da2866dcccda4c39e2634268c /tests/adc-power/openocd.stm32f4-disco.cfg
parent02064576e8dc31509dc91a0681ba80f2c9615d2f (diff)
downloadolsndot-a5764de19f3f1c34789990b85965ffb9df0d4e9d.tar.gz
olsndot-a5764de19f3f1c34789990b85965ffb9df0d4e9d.tar.bz2
olsndot-a5764de19f3f1c34789990b85965ffb9df0d4e9d.zip
adc-power: add f4 oocd config
Diffstat (limited to 'tests/adc-power/openocd.stm32f4-disco.cfg')
-rw-r--r--tests/adc-power/openocd.stm32f4-disco.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/adc-power/openocd.stm32f4-disco.cfg b/tests/adc-power/openocd.stm32f4-disco.cfg
new file mode 100644
index 0000000..d1d19ea
--- /dev/null
+++ b/tests/adc-power/openocd.stm32f4-disco.cfg
@@ -0,0 +1,12 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f4x.cfg]
+
+# My board
+hla_serial "W?k\x06IgHV0H\x10?"
+
+tpiu config internal swodump.stm32f4-disco.log uart off 168000000
+
+# Uncomment to reset on connect, for grabbing under WFI et al
+reset_config srst_only srst_nogate
+# reset_config srst_only srst_nogate connect_assert_srst