diff options
Diffstat (limited to 'bsp/coreip-s51')
-rw-r--r-- | bsp/coreip-s51/mee.lds | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bsp/coreip-s51/mee.lds b/bsp/coreip-s51/mee.lds index 9f73234..3e454a7 100644 --- a/bsp/coreip-s51/mee.lds +++ b/bsp/coreip-s51/mee.lds @@ -4,6 +4,7 @@ ENTRY(_enter) MEMORY { + itim (wx!rai) : ORIGIN = 0x8000000, LENGTH = 0x4000 ram (wxa!ri) : ORIGIN = 0x20000000, LENGTH = 0x4000000 } @@ -11,7 +12,9 @@ PHDRS { flash PT_LOAD; ram_init PT_LOAD; + itim_init PT_LOAD; ram PT_LOAD; + itim PT_LOAD; } SECTIONS @@ -116,6 +119,30 @@ SECTIONS } >ram AT>ram :ram + .litimalign : + { + . = ALIGN(4); + PROVIDE( mee_segment_itim_source_start = . ); + } >ram AT>ram :ram + + + .ditimalign : + { + . = ALIGN(4); + PROVIDE( mee_segment_itim_target_start = . ); + } >itim AT>ram :itim_init + + + .itim : + { + *(.itim .itim.*) + } >itim AT>ram :itim_init + + + . = ALIGN(8); + PROVIDE( mee_segment_itim_target_end = . ); + + .lalign : { . = ALIGN(4); |