mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
enhance board flash handling and eeprom location
This commit is contained in:
17
hardware/tools/esp8266/sdk/ld/eagle.flash.1m128.ld
Normal file
17
hardware/tools/esp8266/sdk/ld/eagle.flash.1m128.ld
Normal file
@ -0,0 +1,17 @@
|
||||
/* Flash Split for 1M chips */
|
||||
/* irom0 812KB */
|
||||
/* spiffs 128KB */
|
||||
/* eeprom 20KB */
|
||||
|
||||
MEMORY
|
||||
{
|
||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
||||
iram1_0_seg : org = 0x40100000, len = 0x8000
|
||||
irom0_0_seg : org = 0x40210000, len = 0xCB000
|
||||
}
|
||||
|
||||
PROVIDE ( _SPIFFS_start = 0x402CB000 );
|
||||
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
17
hardware/tools/esp8266/sdk/ld/eagle.flash.1m256.ld
Normal file
17
hardware/tools/esp8266/sdk/ld/eagle.flash.1m256.ld
Normal file
@ -0,0 +1,17 @@
|
||||
/* Flash Split for 1M chips */
|
||||
/* irom0 684KB */
|
||||
/* spiffs 256KB */
|
||||
/* eeprom 20KB */
|
||||
|
||||
MEMORY
|
||||
{
|
||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
||||
iram1_0_seg : org = 0x40100000, len = 0x8000
|
||||
irom0_0_seg : org = 0x40210000, len = 0xAB000
|
||||
}
|
||||
|
||||
PROVIDE ( _SPIFFS_start = 0x402AB000 );
|
||||
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
@ -1,5 +1,5 @@
|
||||
/* Flash Split for 256K chips */
|
||||
/* irom0 108KB */
|
||||
/* Flash Split for 1M chips */
|
||||
/* irom0 876KB */
|
||||
/* spiffs 64KB */
|
||||
/* eeprom 20KB */
|
||||
|
||||
@ -8,10 +8,10 @@ MEMORY
|
||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
||||
iram1_0_seg : org = 0x40100000, len = 0x8000
|
||||
irom0_0_seg : org = 0x40210000, len = 0x1B000
|
||||
irom0_0_seg : org = 0x40210000, len = 0xEB000
|
||||
}
|
||||
|
||||
PROVIDE ( _SPIFFS_start = 0x4022B000 );
|
||||
PROVIDE ( _SPIFFS_end = 0x4023B000 );
|
||||
PROVIDE ( _SPIFFS_start = 0x402EB000 );
|
||||
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
Reference in New Issue
Block a user