checking github, I see the v2.1 has a different esp_wifi.h file (includes promiscuous filtering). however, after making sure I’ve got all the updates from platformio, I still see the older v2.0 esp_wifi.h (in packages\framework-arduinoespressif32\tools\sdk\include\esp32) I’d like to get updated to v2.1 so I can use the promiscuous filtering.

Is there any way I can grab the github repro and install it over what platformio installed?

PlatformIO is suppose to auto-update the libraries for each platform, and after making sure my PlatformIO says everything is up to date, I looked at esp_wifi.h on my local machine. It does not contain the promiscuous filtering struct/function. When I look at esp_wifi.h in github on the v2.1 (or master) branch, it does contain the promiscuous filtering struct/function.

(Look for esp_wifi_set_promiscuous_filter() in esp_wifi.h found in esp-idf/components/esp32/include/ on the v2.1 branch in github.)

So I can only conclude that the default/current ESP32 platform framework files are from the v2.0 branch, not the v2.1.

My question is: Is there a way I can manually update my PlatformIO’s esp32 platform framework files to the ESP-IDF v2.1 branch?

espressif32 ~ Espressif 32

Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.

This is not an issue, framework-arduinoespressif32 and framework-espidf are two completely separate packages. Honestly, I don’t know which version of esp-idf is used as a base for the Arduino implementation, but if you want to use esp-idf, you should explicitly specify that in your platformio.ini, for example like in this project. And when you first time compile a project based on esp-idf, PlatformIO will automatically download v2.1 for you.

This IS an issue because framework-arduinoespressif32 CONTAINS files from the ESP-IDF repro, and they are from v2.0, not the latest v2.1, and so far I’ve received no answer as to how I can update those file to the v2.1 release. It’s not that I WANT to use the ESP-IDF files, but rather they are automagically installed and made available to me via PlatformIO.

Understand that I got here when I simply created a new project and selected “Espressif ESP32 Dev Module”. PlatformIO then installed whatever it thought it needed, and here I am today.

So, again, how do I update the ESP-IDF files in framework-arduinoespressif32 to the v2.1 release?

I seem to have a version issue also. Using VS Code with PlatformIO for Feather32 board using ESP-IDF framework. I discovered some missing code in the files generated by PlatformIO (specifically components/bt/bluedroid/api/include/esp_gatt_defs.h) and checking against ESP-IDF ver 2.1, they are definitely different files.

So same question as SoftwareSamurai… how can I get my system upgraded to 2.1