forked from auracaster/openocd
The assignment of adapter speed 500 was getting overwritten when max32xxx_common.cfg is sourced at the end. Also removed incorrect comment. Change-Id: I49d69073d93dedf28ed69d63ece35758f4707137 Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed-on: https://review.openocd.org/c/openocd/+/9322 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
20 lines
433 B
INI
20 lines
433 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Maxim Integrated MAX32680 - Arm Cortex-M4F @ 100MHz
|
|
|
|
# Set the reset pin configuration
|
|
reset_config srst_only
|
|
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]
|