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.
ESP32 IDF v5.0 Support
-
- Matrix Staff
- Posts: 1901
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
ESP32 IDF v5.0 Support
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: ESP32 IDF v5.0 Support
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
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
-
- Matrix Staff
- Posts: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: ESP32 IDF v5.0 Support
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: ESP32 IDF v5.0 Support
Hello Ben,
here the message
Greeting SpeedPic32
here the message
Greeting SpeedPic32
- Attachments
-
- Setup Log 2023-04-20 #001.txt
- (48.75 KiB) Downloaded 453 times
-
- idf.jpg (43.99 KiB) Viewed 11810 times
-
- Matrix Staff
- Posts: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: ESP32 IDF v5.0 Support
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?
What version of Windows are you on?
Do you have any antivirus software running?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: ESP32 IDF v5.0 Support
Does your windows username have a full stop in it? Maybe causing the problem? uwe.kapuschinski
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 893
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 175 times
- Been thanked: 206 times
Re: ESP32 IDF v5.0 Support
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 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. Not the best way.....
regards
Stefan
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 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. Not the best way.....
regards
Stefan
-
- Valued Contributor
- Posts: 893
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 175 times
- Been thanked: 206 times
Re: ESP32 IDF v5.0 Support
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
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
-
- Matrix Staff
- Posts: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: ESP32 IDF v5.0 Support
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 893
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 175 times
- Been thanked: 206 times
Re: ESP32 IDF v5.0 Support
Hi Ben
There is a small problem to update this.
There is a small problem to update this.
- Attachments
-
- esp32_c3.PNG (25.4 KiB) Viewed 11684 times