Missing country settings for ESP WIFI
In micropython, there is no way to define in which country the ESP WIFI transmitters operate.
This might create legal problems for anyone using the ESP devices and micropython "out of the box".
The ESP-IDF function call is esp_wifi_set_country(), described in https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#wi-fi-country-code.
Current uPy sources have no call to esp_wifi_set_country() - I searched *.[hc] for it.
The issue had been discussed in https://forum.micropython.org/viewtopic.php?f=18&t=10388
Support for ESP32-C5
Description
Since the ESP32-C5 is in mass production now and the Espressif boards can be officially purchased, I think it's time for a corresponding board description. A prerequisite is MPY support for ESP-IDF 5.5, though, which is due on June 30th. I have two ESP32-C5 sample boards lying around and could provide a ESP_GENERIC_C5 thing including code to support the 5 GHz wifi, 11ax and stuff. Anyone interested?
Code Size
a board description and a couple hundred bytes to include the ESP-IDF functions for 5 GHz wifi.
Implementation
I intend to implement this feature and would submit a Pull Request if desirable
Code of Conduct
Yes, I agree