1/* eagle.flash.bin @ 0x00000 */ 2/* eagle.irom0text.bin @ 0x20000 */ 3 4/* Flash Map, support 512KB/1MB/2MB/4MB SPI Flash */ 5/* |......|..............................|..........................|.....|....| */ 6/* ^ ^ ^ ^ ^ */ 7/* |_flash.bin start(0x00000) |_irom0text.bin start(0x20000) | */ 8/* |_flash.bin end |_irom0text.bin end */ 9/* |_system param area(0x7b000) */ 10 11/* NOTICE: */ 12/* 1. You can change irom0 org, but MUST make sure irom0text.bin start not overlap flash.bin end. */ 13/* 2. You can change irom0 len, but MUST make sure irom0text.bin end not overlap system param area. */ 14/* 3. Space between flash.bin end and irom0text.bin start can be used as user param area. */ 15/* 4. Space between irom0text.bin end and system param area can be used as user param area. */ 16/* 5. Make sure irom0text.bin end < 0x100000 */ 17/* 6. system param area: */ 18/* 1>. 512KB--->0x07b000 */ 19/* 2>. 1MB----->0x0fb000 */ 20/* 3>. 2MB----->0x1fb000 */ 21/* 4>. 4MB----->0x3fb000 */ 22/* 7. Don't change any other seg. */ 23 24MEMORY 25{ 26 dport0_0_seg : org = 0x3FF00000, len = 0x10 27 dram0_0_seg : org = 0x3FFE8000, len = 0x18000 28 iram1_0_seg : org = 0x40100000, len = 0x8000 29 irom0_0_seg : org = 0x40220000, len = 0x7C000 30} 31 32INCLUDE ../ld/eagle.app.v6.common.ld 33