Add 1M flash with 16k spiffs linker script

This commit is contained in:
arendst 2017-04-16 19:04:22 +02:00
parent 2b62f94871
commit c37158080a
2 changed files with 34 additions and 12 deletions

View File

@ -153,6 +153,14 @@ generic.menu.FlashSize.1M64.build.spiffs_end=0xFB000
generic.menu.FlashSize.1M64.build.spiffs_blocksize=4096
generic.menu.FlashSize.1M64.upload.maximum_size=958448
generic.menu.FlashSize.1M16=1M (16K SPIFFS)
generic.menu.FlashSize.1M16.build.flash_size=1M
generic.menu.FlashSize.1M16.build.flash_ld=eagle.flash.1m16.ld
generic.menu.FlashSize.1M16.build.spiffs_start=0xF7000
generic.menu.FlashSize.1M16.build.spiffs_end=0xFB000
generic.menu.FlashSize.1M16.build.spiffs_blocksize=4096
generic.menu.FlashSize.1M16.upload.maximum_size=1007600
generic.menu.FlashSize.2M=2M (1M SPIFFS)
generic.menu.FlashSize.2M.build.flash_size=2M
generic.menu.FlashSize.2M.build.flash_ld=eagle.flash.2m.ld
@ -348,6 +356,13 @@ esp8285.menu.FlashSize.1M64.build.spiffs_end=0xFB000
esp8285.menu.FlashSize.1M64.build.spiffs_blocksize=4096
esp8285.menu.FlashSize.1M64.upload.maximum_size=958448
esp8285.menu.FlashSize.1M16=1M (16K SPIFFS)
esp8285.menu.FlashSize.1M16.build.flash_size=1M
esp8285.menu.FlashSize.1M16.build.flash_ld=eagle.flash.1m16.ld
esp8285.menu.FlashSize.1M16.build.spiffs_start=0xF7000
esp8285.menu.FlashSize.1M16.build.spiffs_end=0xFB000
esp8285.menu.FlashSize.1M16.build.spiffs_blocksize=4096
esp8285.menu.FlashSize.1M16.upload.maximum_size=1007600
##############################################################
@ -916,12 +931,6 @@ nodemcu.menu.CpuFrequency.80.build.f_cpu=80000000L
nodemcu.menu.CpuFrequency.160=160 MHz
nodemcu.menu.CpuFrequency.160.build.f_cpu=160000000L
nodemcu.menu.UploadTool.esptool=Serial
nodemcu.menu.UploadTool.esptool.upload.tool=esptool
nodemcu.menu.UploadTool.esptool.upload.verbose=-vv
nodemcu.menu.UploadTool.espupload=OTA_upload
nodemcu.menu.UploadTool.espupload.upload.tool=espupload
nodemcu.menu.UploadSpeed.115200=115200
nodemcu.menu.UploadSpeed.115200.upload.speed=115200
nodemcu.menu.UploadSpeed.9600=9600
@ -1293,12 +1302,6 @@ d1_mini.build.flash_freq=40
d1_mini.build.debug_port=
d1_mini.build.debug_level=
d1_mini.menu.UploadTool.esptool=Serial
d1_mini.menu.UploadTool.esptool.upload.tool=esptool
d1_mini.menu.UploadTool.esptool.upload.verbose=-vv
d1_mini.menu.UploadTool.espupload=OTA_upload
d1_mini.menu.UploadTool.espupload.upload.tool=espupload
d1_mini.menu.CpuFrequency.80=80 MHz
d1_mini.menu.CpuFrequency.80.build.f_cpu=80000000L
d1_mini.menu.CpuFrequency.160=160 MHz

View File

@ -0,0 +1,19 @@
/* Flash Split for 1M chips */
/* sketch 983KB */
/* spiffs 16KB */
/* 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 = 0x40201010, len = 0xf5ff0
}
PROVIDE ( _SPIFFS_start = 0x402F7000 );
PROVIDE ( _SPIFFS_end = 0x402FB000 );
PROVIDE ( _SPIFFS_page = 0x100 );
PROVIDE ( _SPIFFS_block = 0x1000 );
INCLUDE "../ld/eagle.app.v6.common.ld"