summaryrefslogtreecommitdiff
path: root/openocd
diff options
context:
space:
mode:
Diffstat (limited to 'openocd')
-rw-r--r--openocd/README.md3
-rw-r--r--openocd/openocd.common.cfg10
-rw-r--r--openocd/openocd.stm32f072disco.cfg14
-rw-r--r--openocd/openocd.stm32f072disco.local.cfg2
-rw-r--r--openocd/openocd.stm32f103-generic.cfg20
-rw-r--r--openocd/openocd.stm32f3-disco.cfg13
-rw-r--r--openocd/openocd.stm32f4-disco.cfg13
-rw-r--r--openocd/openocd.stm32f4-disco.local.cfg2
-rw-r--r--openocd/openocd.stm32l053disco.cfg14
-rw-r--r--openocd/openocd.stm32l1-generic.cfg17
-rw-r--r--openocd/openocd.stm32l4-disco.cfg13
11 files changed, 0 insertions, 121 deletions
diff --git a/openocd/README.md b/openocd/README.md
deleted file mode 100644
index d210936..0000000
--- a/openocd/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Personal OpenOCD config files
-
-config files that match all my connected boards.
diff --git a/openocd/openocd.common.cfg b/openocd/openocd.common.cfg
deleted file mode 100644
index 188b484..0000000
--- a/openocd/openocd.common.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-# Shared openocd script helpers
-
-# put things like "hla_serial 'asdfadfa'" in openocd.<board>.local.cfg to support
-# multiple simultaneously connected boards.
-proc optional_local { LOCAL_FILE } {
- if { [ file exists $LOCAL_FILE ] } {
- puts "Loading custom local settings from $LOCAL_FILE"
- source [find $LOCAL_FILE]
- }
-}
diff --git a/openocd/openocd.stm32f072disco.cfg b/openocd/openocd.stm32f072disco.cfg
deleted file mode 100644
index f43f168..0000000
--- a/openocd/openocd.stm32f072disco.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-source [find interface/stlink-v2.cfg]
-set WORKAREASIZE 0x4000
-source [find target/stm32f0x.cfg]
-
-source [find 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
-
diff --git a/openocd/openocd.stm32f072disco.local.cfg b/openocd/openocd.stm32f072disco.local.cfg
deleted file mode 100644
index f81e2a3..0000000
--- a/openocd/openocd.stm32f072disco.local.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-# serial of my f072 disco board.
-hla_serial "Q?o\x06PgHW#$\x16?"
diff --git a/openocd/openocd.stm32f103-generic.cfg b/openocd/openocd.stm32f103-generic.cfg
deleted file mode 100644
index 7175f48..0000000
--- a/openocd/openocd.stm32f103-generic.cfg
+++ /dev/null
@@ -1,20 +0,0 @@
-# Unfortunately, with no f103 disco, we're currently
-# using a separate disco board
-#source [find interface/stlink-v2.cfg]
-source [find interface/stlink-v2-1.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?"
-# if l0 disco (And fix the line above!)
-hla_serial "0670FF484849785087085514"
-
-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
-
diff --git a/openocd/openocd.stm32f3-disco.cfg b/openocd/openocd.stm32f3-disco.cfg
deleted file mode 100644
index 835d466..0000000
--- a/openocd/openocd.stm32f3-disco.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
-source [find interface/stlink-v2.cfg]
-set WORKAREASIZE 0x4000
-source [find target/stm32f3x.cfg]
-
-# serial of my f3 disco board.
-hla_serial "S?n\x06gePQ6G%g"
-
-tpiu config internal swodump.stm32f3-disco.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
-
diff --git a/openocd/openocd.stm32f4-disco.cfg b/openocd/openocd.stm32f4-disco.cfg
deleted file mode 100644
index a349319..0000000
--- a/openocd/openocd.stm32f4-disco.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
-source [find interface/stlink-v2.cfg]
-set WORKAREASIZE 0x4000
-source [find target/stm32f4x.cfg]
-
-source [find openocd.common.cfg]
-optional_local "openocd.stm32f4-disco.local.cfg"
-
-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
-
diff --git a/openocd/openocd.stm32f4-disco.local.cfg b/openocd/openocd.stm32f4-disco.local.cfg
deleted file mode 100644
index 8cace82..0000000
--- a/openocd/openocd.stm32f4-disco.local.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-# serial of my f4 disco board.
-hla_serial "W?k\x06IgHV0H\x10?"
diff --git a/openocd/openocd.stm32l053disco.cfg b/openocd/openocd.stm32l053disco.cfg
deleted file mode 100644
index 83c592b..0000000
--- a/openocd/openocd.stm32l053disco.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-source [find interface/stlink-v2-1.cfg]
-set WORKAREASIZE 0x1000
-source [find target/stm32l0.cfg]
-
-source [find openocd.common.cfg]
-optional_local "openocd.stm32l053disco.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
-
diff --git a/openocd/openocd.stm32l1-generic.cfg b/openocd/openocd.stm32l1-generic.cfg
deleted file mode 100644
index 63cae6c..0000000
--- a/openocd/openocd.stm32l1-generic.cfg
+++ /dev/null
@@ -1,17 +0,0 @@
-# l1 generic, using a l4 disco board
-source [find interface/stlink-v2-1.cfg]
-# l1 disco itself or similar
-#source [find interface/stlink-v2.cfg]
-set WORKAREASIZE 0x2000
-source [find target/stm32l1.cfg]
-
-#hla_serial "W?k\x06IgHV0H\x10?"; # My f4 disco
-hla_serial "066DFF495351885087171826"; # My l4 disco
-hla_serial "066CFF495150807567064226"; # My l053 nucleo
-#hla_serial "S?l\x06H?WQ%\x10\x18?"; # My l1 disco
-
-tpiu config internal swodump.stm32l1-generic.log uart off 32000000
-
-# 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
diff --git a/openocd/openocd.stm32l4-disco.cfg b/openocd/openocd.stm32l4-disco.cfg
deleted file mode 100644
index 93c252f..0000000
--- a/openocd/openocd.stm32l4-disco.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
-source [find interface/stlink-v2-1.cfg]
-source [find target/stm32l4x.cfg]
-
-# serial of my f072 disco board.
-hla_serial "066DFF495351885087171826"
-
-tpiu config internal swodump.stm32l4-disco.log uart off 48000000
-
-# 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
-reset_config none
-