From ab718d66ce2e6b6f701dba18646933134b07eece Mon Sep 17 00:00:00 2001 From: Mark O'Donovan Date: Sun, 21 Dec 2025 13:22:04 +0000 Subject: [PATCH] tcl/target: Add max32660.cfg Config file added and tested on max32660evsys Change-Id: Ia9b77408be881f8b393e833c66762e0deb31221c Signed-off-by: Mark O'Donovan Reviewed-on: https://review.openocd.org/c/openocd/+/9324 Tested-by: jenkins Reviewed-by: Tomas Vanek --- tcl/target/max32660.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tcl/target/max32660.cfg diff --git a/tcl/target/max32660.cfg b/tcl/target/max32660.cfg new file mode 100644 index 000000000..89f5741de --- /dev/null +++ b/tcl/target/max32660.cfg @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Maxim Integrated MAX32660 - Arm Cortex-M4F @ 96MHz + +# Set the reset pin configuration +reset_config srst_only + +# Set flash parameters +set FLASH_BASE 0x0 +set FLASH_SIZE 0x40000 +set FLC_BASE 0x40029000 +set FLASH_SECTOR 0x2000 +set FLASH_CLK 96 +set FLASH_OPTIONS 0x00 + +# Use Serial Wire Debug +transport select swd + +source [find target/max32xxx_common.cfg]