From 19d3225fd66573a2a62ece83158cd5551255f2ad Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 26 Sep 2016 20:57:10 +0000 Subject: adc-power: update makefiles with work lying around --- tests/adc-power/openocd.stm32f103-generic.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/adc-power/openocd.stm32f103-generic.cfg (limited to 'tests/adc-power/openocd.stm32f103-generic.cfg') diff --git a/tests/adc-power/openocd.stm32f103-generic.cfg b/tests/adc-power/openocd.stm32f103-generic.cfg new file mode 100644 index 0000000..f2da08c --- /dev/null +++ b/tests/adc-power/openocd.stm32f103-generic.cfg @@ -0,0 +1,17 @@ +# Unfortunately, with no f103 disco, we're currently +# using a separate disco board +source [find interface/stlink-v2.cfg] +set WORKAREASIZE 0x2000 +source [find target/stm32f1x.cfg] + +# Serial of my l1 disco used as stlink here. +#hla_serial "S?l\x06H?WQ%\x10\x18?" +# if f4 disco +hla_serial "W?k\x06IgHV0H\x10?" + +tpiu config internal swodump.stm32f103-generic.log uart off 72000000 + +# 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 + -- cgit