2011-01-06 11:48:05 +00:00
|
|
|
# NXP LPC2124 ARM7TDMI-S with 256kB flash and 16kB SRAM, clocked with 12MHz crystal
|
2009-04-20 22:38:27 +00:00
|
|
|
|
2011-01-06 11:48:05 +00:00
|
|
|
source [find target/lpc2xxx.cfg]
|
2009-04-20 22:38:27 +00:00
|
|
|
|
2011-01-06 11:48:05 +00:00
|
|
|
proc init_targets {} {
|
|
|
|
# 256kB flash and 16kB SRAM, clocked with 12MHz crystal
|
|
|
|
# setup_lpc2xxx <chip_name> <cputapid> <flash_size> <flash_variant> <workarea_size> <core_freq_khz> <adapter_freq_khz>
|
|
|
|
setup_lpc2xxx lpc2124 0x4f1f0f0f 0x40000 lpc2000_v1 0x4000 12000 1500
|
2009-04-20 22:38:27 +00:00
|
|
|
}
|