ESP32 failed to compile to hex

For general Flowcode discussion that does not belong in the other sections.
Post Reply
RGV250
Posts: 340
http://meble-kuchenne.info.pl
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 34 times
Been thanked: 36 times

Flowcode v10 ESP32 failed to compile to hex

Post by RGV250 »

Hi,
I have downloaded the app developer power monitor, I installed the ESP32 toolchain and tried to compile. As I did not have the device conected I tried the compile to hex option. It said "Done!" so I thought everything had been installed correctly but it then carried on and I got an error. I then tried compile to C and that gave a message saying that it had been compiled successfully.
I wondered if this is just an issue with compile to hex which I will probably never use, I will try tomorrow when I find the actual ESP device.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

idf.py build

. . .

Executing action: all (aliases: build)
Running cmake in directory C:\BG_WORK\Flowcode\PowerMonitor\Mains_PMon_v1.0-ESP32_Wroom_Firmware\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 C:\BG_WORK\Flowcode\PowerMonitor\Mains_PMon_v1.0-ESP32_Wroom_Firmware"...
ERROR: C:\Users\Admin\.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.

Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Bob

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: ESP32 failed to compile to hex

Post by medelec35 »

Hi Bob.
Take a look at this post.
Martin

RGV250
Posts: 340
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 34 times
Been thanked: 36 times

Re: ESP32 failed to compile to hex

Post by RGV250 »

Hi,
That post fixed it.

Bob

Post Reply