openocd/tcl/board/lpc4350_spifi_generic.cfg

16 lines
466 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Generic LPC4350 board w/ SPIFI flash.
# This config file is intended as an example of how to
# use the lpcspifi flash driver, but it should be functional
# for most LPC4350 boards utilizing SPIFI flash.
set CHIPNAME lpc4350
source [find target/lpc4350.cfg]
#Configure the flash bank; 0x14000000 is the base address for
#lpc43xx/lpc18xx family micros.
flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4