2010-03-02 17:00:14 -06:00
|
|
|
# NXP LPC1768 Cortex-M3 with 512kB Flash and 32kB+32kB Local On-Chip SRAM,
|
2012-05-27 05:36:55 -05:00
|
|
|
set CHIPNAME lpc1768
|
|
|
|
set CPUTAPID 0x4ba00477
|
|
|
|
set CPURAMSIZE 0x8000
|
|
|
|
set CPUROMSIZE 0x80000
|
2009-08-13 08:54:53 -05:00
|
|
|
|
2010-03-02 17:00:14 -06:00
|
|
|
# After reset the chip is clocked by the ~4MHz internal RC oscillator.
|
|
|
|
# When board-specific code (reset-init handler or device firmware)
|
|
|
|
# configures another oscillator and/or PLL0, set CCLK to match; if
|
|
|
|
# you don't, then flash erase and write operations may misbehave.
|
|
|
|
# (The ROM code doing those updates cares about core clock speed...)
|
|
|
|
#
|
|
|
|
# CCLK is the core clock frequency in KHz
|
2012-05-27 05:36:55 -05:00
|
|
|
set CCLK 4000
|
2010-07-30 15:34:43 -05:00
|
|
|
|
2012-05-27 05:36:55 -05:00
|
|
|
#Include the main configuration file.
|
|
|
|
source [find target/lpc17xx.cfg];
|