Closed chkr1011 closed 6 years ago
similar issue here. however when i turn off serial output, wifi starts to work again. same code compiled in arduino ide (most recent one, most recent esp8266 core) makes no issues at all, even with serial output enabled.
maybe some compilation/linking order issue?
I have the same issue: the WiFi is connecting successfully if I flash with ArduinoIDE, while it remains stuck if I flash with PlatformIO. The code is the same. It was working with PlatformIO for sure until 20th of February (all updated till that date).
I have tried to remove the espressif8266 version 1.6 and install the 1.5, but the problem persists. So I suppose the problem is not the platform version.
The platformio.ini
[env:d1_mini]
platform=espressif8266
board=d1_mini
framework=arduino
[platformio]
src_dir=NTPtoRTC_setter
PlatformIO, version 3.5.3a9
Could you re-test with the latest upstream version? http://docs.platformio.org/en/latest/platforms/espressif8266.html#stable-and-upstream-versions
I've just tested and can't reproduce with the latest upstream/dev version.
Please reopen if you still need help
i will have time for further testing within the next weeks. I'll then also try to make a minimalistic code which triggers the issue.
Hi, I am using this platform with some ESP12E/F based devices like NodeMcu and since the release of version 1.6.0 the WiFi module is no longer working properly.
With version 1.5.0 the code runs fine since lots of month. The device is connecting and stays connected. After upgrading to version 1.6.0 the WiFi still connects but every 5-10 seconds the connection is lost and after additional 5-10 seconds it is connected again. The device is not crashing and I am counting the reconnects.
My platformio.ini looks like this:
The code which is responsible for maintaining the WiFi connection looks like this:
I also tried to erase the whole flash using the esptool but it doesn't help. I am clueless because the same code without any changes works when using 1.5.0 of the platform. I also tested a couple of brand new boards. All have the same problem.
I exposed several system information using the HTTP server. Maybe this information is relevant.
Best regards Christian