tcl/target: Fix include paths and standardise max32 configs

Corrected the include path for max32xxx_common.cfg in some files.
Cleaned up and standarised some comments in the max32... files.

Change-Id: I94dcc7ba6868bdd9730f03d3aa76fcdbbae33c3e
Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
Reviewed-on: https://review.openocd.org/c/openocd/+/9323
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
Mark O'Donovan
2025-12-21 11:50:33 +00:00
committed by Tomas Vanek
parent f9ec0ed51f
commit 22a7bda336
7 changed files with 17 additions and 25 deletions

View File

@@ -1,10 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# maxim Integrated OpenOCD target configuration file
# Maxim Integrated MAX32675 - Arm Cortex-M4F @ 100MHz
# reset pin configuration
# Set the reset pin configuration
reset_config none
adapter_nsrst_delay 200
adapter_nsrst_assert_width 200
adapter srst pulse_width 200
# Set flash parameters
set FLASH_BASE 0x10000000
@@ -17,9 +16,9 @@ set FLASH_OPTIONS 0x01
# Use Serial Wire Debug
transport select swd
source [find target/max32xxx.cfg]
source [find target/max32xxx_common.cfg]
# Early revisions of the MAX3275 will disable SWD upon reset. There are reserved address locations
# Early revisions of the MAX32675 will disable SWD upon reset. There are reserved address locations
# in the ROM code that can be used to insert breakpoints.
# This workaround will enable SWD for affected revisions.
$_CHIPNAME.cpu configure -event reset-assert-pre {