Sjoerd revised this gist 2 years ago. Go to revision
1 file changed, 23 insertions
stm32f103.cfg(file created)
| @@ -0,0 +1,23 @@ | |||
| 1 | + | # SPDX-License-Identifier: GPL-2.0-or-later | |
| 2 | + | ||
| 3 | + | # This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip. | |
| 4 | + | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875 | |
| 5 | + | ||
| 6 | + | source [find interface/stlink.cfg] | |
| 7 | + | ||
| 8 | + | transport select hla_swd | |
| 9 | + | ||
| 10 | + | ||
| 11 | + | ||
| 12 | + | source [find target/stm32f1x.cfg] | |
| 13 | + | ||
| 14 | + | ||
| 15 | + | stm32f1x.tpiu configure -protocol uart -traceclk 72000000 -output - -formatter off | |
| 16 | + | stm32f1x.tpiu enable | |
| 17 | + | ||
| 18 | + | itm ports on | |
| 19 | + | ||
| 20 | + | tcl_port 6666 | |
| 21 | + | ||
| 22 | + | ||
| 23 | + | reset_config srst_only | |
Newer
Older