Skip to content

ESP8266 SDK22x_191024 does not work reliable with old Xtensa Build chain #180

@Jason2866

Description

@Jason2866
Contributor
  • PlatformIO Core.

Please update Xtensa build chain for ESP8266 to latest 2.5.x version for feature/stage.
The newer Non Os SDK versions 2.2.2 from 191024 and 191105 does NOT work
reliable with the the used build chain.

When compiling Tasmota with the Xtensa Build Chain 2.4.x there are wifi reconnects.
Using Xtensa Build chain 2.5.0.4 solves this issues.

I have done a custom setup (dirty hack for windows) to use the 2.5.x version.
https://github.com/Jason2866/platform-espressif8266.git#SDK22x_191105


Configuration

Operating system: Windows 10 pro

PlatformIO Version (platformio --version): Latest dev version

Description of problem

Compiled firmware is unreliable.

Steps to Reproduce

Compile Tasmota with old Xtensa Build chain.
Issue solving:
Compile Tasmota with new (in Arduino IDE default) build chain

The content of platformio.ini:

platformio.zip

Source file to reproduce issue:
https://github.com/arendst/Tasmota

Activity

Jason2866

Jason2866 commented on Nov 8, 2019

@Jason2866
ContributorAuthor

Arduino Core 2.6.0 will be released this week :-)
esp8266/Arduino#6724 (comment)

TD-er

TD-er commented on Nov 8, 2019

@TD-er

Arduino Core 2.6.0 will be released this week :-)
esp8266/Arduino#6724 (comment)

It has been released :)

ascillato

ascillato commented on Nov 9, 2019

@ascillato

@ivankravets

Hi,

Core 2.6.0 has been just released but requires to update toolchain to 2.5.0-4

Using previous toolchain (2.4.x) produces firmwares that have wifi disconnections for ESP8266 devices.

Thanks.

added a commit that references this issue on Nov 11, 2019
Jason2866

Jason2866 commented on Nov 14, 2019

@Jason2866
ContributorAuthor

Core 2.6.1 is released
@TD-er You can use with
platform = https://github.com/Jason2866/platform-espressif8266.git#core_2_6_1

dirkmueller

dirkmueller commented on Nov 15, 2019

@dirkmueller

Duplicate of #167

arendst

arendst commented on Nov 17, 2019

@arendst

Hi @ivankravets pls give this priority as I would like to release Tasmota one of these days using a stable platformio environment

Thx in advance.

ivankravets

ivankravets commented on Nov 17, 2019

@ivankravets
Member

Could someone summarize what should be done from our side? We have support for Arduino and native SDK. Is the new compiler compatible with SDK version which we support? Or, the new toolchain should be used for new Arduino?

Jason2866

Jason2866 commented on Nov 17, 2019

@Jason2866
ContributorAuthor

@ivankravets Release core 2.6.1 as platformio-espressif8266 package with Xtensa build chain 2.5.0.4
The new SDK version SDK22x_191105 does solve many issues but requires Xtensa build chain 2.5.0.4.
If the older build chain is used it generates wifi issues

ivankravets

ivankravets commented on Nov 17, 2019

@ivankravets
Member

@Jason2866 I mean "framework-esp8266-rtos-sdk" and "framework-esp8266-nonos-sdk". Are they compatible with this new toolchain?

Jason2866

Jason2866 commented on Nov 17, 2019

@Jason2866
ContributorAuthor

@ivankravets tbh, i dont know. Never used framework-esp8266-rtos-sdk
Arduino ESP8266 is only nonos-sdk.

dirkmueller

dirkmueller commented on Nov 17, 2019

@dirkmueller

@ivankravets as far as I can see it is just bugfixes, should be compatible with anything

Jason2866

Jason2866 commented on Nov 23, 2019

@Jason2866
ContributorAuthor

@ivankravets any news? Maybe a release date? ;-)

Jason2866

Jason2866 commented on Nov 25, 2019

@Jason2866
ContributorAuthor

@valeros Thx, but it does still install old Xtensa toolchain. I see no entry for the Xtensa Build Chain 2.5.0.4 in https://dl.bintray.com/platformio/dl-packages/manifest.json
image

valeros

valeros commented on Nov 25, 2019

@valeros
Member

2.40802.191122 it's our internal version of 2.5.0-4

Jason2866

Jason2866 commented on Nov 25, 2019

@Jason2866
ContributorAuthor

Ahh thx!

arendst

arendst commented on Nov 25, 2019

@arendst

Thx too.

TD-er

TD-er commented on Nov 25, 2019

@TD-er

Thanks three :)

andrethomas

andrethomas commented on Nov 25, 2019

@andrethomas

And four, much appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @andrethomas@valeros@dirkmueller@ivankravets@TD-er

      Issue actions

        ESP8266 SDK22x_191024 does not work reliable with old Xtensa Build chain · Issue #180 · platformio/platform-espressif8266