riscv-openocd/tcl/target/at91sam4sd32x.cfg

12 lines
322 B
INI
Raw Permalink Normal View History

# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4sd32, a Cortex-M4 chip
#
source [find target/at91sam4XXX.cfg]
set _FLASHNAME $_CHIPNAME.flash0
flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME
set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME at91sam4 0x00500000 0 1 1 $_TARGETNAME