Refactor and reorder ld script for cortex-m3.
[bertos.git] / bertos / cpu / cortex-m3 / scripts / lm3s8962_ram.ld
index 87d9a30978bfdebd2f0fecb075cc4002efd90b0a..54bef074e728ece21c43759ec0bacf08acafe889 100644 (file)
  * \author Andrea Righi <arighi@develer.com>
  */
 
-INCLUDE bertos/cpu/cortex-m3/scripts/lm3s1968_ram.ld
+/*
+ * Define memory configuration for LM3S1968 board
+ */
+MEMORY
+{
+        rom(rx) : org = 0x00000000, len = 256k
+        ram(rwx) : org = 0x20000000, len = 64k
+}
+
+INCLUDE "bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld"
+