Page 1 of 4
ESP32 IDF v5.0 Support
Posted: Wed Apr 12, 2023 2:35 pm
by BenR
Hello,
I have made more progress with IDF version 5.0 and so I thought I would document progress here. I'm not finding a lot of time during the day and so beer in hand I had another dive into the code last night.
First of all you can move between your IDF versions by following the commands I posted here.
viewtopic.php?p=9222#p9222
This allows you to update the IDF to v5.0 and then roll back to the original v4.1 if needed.
As of today the ADC, Bluetooth and WIFI are now compiling, everything else (IO, SPI, I2C, I2S, PWM, UART) should also be compiling and working. Anything that isn't working on the latest IDF then please let me know.
The next stage once everything is compiling is to look at how to implement the ESP32 S2 and C3 device FCDs and make appropriate changes to the compile and program batch files to accomidate these changes.
Re: ESP32 IDF v5.0 Support
Posted: Wed Apr 19, 2023 3:20 pm
by SpeedPIC32
Hello
I tried it, it does not work for me .
will there be a customized toolchain to facilitate the installation of ESP32?
how do I uninstall all the components to install everything cleanly again.
Ic also installed it on a new computer and it did not work there either.
Greetings SpeedPic32
Re: ESP32 IDF v5.0 Support
Posted: Wed Apr 19, 2023 4:32 pm
by BenR
Hello,
When you say not working what errors are you getting and how have you transitioned to IDF v5.0? Did you follow the instructions I linked above?
I started getting an error regarding --no-hints on the last transition I did which I have now managed to fix so let me kow if this is what you are getting too.
When IDF v5.0 is known working and stable we will likely revisit the toolchain installation document.
Re: ESP32 IDF v5.0 Support
Posted: Thu Apr 20, 2023 8:27 am
by SpeedPIC32
Hello Ben,
here the message
Greeting SpeedPic32
Re: ESP32 IDF v5.0 Support
Posted: Thu Apr 20, 2023 3:52 pm
by BenR
Interesting, do you have admin permissions and is Windows Defender running as normal?
What version of Windows are you on?
Do you have any antivirus software running?
Re: ESP32 IDF v5.0 Support
Posted: Thu Apr 20, 2023 3:59 pm
by BenR
Does your windows username have a full stop in it? Maybe causing the problem? uwe.kapuschinski
Re: ESP32 IDF v5.0 Support
Posted: Fri Apr 21, 2023 4:05 pm
by stefan.erni
Hi Ben
Just a small problem with the toolchain IDF v5.0. It works now , but maybe you know a tip for it.
I have installed FC10 on a new computer with Win10.
Then I downloaded from the internet and instaled:
IDF v5.0.1
Python 3.11
Git
and set in FC10 under: global setting/option/locations the path for ESP-IDF
This give a problem, it did not found the py3.11 folder while compiling
- Capture2.PNG (7.91 KiB) Viewed 6708 times
I can not fix i,t so i copy the folder idf5.0_py3.8_env and renamed the copy to idf5.0_py3.11_env.
So it's working and compiling and flush the program to the ESP32 hardware.
- Capture_copy_and_change.PNG (10.17 KiB) Viewed 6708 times
Not the best way.....
regards
Stefan
Re: ESP32 IDF v5.0 Support
Posted: Tue Apr 25, 2023 1:21 pm
by stefan.erni
Hi Ben
I have created a new ESP32 project and selected type C3 chip. I have also connected a ESP32 C3 hardware
It looks every thing working.... compiling to hex and chip. But it's not flashing to the chip
A fatal error occurred: This chip is ESP32-C3 not ESP32. Wrong --chip argument?
CMake Error at run_serial_tool.cmake:55 (message):
regards
Stefan
Re: ESP32 IDF v5.0 Support
Posted: Wed Apr 26, 2023 10:08 am
by BenR
Hi Stefan,
I've made some new menuconfig files for the S2 and C3 device and changed the device name in there to hopefully match the new chip types.
I've pushed these changes to the update system for you now so fingers crossed we get a bit further. You will have to do a full database update to get the new menuconfig files.
I don't have the v5.0 IDF installed here to test but I'll give it a go tomorrow.
Re: ESP32 IDF v5.0 Support
Posted: Wed Apr 26, 2023 10:21 am
by stefan.erni
Hi Ben
There is a small problem to update this.