This is an automated email from Gerrit.

"Stephen Caudle <step...@caudle.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/7818

-- gerrit

commit 4246fe4f1bfa5b99a9b733bceea72bb26c9e5002
Author: Stephen Caudle <step...@caudle.com>
Date:   Mon Jul 17 14:30:56 2023 -0400

    tcl/board: add STM32C0 board files
    
    Add NUCLEO and Discovery files for STM32C0
    
    Known boards are NUCLEO-C031C and STM32C0116-DK
    
    Change-Id: I6414626eaf4b5848e05ea8b9d95af7b9a7aa4caf
    Signed-off-by: Stephen Caudle <step...@caudle.com>

diff --git a/tcl/board/st_nucleo_c0.cfg b/tcl/board/st_nucleo_c0.cfg
new file mode 100644
index 0000000000..474647f98f
--- /dev/null
+++ b/tcl/board/st_nucleo_c0.cfg
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# This is for all ST NUCLEO with any STM32C0. Known boards at the moment:
+# NUCLEO-C031C6
+# https://www.st.com/en/evaluation-tools/nucleo-c031c6.html
+
+source [find interface/stlink.cfg]
+
+transport select hla_swd
+
+source [find target/stm32c0x.cfg]
+
+reset_config srst_only
diff --git a/tcl/board/stm32c0discovery.cfg b/tcl/board/stm32c0discovery.cfg
new file mode 100644
index 0000000000..ec7f763efb
--- /dev/null
+++ b/tcl/board/stm32c0discovery.cfg
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# This is an STM32C0116 discovery board with a single STM32C011F6 chip.
+# https://www.st.com/en/evaluation-tools/stm32c0116-dk.html
+
+source [find interface/stlink.cfg]
+
+transport select hla_swd
+
+set WORKAREASIZE 0x1000
+source [find target/stm32c0x.cfg]
+
+reset_config srst_only

-- 

Reply via email to