@------------------------------------------------------------------------------------- @ Olimex LPC2478_STK / LPC 2478 @ ------- FAMILY ----------- LPC_2000 = 1 @ NXP LPC2000 family MCU @ ------ Native USB -------- native_usb = 1 @ comment this line out to assemble without usb support @ --------- LEDs ----------- LEDPINSEL = PINSEL2 @ USB_UP_LED2 (Host) LEDIO = io1_base @ LED is on IO1PINs REDLED = 0x00002000 @ P1.13 YELLED = REDLED @ P1.13 GRNLED = REDLED @ P1.13 @ --------- FREQs ----------- CLOCK_FREQ = 0x011940 @ 72000 kHz = clock frequency PLL_PM_parms = 0x0B @ 12 MHz Xtal -- PLL dividor 1, multiplier 12 -> 288 MHZ UART0_DIV_L = 0xD5 @ lower byte of divisor for 9600 baud if pclk = 72 mhz UART0_DIV_H = 0x01 @ upper byte of divisor for 9600 baud if pclk = 72 mhz @ --------- RAM ------------ RAMBOTTOM = 0xA0000000 RAMTOP = 0xA4000000 @ LPC 2478-STK external SDRAM (64MB) @ --------- BUFFERS -------- BUFFER_START = 0x40000000 @ LPC 2478 internal SRAM (64 kB) heapbottom = RAMBOTTOM @ external SDRAM I2C0ADR = i2c0_base + i2c_address @ --------- FLASH ---------- F_START_PAGE = 0x010000 @ address of 1st page of FLASH (for files) F_END_PAGE = 0x070000 @ address of page after last page of FLASH used for files F_PAGE_SIZE = 256 @ size of pages used for files @-------------------------------------------------------------------------------------