ESP-IdF V5.12 problem

For general Flowcode discussion that does not belong in the other sections.
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

ESP-IdF V5.12 problem

Post 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 2439 times

it's found Python 3.12
Snag_26935d.png
Snag_26935d.png (31.87 KiB) Viewed 2439 times
it's not found requirements...
>>>
Snag_26c952.png
Snag_26c952.png (59.01 KiB) Viewed 2439 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.
Attachments
Snag_2d16d8.png
Snag_2d16d8.png (73.6 KiB) Viewed 2439 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: ESP-IdF V5.12 problem

Post 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
Martin

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP-IdF V5.12 problem

Post 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 2414 times

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: ESP-IdF V5.12 problem

Post 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

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP-IdF V5.12 problem

Post 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

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: ESP-IdF V5.12 problem

Post 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

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP-IdF V5.12 problem

Post 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 1746 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 1746 times


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

kersing
Valued Contributor
Posts: 157
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 64 times
Been thanked: 58 times

Re: ESP-IdF V5.12 problem

Post by kersing »

There are known compatibility issues between Python 3.11 and 3.12, perhaps you can try 3.11?

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: ESP-IdF V5.12 problem

Post 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 1729 times
But now I can not compile anymore
Error.txt
(4.03 KiB) Downloaded 183 times
Attachments
Snag_9bb360.png
Snag_9bb360.png (23.14 KiB) Viewed 1729 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: ESP-IdF V5.12 problem

Post 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.
Martin

Post Reply