2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2015-10-19 17:22:50 -05:00
|
|
|
#
|
|
|
|
# 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
|