So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By btidey
#72606
Pablo2048 wrote:1MB code limit its because of the size of cacheable region (hardware limit of ESP8266). You can use 2M/2M division, which gives you 1M for code, 1M for OTA update and 2M for SPIFFS...


OK. That is interesting. I hadn't heard of the 2/2 split before but see this is a recent reply by you on
https://github.com/esp8266/arduino-esp8 ... /issues/14

If I want to try this are the steps

1) copy the extra ld into Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\tools\sdk\ld

2) Edit boards.txt with the extra stuff as described.

Is any change needed to OTA?
User avatar
By Pablo2048
#72607 No - no other changes are needed. Actually I'm testing boards.txt python generator with 2/2 modification and so far so good... :-)
User avatar
By btidey
#72608
Pablo2048 wrote:No - no other changes are needed. Actually I'm testing boards.txt python generator with 2/2 modification and so far so good... :-)


Great stuff. I had made the flash change for espino but I guess the script will add it for all 4M variants