Flowcode ESP32 Toolchain Installation problem

For general Flowcode discussion that does not belong in the other sections.
Ulises
Posts: 8
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 12:23 am
Has thanked: 1 time

Flowcode ESP32 Toolchain Installation problem

Post 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

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Flowcode ESP32 Toolchain Installation problem

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

Ulises
Posts: 8
Joined: Fri Dec 04, 2020 12:23 am
Has thanked: 1 time

Re: Flowcode ESP32 Toolchain Installation problem

Post by Ulises »

OK thanks

I await your procedure
Best regards

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Flowcode ESP32 Toolchain Installation problem

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

Ulises
Posts: 8
Joined: Fri Dec 04, 2020 12:23 am
Has thanked: 1 time

Re: Flowcode ESP32 Toolchain Installation problem

Post by Ulises »

Hello, are the libraries updated, and I still have the same error

Regards

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Flowcode ESP32 Toolchain Installation problem

Post 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.
Attachments
Batch.zip
(2.07 KiB) Downloaded 144 times

Ulises
Posts: 8
Joined: Fri Dec 04, 2020 12:23 am
Has thanked: 1 time

Re: Flowcode ESP32 Toolchain Installation problem

Post 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
Attachments
Prueba3.fcfx
(7.96 KiB) Downloaded 129 times

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

Re: Flowcode ESP32 Toolchain Installation problem

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

Ulises
Posts: 8
Joined: Fri Dec 04, 2020 12:23 am
Has thanked: 1 time

Re: Flowcode ESP32 Toolchain Installation problem

Post 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
Attachments
Control Osmosis1.fcfx
(23.5 KiB) Downloaded 117 times

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

Re: Flowcode ESP32 Toolchain Installation problem

Post 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

Post Reply