Эх сурвалжийг харах

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

Keir Fraser 5 жил өмнө
parent
commit
a359d141ae

+ 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