lpc2000: Add LPC407x/8x flash size auto detection
This patch adds auto flash size detection for LPC407x/8x series. Tested on below listed chips. LPC4088 LPC1788(regression test) Change-Id: I82f62678a04eac9b84658bd6d1cfdf45be64c931 Signed-off-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on: http://openocd.zylin.com/2555 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com> Reviewed-by: Jens Bauer <jens@gpio.dk>
This commit is contained in:
committed by
Paul Fertser
parent
17bcbdaef1
commit
199acf668e
8
tcl/target/lpc40xx.cfg
Normal file
8
tcl/target/lpc40xx.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
# NXP LPC40xx Cortex-M4F with at least 16kB SRAM
|
||||
set CHIPNAME lpc40xx
|
||||
set CHIPSERIES lpc4000
|
||||
if { ![info exists WORKAREASIZE] } {
|
||||
set WORKAREASIZE 0x4000
|
||||
}
|
||||
|
||||
source [find target/lpc1xxx.cfg]
|
||||
Reference in New Issue
Block a user