platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
333 stars 219 forks source link

Platform espressif8266: Problem switching frameworks #71

Open freedib opened 6 years ago

freedib commented 6 years ago

From @freedib on February 15, 2018 4:2

Trying to port an application from Arduino to RTOS, I alternate between arduinoespressif8266 and esp8266-rtos-sdk frameworks on my d1_mini. When esptool is used with the arduinoespressif8266 framework, it clears all the flash memory including the data located at the end of flash memory. RTOS expects to have _esp_init_datadefault.bin at the end of flash memory (address 0x3fc000 with 4Mb flash size) and won't boot if cleared. The framework don't upload this file when uploading eagle.flash.bin and eagle.irom0text.bin considering it is static data and won't be erased. Is there a way in platformio to prevent arduinoespressif8266 framework to erase the end of flash memory or in esp8266-rtos-sdk framework to systematically _upload esp_init_datadefault.bin with the application?

Copied from original issue: platformio/platformio-core#1366

freedib commented 6 years ago

From @ivankravets on February 15, 2018 10:26

Please move to appropriate repository and close this issue