aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/ARM7-LPC214x-GCC-minimal/ch.ld2
-rw-r--r--demos/ARM7-LPC214x-GCC/ch.ld2
-rw-r--r--readme.txt6
3 files changed, 10 insertions, 0 deletions
diff --git a/demos/ARM7-LPC214x-GCC-minimal/ch.ld b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
index ace1c3b53..a71fac21b 100644
--- a/demos/ARM7-LPC214x-GCC-minimal/ch.ld
+++ b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
@@ -64,6 +64,8 @@ SECTIONS
_data = .;
*(.data)
. = ALIGN(4);
+ *(.ramtext)
+ . = ALIGN(4);
_edata = .;
} > ram AT > flash
diff --git a/demos/ARM7-LPC214x-GCC/ch.ld b/demos/ARM7-LPC214x-GCC/ch.ld
index ace1c3b53..a71fac21b 100644
--- a/demos/ARM7-LPC214x-GCC/ch.ld
+++ b/demos/ARM7-LPC214x-GCC/ch.ld
@@ -64,6 +64,8 @@ SECTIONS
_data = .;
*(.data)
. = ALIGN(4);
+ *(.ramtext)
+ . = ALIGN(4);
_edata = .;
} > ram AT > flash
diff --git a/readme.txt b/readme.txt
index fdc4b1a7a..0f872fe00 100644
--- a/readme.txt
+++ b/readme.txt
@@ -39,6 +39,12 @@ AVR-AT90CANx-GCC - Port on AVR AT90CAN128, not complete yet.
*** Releases ***
*****************************************************************************
+*** 0.5.1 ***
+- Added to the ARM demos load scripts the capability to load code in RAM
+ instead flash, the function must be marked as:
+ __attribute__((section(".ramtext")))
+ The option -mlong-calls should be specified in the makefile too.
+
*** 0.5.0 ***
- NEW: Mutexes, the new mechanism provides a complete implementation of the
"priority inheritance" algorithm as a tool for work around the priority