mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-14 02:58:23 +08:00
tcl/target/max32680: Add max32680 support
Add configuration file for max32680 Change-Id: Ibe290fd6d964ae3355f4e064f65b4510a9cbf5dd Signed-off-by: Henrik Mau <henrik.mau@analog.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8978 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:

committed by
Antonio Borneo

parent
a2d0566a93
commit
269fdd233c
22
tcl/target/max32680.cfg
Normal file
22
tcl/target/max32680.cfg
Normal file
@@ -0,0 +1,22 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Maxim Integrated MAX32655 OpenOCD target configuration file
|
||||
|
||||
adapter speed 500
|
||||
|
||||
# Set the reset pin configuration
|
||||
reset_config srst_only
|
||||
adapter srst delay 2
|
||||
adapter srst pulse_width 2
|
||||
|
||||
# Set flash parameters
|
||||
set FLASH_BASE 0x10000000
|
||||
set FLASH_SIZE 0x80000
|
||||
set FLC_BASE 0x40029000
|
||||
set FLASH_SECTOR 0x2000
|
||||
set FLASH_CLK 100
|
||||
set FLASH_OPTIONS 0x01
|
||||
|
||||
# Use Serial Wire Debug
|
||||
transport select swd
|
||||
|
||||
source [find target/max32xxx_common.cfg]
|
Reference in New Issue
Block a user