Initial checkin. Basic build and runtime environment, prior to first

test on actual hardware.
This commit is contained in:
2011-05-04 00:03:28 +00:00
commit f5159013b3
4 changed files with 290 additions and 0 deletions

47
lpc2103_flash.ld Normal file
View File

@@ -0,0 +1,47 @@
ENTRY(_startup)
MEMORY
{
flash : ORIGIN = 0, LENGTH = 32K
ram_isp_low(A) : ORIGIN = 0x40000040, LENGTH = 224
ram : ORIGIN = 0x40000120, LENGTH = 7872
ram_isp_high(A) : ORIGIN = 0x40001FE0, LENGTH = 32
}
_stack_end = 0x40001FDC;
SECTIONS
{
. = 0;
/* startup : { *(.startup)} >flash */
.text :
{
*crt0.o (.text)
*(.text)
*(.rodata)
*(.rodata*)
*(.glue_7)
*(.glue_7t)
_etext = .;
} >flash
.data :
{
_data = .;
*(.data)
_edata = .;
} >ram AT >flash
.bss :
{
_bss_start = .;
*(.bss)
} >ram
. = ALIGN(4);
_bss_end = . ;
}
_end = .;