gcc-m68hc1x (1:3.3.6+3.1+dfsg-3) example/memory.x

Summary

 example/memory.x |   11 +++++++++++
 1 file changed, 11 insertions(+)

    
download this patch

Patch contents

--- gcc-m68hc1x-3.3.6+3.1+dfsg.orig/example/memory.x
+++ gcc-m68hc1x-3.3.6+3.1+dfsg/example/memory.x
@@ -0,0 +1,11 @@
+/* Memory definition for a 68HC11 program in EEPROM (1024 bytes) */
+MEMORY
+{
+  page0  (rwx) : ORIGIN = 0x0000, LENGTH = 0x03ff
+  eeprom (rx)  : ORIGIN = 0xfe00, LENGTH = 0x01ff
+  text   (rx)  : ORIGIN = 0xfe00, LENGTH = 0x01ff
+  data         : ORIGIN = 0x0000, LENGTH = 0x03ff
+}
+
+/* Setup the stack on the top of the data internal ram (not used).  */
+PROVIDE (_stack = 0x0400-1);