NOR: lpc2000 Add support for LPC84x devices

These devices differ from LPC8xx devices in that they have a different
IAP entry point, but everything else is the same.  Using Tcl to pass
different IAP entry point.
no new Clang analyser warnings and no new build sanitizers issues.

Change-Id: I2d654dd250f416e74262c0228cad8713a283402f
Signed-off-by: Rod Boyce <developer@teamboyce.co.uk>
Reviewed-on: http://openocd.zylin.com/4684
Reviewed-by: Jean-Christian de Rivaz <jcamdr70@gmail.com>
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
Rod Boyce
2018-12-16 17:41:39 +00:00
committed by Tomas Vanek
parent 8f777bc1a6
commit b3ed97a492
4 changed files with 51 additions and 3 deletions

11
tcl/target/lpc84x.cfg Normal file
View File

@@ -0,0 +1,11 @@
# NXP LPC84x Cortex-M0+ with at least 8kB SRAM
if { ![info exists CHIPNAME] } {
set CHIPNAME lpc84x
}
set CHIPSERIES lpc800
if { ![info exists WORKAREASIZE] } {
set WORKAREASIZE 0x1fe0
}
set IAP_ENTRY 0x0F001FF1
source [find target/lpc1xxx.cfg]