Page 1 of 3
Flowcode ESP32 Toolchain Installation problem
Posted: Wed Apr 19, 2023 7:19 pm
by Ulises
Hello
Since I bought the software I haven't been able to compile anything with ESP32, I tried everything, used its installation method, uninstalled and uninstalled Python and ESP-IDF several times, installed several versions of it, including 4.1 that in the flowcode WIKI site recommend and nothing works. I also formatted my computer to install everything again and it doesn't work.
In this forum I see that version 9 has many problems to compile the ESP32.
I get this error:
ERROR:C:\.espressif\python_env\idf5.0_py3.7_env\Scripts\python.exe doesn't support asyncio. The issue can be worked around by re-running idf.py with the "--no-hints" argument.
I am using windows 11
Can someone help me to solve this problem?
Regards
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Wed Apr 19, 2023 8:42 pm
by BenR
Hello
I've also seen this om win11 and have a fix for the problem. I'll dig out my fix and let you know.
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Thu Apr 20, 2023 5:25 am
by Ulises
OK thanks
I await your procedure
Best regards
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Thu Apr 20, 2023 10:47 am
by BenR
I've pushed the change to the library update system now so just go to Help -> Library updates and get the latest files from there and hopefully that will solve the problem for you.
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Fri Apr 21, 2023 6:55 pm
by Ulises
Hello, are the libraries updated, and I still have the same error
Regards
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Mon Apr 24, 2023 3:15 pm
by BenR
Hello,
Please try extracting the two attached files into this directory on your computer and see if this helps at all.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch
Let us know how you get on.
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Tue Apr 25, 2023 12:20 am
by Ulises
Hello
it didn't work, it started to build, but now I get this error:
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory c:\users\ulises\documents\testflow\test3\build
Executing "ninja all"...
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Auto close turned off
FINISHED
I am attaching the simple program that I am trying to build, I want to know if a more complex program with more components does not work because of the hobbyist license?
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.3.0.35
Date: Monday, April 24, 2023 17:16:01
Users: 1
Registered to: Ulysses (60777485)
License key: 6B1BKY
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Regards
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Tue Apr 25, 2023 12:44 am
by medelec35
Hello.
I got the same issue on win11.
I updated the components with the full database option, reloaded your fcfx project file and it compiled for me ok.
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Thu Apr 27, 2023 1:41 am
by Ulises
Hello
I made another program and had the same result, attached program.
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory c:\users\ulises\documents\flowtests\control_osmosis1\build
Executing "ninja all"...
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Auto close turned off
FINISHED
I was able to build just one program to turn on 2 LEDs, but if I start adding more components, construction errors begin.
I am in Mexico, if I travel to the UK with a new laptop and you install the flowcode with the toolchain for esp32, would it work?
I would like to know if I need to acquire the professional license to be able to build programs for ESP32?
Regards
Re: Flowcode ESP32 Toolchain Installation problem
Posted: Thu Apr 27, 2023 9:07 am
by chipfryer27
Hi
If you manage to compile any program, then it suggests to me that everything is installed correctly and perhaps the issue is elsewhere?
Looking at your file above I see that you have all switches and LEDs connected to the same pin (PortA:0), the Pot is Unconnected and the One-Wire is on the same pin as the LEDs and Switches.
Perhaps narrow down the issue by taking the file that compiles for you, then adding each component one at a time and seeing if it still compiles?
Regards