Initial checkin. Basic build and runtime environment, prior to first
test on actual hardware.
This commit is contained in:
47
lpc2103_flash.ld
Normal file
47
lpc2103_flash.ld
Normal 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 = .;
|
||||
|
||||
Reference in New Issue
Block a user