platformio / platform-espressif8266

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

Include TEXT1 in generated bins, avoid boot loop #144

Closed earlephilhower closed 5 years ago

earlephilhower commented 5 years ago

The Arduino 8266 code recently split .text into .text and .text1 to enable placing certain functions in IRAM automatically (required for callbacks in IRQs).

Update the binary creation and size calculation to account for this.

Without this change, infinite boot loops will occur because the main code will never be uploaded to the chip.

Fixes #143

ivankravets commented 5 years ago

Thanks! 😊