浏览代码

openocd: Rearrange scripts and create new one for F7 v1.1 PCB (SRST is usable).

Keir Fraser 5 年之前
父节点
当前提交
a359d141ae
共有 2 个文件被更改,包括 11 次插入1 次删除
  1. 1 1
      scripts/openocd/f7_v1.0.cfg
  2. 10 0
      scripts/openocd/f7_v1.1.cfg

+ 1 - 1
scripts/openocd_gw_f7.cfg → scripts/openocd/f7_v1.0.cfg

@@ -1,4 +1,4 @@
-# OpenOCD board configuration for Greaseweazle STM32F730xx
+# OpenOCD board configuration for Greaseweazle STM32F730xx PCB v1.0
 
 source [find interface/stlink.cfg]
 

+ 10 - 0
scripts/openocd/f7_v1.1.cfg

@@ -0,0 +1,10 @@
+# OpenOCD board configuration for Greaseweazle STM32F730xx PCB v1.1
+# - SRST signal is surfaced at the DEBUG header and can be used for reset
+
+source [find interface/stlink.cfg]
+
+transport select hla_swd
+
+source [find target/stm32f7x.cfg]
+
+reset_config srst_only