riscv-openocd/tcl/target/lpc4357.cfg

13 lines
340 B
INI

#
# NXP LPC4357
#
if { ![info exists CHIPNAME] } {
set CHIPNAME lpc4357
}
set WORKAREASIZE 0x8000
source [find target/lpc4350.cfg]
flash bank $_CHIPNAME.flasha lpc2000 0x1A000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum
flash bank $_CHIPNAME.flashb lpc2000 0x1B000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum