1425bb815Sopenharmony_ci/* eagle.flash.bin @ 0x00000 */ 2425bb815Sopenharmony_ci/* eagle.irom0text.bin @ 0x20000 */ 3425bb815Sopenharmony_ci 4425bb815Sopenharmony_ci/* Flash Map, support 512KB/1MB/2MB/4MB SPI Flash */ 5425bb815Sopenharmony_ci/* |......|..............................|..........................|.....|....| */ 6425bb815Sopenharmony_ci/* ^ ^ ^ ^ ^ */ 7425bb815Sopenharmony_ci/* |_flash.bin start(0x00000) |_irom0text.bin start(0x20000) | */ 8425bb815Sopenharmony_ci/* |_flash.bin end |_irom0text.bin end */ 9425bb815Sopenharmony_ci/* |_system param area(0x7b000) */ 10425bb815Sopenharmony_ci 11425bb815Sopenharmony_ci/* NOTICE: */ 12425bb815Sopenharmony_ci/* 1. You can change irom0 org, but MUST make sure irom0text.bin start not overlap flash.bin end. */ 13425bb815Sopenharmony_ci/* 2. You can change irom0 len, but MUST make sure irom0text.bin end not overlap system param area. */ 14425bb815Sopenharmony_ci/* 3. Space between flash.bin end and irom0text.bin start can be used as user param area. */ 15425bb815Sopenharmony_ci/* 4. Space between irom0text.bin end and system param area can be used as user param area. */ 16425bb815Sopenharmony_ci/* 5. Make sure irom0text.bin end < 0x100000 */ 17425bb815Sopenharmony_ci/* 6. system param area: */ 18425bb815Sopenharmony_ci/* 1>. 512KB--->0x07b000 */ 19425bb815Sopenharmony_ci/* 2>. 1MB----->0x0fb000 */ 20425bb815Sopenharmony_ci/* 3>. 2MB----->0x1fb000 */ 21425bb815Sopenharmony_ci/* 4>. 4MB----->0x3fb000 */ 22425bb815Sopenharmony_ci/* 7. Don't change any other seg. */ 23425bb815Sopenharmony_ci 24425bb815Sopenharmony_ciMEMORY 25425bb815Sopenharmony_ci{ 26425bb815Sopenharmony_ci dport0_0_seg : org = 0x3FF00000, len = 0x10 27425bb815Sopenharmony_ci dram0_0_seg : org = 0x3FFE8000, len = 0x18000 28425bb815Sopenharmony_ci iram1_0_seg : org = 0x40100000, len = 0x8000 29425bb815Sopenharmony_ci irom0_0_seg : org = 0x40220000, len = 0x7C000 30425bb815Sopenharmony_ci} 31425bb815Sopenharmony_ci 32425bb815Sopenharmony_ciINCLUDE ../ld/eagle.app.v6.common.ld 33