drivers
drivers copied to clipboard
espnet: WIP support for on-chip WiFi on an ESP32C3
Work in progress. Does not work yet.
Some notes:
- This requires some changes to TinyGo, look at the espnet branch: https://github.com/tinygo-org/tinygo/pull/2138
- The next step is probably defining all the functions in
g_wifi_osi_funcs
(see espnet.c). Right now it hangs inesp_wifi_init_internal
, probably a NULL pointer dereference. - This is only for the ESP32-C3. This will require some work to work on other chips from Espressif.
Update: the function that's called is recursive_mutex_create_wrapper
, which calls xSemaphoreCreateRecursiveMutex
. I guess this will need to be added to the FreeRTOS compatibility layer I've started to write in https://github.com/tinygo-org/tinygo/pull/2138.
Is this dead?
I'm not currently working on it.
Just found https://github.com/espressif/esp-wireless-drivers-3rdparty (thanks @panbanda!) which we should use as a basis for this, instead of esp-idf.
Are there any news on this? I have lots of "stock" ESP32/S2/S3 boards for testing and also some of my own ones.
Slightly connected questions:
- are there any microcontrollers at all with TinyGo wifi support?
- What workarounds exist? If someone's seen a good workaround, like using a second microcontroller as a wifi peripheral, or using Bluetooth networking.. would you mind dropping a link (or DM it)?
It seems like there's a lot of interest, not only in resolving the TinyGo issue, but even in finding workarounds for the interim. Cheers
- are there any microcontrollers at all with TinyGo wifi support?
@sprive There is Nano RP2040 Connect which use wifinina
driver - see webserver example and a super cool project - plantbot.
See this PR for a new attempt, using much more suitable libraries: https://github.com/tinygo-org/drivers/pull/650