summaryrefslogtreecommitdiff
path: root/openocd/openocd.stm32f072disco.cfg
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-09-26 20:57:10 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-09-26 20:57:10 +0000
commit19d3225fd66573a2a62ece83158cd5551255f2ad (patch)
tree72a4d6c5007b95913f2133981b64c761a0605069 /openocd/openocd.stm32f072disco.cfg
parent418b3e1415e90aed9a652122ddde36ffc60991ab (diff)
downloadolsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.gz
olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.bz2
olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.zip
adc-power: update makefiles with work lying around
Diffstat (limited to 'openocd/openocd.stm32f072disco.cfg')
-rw-r--r--openocd/openocd.stm32f072disco.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/openocd/openocd.stm32f072disco.cfg b/openocd/openocd.stm32f072disco.cfg
new file mode 100644
index 0000000..b7cc25b
--- /dev/null
+++ b/openocd/openocd.stm32f072disco.cfg
@@ -0,0 +1,14 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f0x.cfg]
+
+source openocd.common.cfg
+optional_local "openocd.stm32f072disco.local.cfg"
+
+# no trace on cm0
+#tpiu config internal swodump.stm32f4disco.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
+