aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports')
-rw-r--r--os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1766.ld9
-rw-r--r--os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1769.ld11
2 files changed, 19 insertions, 1 deletions
diff --git a/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1766.ld b/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1766.ld
index 2a12d97e3..594fd40b2 100644
--- a/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1766.ld
+++ b/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1766.ld
@@ -104,6 +104,15 @@ SECTIONS
_etext = .;
_textdata = _etext;
+ .eth_ram (NOLOAD) :
+ {
+ . = ALIGN(4);
+ PROVIDE(_eth_ram_start = .);
+ *(.eth_ram)
+ . = ALIGN(4);
+ PROVIDE(_eth_ram_end = .);
+ } > ramahb
+
.stacks :
{
. = ALIGN(8);
diff --git a/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1769.ld b/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1769.ld
index dc5c1feb8..cd195baba 100644
--- a/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1769.ld
+++ b/os/ports/GCC/ARMCMx/LPC17xx/ld/LPC1769.ld
@@ -19,7 +19,7 @@
*/
/*
- * LPC1766 memory setup.
+ * LPC1769 memory setup.
*/
__main_stack_size__ = 0x0200;
__process_stack_size__ = 0x0200;
@@ -103,6 +103,15 @@ SECTIONS
_etext = .;
_textdata = _etext;
+
+ .eth_ram (NOLOAD) :
+ {
+ . = ALIGN(4);
+ PROVIDE(_eth_ram_start = .);
+ *(.eth_ram)
+ . = ALIGN(4);
+ PROVIDE(_eth_ram_end = .);
+ } > ramahb
.stacks :
{