tcl/board: add SPDX tag
[fw/openocd] / tcl / board / st_nucleo_f0.cfg
index 0cd75b600ba995a67d10e1c68f7f90f3376808c5..31a95f59d2e81607456fa30630290d8c50422f35 100644 (file)
@@ -1,4 +1,6 @@
-# This is for all ST NUCLEO with any STM32F0. Know Boards at the moment:
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# This is for all ST NUCLEO with any STM32F0. Known boards at the moment:
 # STM32F030R8
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997
 # NUCLEO-F072RB
@@ -6,11 +8,10 @@
 # STM32F091RC
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260944
 
-source [find interface/stlink-v2-1.cfg]
+source [find interface/stlink.cfg]
 
 transport select hla_swd
 
 source [find target/stm32f0x.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only