Page 1 of 3

ESP-IdF V5.12 problem

Posted: Thu Dec 21, 2023 5:28 pm
by stefan.erni
Hi to all

I have removed Python 3.7 installed Python 3.12
Snag_2f27c7.png
Snag_2f27c7.png (24.82 KiB) Viewed 8979 times

it's found Python 3.12
Snag_26935d.png
Snag_26935d.png (31.87 KiB) Viewed 8979 times
it's not found requirements...
>>>
Snag_26c952.png
Snag_26c952.png (59.01 KiB) Viewed 8979 times
Flowcode can not found....
.
============================== Toolchain Check ==============================
ERROR: Python is not installed
git version 2.21.0.windows.1
ESP toolchain found at "C:\Users\Kfs-Forschung\Desktop\esp-idf\"
=============================================================================
.
Building: C3_24_1 ...
IDF Version: v5.1.2 ...

Error: The following tools are not installed in your environment.
but if I type python it should show me Python 3.12
C:\Users\Kfs-Forschung\.espressif\frameworks\esp-idf-v5.1.2>python
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Re: ESP-IdF V5.12 problem

Posted: Thu Dec 21, 2023 6:38 pm
by medelec35
Hi Stefan.
If it was me seeing that message, I would uninstall ESP-IDF and python.
Make sure both esp-idf & esp-idf-tools directories are deleted and start from fresh following the guide here.
It has not let me down to date.

I would also stick to Python 3.7

Re: ESP-IdF V5.12 problem

Posted: Fri Dec 22, 2023 6:55 am
by stefan.erni
Hi Martin


Yes I installed Python 3.7 again and selected it by the setup. And now it's working again.
Sooner or later we will have to change Python version and i suspect the problem is just in the toolchain check
The effort is small and makes it possible to programme the ESP32 C3 and ESP32 S3 with Flowcode. Who knows, maybe BLE.... will follow

https://docs.espressif.com/projects/esp ... setup.html
Snag_82fe2.png
Snag_82fe2.png (34.02 KiB) Viewed 8954 times

Re: ESP-IdF V5.12 problem

Posted: Fri Dec 29, 2023 3:41 pm
by chipfryer27
Hi Stefan

As per this post

viewtopic.php?p=14187#p14187

I'm now running idf v5.1.2 and python 3.11 on a W10 machine. Other than compiling a basic flasher to hex I've not had a chance to do much with it.

Regards

Re: ESP-IdF V5.12 problem

Posted: Mon Jan 08, 2024 9:33 am
by stefan.erni
Hi Lain

Yes idf v5.1.2 and Python 3.11 worked for the new ESP32 S3 and ESP32 C3.
But I had problems with the "old" ESP32. I could no longer configure Bluetooth. So I had to use Python 3.7 again.

regards

Stefan

Re: ESP-IdF V5.12 problem

Posted: Mon Jan 08, 2024 9:51 am
by chipfryer27
Hi

Stefan

I've not had a chance to do anything regarding "radio" using v5.1 etc but hope to this week using older and newer ESP's. I'll update once done.

Regards

Re: ESP-IdF V5.12 problem

Posted: Tue Jan 16, 2024 9:50 am
by stefan.erni
Hi to All

I am still having problems with the changeover to ESP -IDF 5.12.
The problems are not the new ESP32 C3 or S3 versions but the "old" ESP32
One of the problems, I cannot open the menu to setup Bluetooth.
Snag_6f47ab.png
Snag_6f47ab.png (90.19 KiB) Viewed 8286 times

It is also not clear to me whether I should work now with Python 3.12 or 3.7.
Snag_74b15a.png
Snag_74b15a.png (17.46 KiB) Viewed 8286 times


Fail Message when I want to open the menu:
menue.txt
(2.96 KiB) Downloaded 867 times

Re: ESP-IdF V5.12 problem

Posted: Tue Jan 16, 2024 9:58 am
by kersing
There are known compatibility issues between Python 3.11 and 3.12, perhaps you can try 3.11?

Re: ESP-IdF V5.12 problem

Posted: Tue Jan 16, 2024 10:27 am
by stefan.erni
Hi Kersing

Ok the menue open now with Python 3.11 and I can config bluetooth again.
The menue looks new....
Snag_99dfa9.png
Snag_99dfa9.png (60.81 KiB) Viewed 8269 times
But now I can not compile anymore
Error.txt
(4.03 KiB) Downloaded 930 times

Re: ESP-IdF V5.12 problem

Posted: Tue Jan 16, 2024 10:49 am
by medelec35
Hi Stefan.
Try deleting the current build files which are located in a folder next to your Flowcode project file with the same name.
Or you could just rename the folder.