lpc8xx: Allow CHIPNAME override

Default to lpc8xx as before, but allow setting the actual CHIPNAME.

Change-Id: I5a48fa75c640440a0d4c3f2858653e94bed846d2
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3084
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Andreas Färber 2015-10-31 15:15:58 +01:00 committed by Freddie Chopin
parent c1c4a6dd7f
commit 951061c972
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# NXP LPC8xx Cortex-M0+ with at least 1kB SRAM
set CHIPNAME lpc8xx
if { ![info exists CHIPNAME] } {
set CHIPNAME lpc8xx
}
set CHIPSERIES lpc800
if { ![info exists WORKAREASIZE] } {
set WORKAREASIZE 0x400