Wie ich ESP8266 WiFi.begin() rst cause 4 auf PlatformIO behoben habe
English
Deutsch
Ich hatte ein Problem mit meiner PlatformIO ESP8266-Firmware, das einen rst cause 4-Reset wenige Sekunden nach dem Aufruf von WiFi.begin() verursachte:
esp8266_reset_log.txt
ets Jan 8 2013,rst cause:4, boot mode:(3,2)
wdt reset
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0+c9
v0007e660
~ld
7und einen anschließenden Neustart der Firmware. Das Problem wiederholte sich endlos.
In meinem Fall bestand das Problem darin, dass ich WiFi als lib_deps-Abhängigkeit in platformio.ini aufgelistet hatte:
platformio_lib_deps.ini
lib_deps =
WiFianstatt #include <ESP8266WiFi.h> anstelle von #include <WiFi.h> zu verwenden. Siehe PlatformIO ESP8266 WiFi.h: No Such File or Directory beheben für weitere Details.
Check out similar posts by category:
Electronics, ESP8266/ESP32, PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow