-
-
Notifications
You must be signed in to change notification settings - Fork 789
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
Use current head of ESP8266 Arduino #401
Comments
I want to note that we don't support ALPHA/BETA/STAGE or other development software because could spent spare time only the ONE framework or platform. However, I'll give a few hints which should allow you to use latest ESP8266 for Arduino. |
Many thanks :) I've done all these.. actions.. I will provide what you need.... Arduino Output http://pastebin.com/6cKrVnKS It fails at the linking stage, right at the end! compiling any sketch produces it.. The one I use us Your help is much appreciated... and I know others will be helped too. The IDE moves at such a pace at the moment... but i do understand that you can't support it! |
I should add that this is option 4. compile with Arduino IDE, but not with PlatformIO. |
Try to find difference between
:) build_flags should help you. |
Even with my PhD I spotted that one. So far though my attempts at build_flags has failed:( I've added -lmesh to lots of the options but it still fails. I'm a beginner! Never used anything apart from arduino IDE... Another clue please... |
Don't make any modifications to your projects. The problem is in LD script. I've just created separated branch with LD scripts. Please use it https://github.com/platformio/platformio-pkg-ldscripts/tree/esp8266_stage |
I updated comment #401 (comment) |
That worked purrrrfectly. Thank you |
@ivankravets I am trying to build my project using latest code from Arduino/ESP8266 and by following your guide above i can build but the board keeps on rebooting, i tried Arduino IDE with the same code and it works there so i guess maybe there is a problem with the flashing ? I know you said you don't support these versions so if you have an idea that would be good to hear if not i will see what i can do. |
@donnib please follow to step 5 here #401 (comment) |
@ivankravets ok so here it is I have posted the code used I have also pasted the console output from PlatformIO and ArduinoIDE. I have also pasted the bin files as links to dropbox at the bottom of the Gist paste. Let me know of you need more ? |
Hi @donnib
|
@valeros thx well that's weird. I guess i must be doing something wrong then....hmmm. i wonder what that could be. Any ideas ? Just for the sake of clarity you took tip of the master from https://github.com/esp8266/Arduino right ? |
@donnib Yes, latest master branch https://github.com/esp8266/Arduino/archive/master.zip |
@valeros yes i just tried and that worked fine but my code not. I have even tried to run on a different workstation so now i tried windows and MacOSX. Can it be some HW related thing ? Idk what that could be when it works in Arduino IDE |
@donnib According to your Arduino IDE build log the firmware was compiled for 40MHz frequency. Could you try latest develop version of PlatformIO and specify |
@valeros ok so i did what you suggested. I uninstalled platformio as per the doc, installed dev, added the |
Hi, This code doesn't build with platformio following your instructions to use Arduino-git but it builds using the Arduino framework's git version with the Arduino IDE. Problematic code: https://github.com/Coaxial/vintage-cec/tree/tmp/ws-build-issue
Arduino IDE output:
|
Moved information to the official docs http://docs.platformio.org/en/latest/platforms/espressif.html#using-arduino-framework-with-staging-version |
After going through your steps. The first run is compiled ok. But the second run of Is there any way to deny the update? |
Is there a way to use the current head from
https://github.com/esp8266/Arduino
see here for my issues trying to do this (Posted in the wrong thread by mistake)
#366 (comment)
Dropping in the latest code compiles but does not link correctly.
Current working instruction #401 (comment)
Edited by @ivankravets
The text was updated successfully, but these errors were encountered: