I have been using Arduino IDE for ESP32 development. In the project, I have low wifi download speed
( https://github.com/espressif/arduino-esp32/issues/4529 ), and intend to increase the speed by updating wifi configuration parameters according to official recommendations ( https://docs.espressif.com/projects/esp ... parameters )
I have downloaded esp-idf on my Windows machine and followed the instructions ( https://github.com/espressif/arduino-es ... mponent.md ) . In a template project, I created componenets/arduino folder and downloaded the esp32-arduino to this folder. Then I did "idf.py menuconfig" ("make menuconfig" doesn't work) and build was successful. When I compare the generated sdkconfig file in example ("C:\ESP32\esp-idf\examples\get-started\hello_world") and the one stored in original Arduino("C:\Users\user\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools\sdk"), I noticed that that these files have both a lot of common and also many different fields. Now in order to use the updated configurations, as I have understood, there are two options:
1) Go to "C:\ESP32\esp-idf\examples\get-started\hello_world\build\esp-idf", copy all the files with "*.a" extension, and move them to arduino "C:\Users\user\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools\sdk\lib" into respective folders. Is this correct? Should anything else be done to update configuration in Arduino?
2) Move the arduino project code to the esp-idf example, and try to run it this way. Though I don't have a clue how it should be done.
I would appreciate your recommendations. I guess this process is much more complicated compared to Linux.
P.S. ESP-IDF version is 4.0. Inside esp-idf example, componenets/arduino version is also 4.0 to match versions.
Proper way to change ESP configuration for Arduino
Re: Proper way to change ESP configuration for Arduino
Recommended arduino as component is to use:
- arduino v1.0.4 with esp-idf v3.3
- arduino release/v4.2 with esp-idf master (NOT v4.2)
Other arduino branches (except master) are outdated and wont be updated.
- arduino v1.0.4 with esp-idf v3.3
- arduino release/v4.2 with esp-idf master (NOT v4.2)
Other arduino branches (except master) are outdated and wont be updated.
Re: Proper way to change ESP configuration for Arduino
Thank you very much. I will try it and inform you.
Re: Proper way to change ESP configuration for Arduino
You can find the steps in this link: https://github.com/espressif/arduino-esp32/issues/4529
Though I am not sure that I do everything correctly. Because the demo code works well with increased wifi speed, but my own project doesn't work properly anymore.
Though I am not sure that I do everything correctly. Because the demo code works well with increased wifi speed, but my own project doesn't work properly anymore.
Who is online
Users browsing this forum: No registered users and 74 guests