]> granicus.if.org Git - esp-idf/commitdiff
ld: seperate/rename eagle.xxx.ld to esp32.xxx.ld
authorWu Jian Gang <wujiangang@espressif.com>
Fri, 19 Aug 2016 10:28:32 +0000 (18:28 +0800)
committerWu Jian Gang <wujiangang@espressif.com>
Thu, 25 Aug 2016 03:07:53 +0000 (11:07 +0800)
components/esp32/ld/esp32.common.ld [moved from components/esp32/ld/eagle.fpga32.v7.ld with 80% similarity]
components/esp32/ld/esp32.ld [new file with mode: 0644]
components/esp32/ld/esp32.rom.ld [moved from components/esp32/ld/eagle.fpga32.rom.addr.v7.ld with 100% similarity]

similarity index 80%
rename from components/esp32/ld/eagle.fpga32.v7.ld
rename to components/esp32/ld/esp32.common.ld
index ca79c52de7b05b51faf64ccaa01366bbd69c5c6a..45bcc24f47f28533ce495d67384e78f82d72a475 100644 (file)
@@ -1,18 +1,3 @@
-/* THESE ARE THE VIRTUAL RUNTIME ADDRESSES  */
-/* The load addresses are defined later using the AT statements. */
-MEMORY
-{
-  /* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length
-  of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but
-  are connected to the data port of the CPU and eg allow bytewise access. */
-  iram0_0_seg (RX) :                 org = 0x40080000, len = 0x18000   /* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
-  iram0_2_seg (RX) :                 org = 0x400D0018, len = 0x330000  /* Even though the segment name is iram, it is actually mapped to flash */
-  dram0_0_seg (RW) :                 org = 0x3FFC0000, len = 0x20000   /* Shared RAM, minus rom bss/data/stack.*/
-  drom0_0_seg (R) :                  org = 0x3F400010, len = 0x800000
-}
-
-_heap_end = 0x3fffe000;
-
 /*  Default entry point:  */
 ENTRY(call_user_start_cpu0);
 
diff --git a/components/esp32/ld/esp32.ld b/components/esp32/ld/esp32.ld
new file mode 100644 (file)
index 0000000..4cb1c99
--- /dev/null
@@ -0,0 +1,14 @@
+/* THESE ARE THE VIRTUAL RUNTIME ADDRESSES  */
+/* The load addresses are defined later using the AT statements. */
+MEMORY
+{
+  /* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length
+  of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but
+  are connected to the data port of the CPU and eg allow bytewise access. */
+  iram0_0_seg (RX) :                 org = 0x40080000, len = 0x18000   /* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
+  iram0_2_seg (RX) :                 org = 0x400D0018, len = 0x330000  /* Even though the segment name is iram, it is actually mapped to flash */
+  dram0_0_seg (RW) :                 org = 0x3FFC0000, len = 0x20000   /* Shared RAM, minus rom bss/data/stack.*/
+  drom0_0_seg (R) :                  org = 0x3F400010, len = 0x800000
+}
+
+_heap_end = 0x3fffe000;