espressif / esp32-wifi-lib

ESP32 WiFi stack precompiled libraries
Apache License 2.0
167 stars 71 forks source link

Help debugging 'Expected to init 10 rx buffer, actual is 8' #21

Closed raboof closed 5 years ago

raboof commented 5 years ago

Doing sta_if = network.WLAN(network.STA_IF); sta_if.active(True) from micropython, I get:

E (79845) wifi: Expected to init 10 rx buffer, actual is 8
E (79855) [modnetwork]: Error initializing WiFi (257)

This error appears to be produced in libpp.a. I understand the actual problem is likely outside this lib, but could you help out explaining in what direction this error should point me?

(I am on commit 559a9def5 of esp-idf`)

raboof commented 5 years ago

Hmm, erasing the flash (not just the app) and re-flashing made this problem go away... might have been some sort of corruption I suppose.