diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-23 09:41:59 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-23 09:41:59 +0000 |
commit | 1736a34d19fe86ba454262e4e61863c233c0ef4b (patch) | |
tree | 1fb87cd167e0c0c30c8f46951ad38107841116be | |
parent | b7d01278b7092581ec774b7cf6185e04720a4c08 (diff) | |
download | ChibiOS-1736a34d19fe86ba454262e4e61863c233c0ef4b.tar.gz ChibiOS-1736a34d19fe86ba454262e4e61863c233c0ef4b.tar.bz2 ChibiOS-1736a34d19fe86ba454262e4e61863c233c0ef4b.zip |
Fixes to the LCF file and project.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8519 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf | 18 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp | bin | 61981 -> 61981 bytes |
2 files changed, 10 insertions, 8 deletions
diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf index 6c41a2e33..0596ad34a 100644 --- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf +++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf @@ -22,7 +22,7 @@ */
MEMORY
{
- flash : org = 0x00000000, len = 0x00040000
+ rom : org = 0x00000000, len = 0x00040000
dataflash : org = 0x00800000, len = 0x00010000
ram : org = 0x40000000, len = 0x00004000
}
@@ -36,8 +36,6 @@ __ram_end__ = ADDR(ram) + SIZEOF(ram); SECTIONS
{
- . = ADDR(flash);
-
GROUP:
{
.boot ALIGN(16):
@@ -95,7 +93,9 @@ SECTIONS extab: {}
extabindex: {}
- } > flash
+ . = ALIGN(4);
+ __romdata_start__ = .;
+ } > rom
GROUP:
{
@@ -114,14 +114,15 @@ SECTIONS __main_thread_stack_end__ = .;
}
- .data (DATA):
+ .data (DATA) LOAD(__romdata_start__):
{
. = ALIGN(4);
__data_start__ = .;
*(.data)
+ . = ALIGN(4);
}
- .sdata (DATA):
+ .sdata (DATA) LOAD(ROMADDR(.data) + SIZEOF(.data)):
{
__sdata_start__ = . + 0x8000;
*(.sdata)
@@ -148,7 +149,8 @@ SECTIONS . = ADDR(ram) + SIZEOF(ram);
__heap_end__ = .;
}
+
+ .PPC.EMB.sdata0: {}
+ .PPC.EMB.sbss0: {}
} > ram
}
-
-__romdata_start__ = _f_data_rom;
diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp Binary files differindex b9c560a16..3a21d9bd3 100644 --- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp +++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp |