This is an automated email from Gerrit.

"Conor Paxton <conor.pax...@microchip.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8565

-- gerrit

commit 8e1d2b81d6237a394ffaddf102272056da94556c
Author: Conor Paxton <conor.pax...@microchip.com>
Date:   Fri Oct 18 19:29:49 2024 +0100

    tcl: add board for olimex targeting Microchip's RISCV family
    
    This patch adds a board that allows using an Olimex debug probe to
    target Microchip's PolarFire SoC as well as MiV device families
    
    Change-Id: Ia4a1b4583260d7b4fcec77ddbdd4b4b23d6219e0
    Signed-off-by: Tommy Murphy <tommy_mur...@hotmail.com>
    Signed-off-by: Anton Krug <anton.k...@gmail.com>
    Signed-off-by: Daire McNamara <daire.mcnam...@microchip.com>
    Signed-off-by: Matteo Bonicolini <matteo.bonicol...@microchip.com>
    Signed-off-by: Conor Paxton <conor.pax...@microchip.com>

diff --git a/tcl/board/microchip_riscv_olimex.cfg 
b/tcl/board/microchip_riscv_olimex.cfg
new file mode 100644
index 0000000000..5bfdf5003e
--- /dev/null
+++ b/tcl/board/microchip_riscv_olimex.cfg
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#**************************************************************************
+#   Copyright (C) 2015-2018 by Microchip Technology Inc.                  *
+#   http://www.microchip.com/support                                      *
+#                                                                         *
+#   This program is free software; you can redistribute it and/or modify  *
+#   it under the terms of the GNU General Public License as published by  *
+#   the Free Software Foundation; either version 2 of the License, or     *
+#   (at your option) any later version.                                   *
+#                                                                         *
+#   This program is distributed in the hope that it will be useful,       *
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
+#   GNU General Public License for more details.                          *
+#                                                                         *
+#   You should have received a copy of the GNU General Public License     *
+#   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
+#**************************************************************************
+
+#------------------------------------------------------------------------------
+# Microchip RISC-V board
+#------------------------------------------------------------------------------
+
+# Device
+source [find interface/ftdi/olimex-arm-usb-tiny-h.cfg]
+source [find target/microchip_riscv.cfg]
+
+# use a sane adapter speed
+adapter speed 6000
+
+# Board specific initialization
+proc do_board_reset_init {} {
+    # doesn't appear to be called
+}

-- 

Reply via email to