-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Release Core 2.5.0 generated code is faulty (+ solution suggestion) #128
Comments
Yep, I too can reproduce endless wdt resets with my testing branch for Espurna xoseperez/espurna#1559 and with Sonoff-Tasmota 2.5.0 development build. BUT I could not reproduce with basic examples. Because platformio-core handles ldscripts initially, I tried adding reordering them: That fixed the builds for me 🤷♂️ edit: platform fork does not use newest toolchain, which looks like the culprit platform-espressif8266/platform.json Line 44 in 11184d3
|
Your changes do work. Had to do some small changes to get it working: Here is the file platformio.py:
|
Thanks. Looks like the pio version is slightly different in git: --- platformio_from_issue_128.py
+++ platformio/builder/tools/platformio.py
@@ -24,7 +24,7 @@
from SCons.Script import (COMMAND_LINE_TARGETS, AlwaysBuild,
DefaultEnvironment, Export, SConscript)
-from platformio.util import glob_escape, pioversion_to_intstr
+from platformio.util import glob_escape, pioversion_to_intstr, string_types
SRC_HEADER_EXT = ["h", "hpp"]
SRC_C_EXT = ["c", "cc", "cpp"]
@@ -208,7 +208,7 @@
# provided with a -U option // Issue #191
undefines = [
u for u in env.get("CCFLAGS", [])
- if isinstance(u, basestring) and u.startswith("-U")
+ if isinstance(u, string_types) and u.startswith("-U")
]
if undefines:
for undef in undefines: |
Sorry, I see a lot of issues with new toolchain. I've just downgraded to the previous version. Please re-test the upstream version => https://docs.platformio.org/en/latest/platforms/espressif8266.html#stable-and-upstream-versions Does it work now? If yes, I'll make a hot release. |
So had a quick read, but I'm not sure about PIOs internals - but what I do know is that I can't create a working binary for any of my projects at the moment using what has worked for many months... As a summary: Fails: |
No problems with the and this was already tested with the Tasmota fork of the platform, since it used old toolchain all along (since the nonos sdk v3 was merged, i think) |
Also - possibly related (although this is way more indepth that I understand the SDKs etc): |
Resolved in https://github.com/platformio/platform-espressif8266/releases/tag/v2.0.1 Please |
Just to confirm (and for the record when people hit this via Google), this will fix built issues when using:
Correct? |
Yes, but please do |
Thanks - and again, for the record, a working system should look like the following:
|
Project Tasmota doesnt work with release 2.5.0. Doesnt boot (Watchdogs)
arendst/Tasmota#5301 (comment)
With this entry in platformio.ini (self hosted release core 2.5.0) from me it does work
The text was updated successfully, but these errors were encountered: