-
Notifications
You must be signed in to change notification settings - Fork 5k
Add support to Stage Arduino Core #5892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The actual Stage ESP8266 Core of Arduino (next 2.6.0) had changed the SPIFFS defines of the memory to FS due to a change in the libraries (esp8266/Arduino#5511)
@ascillato
used platformio.ini
|
I used the latest platform.io and the latest version of the stage core. I had to download the zip manually of the repository (to the emptied folder of platfomio arduino core stage) due to some folders of the repository are linked to previous commits. When I did the git of the repo, those folders were not copied. So, please, try to use platformio with the arduino repo copied manually (as the way you teach me ;) ) Also, update the toolchain to latest. |
Anyway, testing the core in a TP Link router, it respond really fast but the mqtt disconnections remains as 2.4.2, 2.5.0, 2.5.1, 2.5.2 |
I had to erase the whole content of folder |
Don't you need to make sure the linker script file (.ld) is also updated to use _FS_end? This is part of the "old" 2.3.0 linker:
|
Error is back, dont know why :-(
|
Code sniplet with the change from Adrian. I see no error
|
Description:
The actual Stage ESP8266 Core of Arduino (next 2.6.0) had changed the SPIFFS defines of the memory to FS due to a change in the libraries (esp8266/Arduino#5511)
This PR adds a check during compiling time to use the right defines depending on the core.
_SPIFFS_END
for cores 2.3.0 to 2.5.2_FS_END
for cores > 2.5.2 and STAGETested OK.
Related issue (if applicable): NA
Checklist: