Flowcode V9 ESP toolchain

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Flowcode V9 ESP toolchain

Post by Alan_37 »

Hi,

Trying to compile a blink for esp32 flowcode 9 keeps saying toolchain not installed.

I have downloaded it and installed 2 times and also rebooted the PC
Attachments
espblink.png
espblink.png (48.75 KiB) Viewed 7909 times

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by Alan_37 »

OK I have fixed the location, now getting the below message



Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\alanc\Desktop\esp-idf\" "Flowcode3" "C:\Users\alanc\Desktop\TEST\WS2812\esp\" esp32s_sdkconfig
Building Flowcode3 ...
Setting IDF_PATH: C:\Users\alanc\Desktop\esp-idf

Adding ESP-IDF tools to PATH...
C:\Users\alanc\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin
C:\Users\alanc\.espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin
C:\Users\alanc\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\alanc\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\alanc\.espressif\tools\cmake\3.13.4\bin
C:\Users\alanc\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin
C:\Users\alanc\.espressif\tools\ninja\1.9.0\
C:\Users\alanc\.espressif\tools\idf-exe\1.0.1\
C:\Users\alanc\.espressif\tools\ccache\3.7\
C:\Users\alanc\Desktop\esp-idf\tools

Checking if Python packages are up to date...
The following Python requirements are not satisfied:
click>=5.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
esp-windows-curses; sys_platform == 'win32'
Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide
The following Python requirements are not satisfied:

click>=5.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
esp-windows-curses; sys_platform == 'win32'
Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide

ESP-IDF v4.1-dirty

Build Failed

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

Autoclose turned off


FINISHED

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by Benj »

Hello Alan,

I have made an ESP toolchain help guide here which hopefully will help get you started.
https://www.flowcode.co.uk/wiki/images/ ... ctions.pdf

User avatar
katela
Posts: 10
Joined: Thu Aug 15, 2013 8:04 am
Location: South Africa
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Flowcode V9 ESP toolchain

Post by katela »

Thanks Benj
Free online Microcontroller Tutorials & Projects for beginners to advanced.
Website: https://www.studentcompanion.co.za/cate ... e-for-pic/
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by Alan_37 »

Thanks for your reply Benj, It worked compiled and programmed the esp32 to 100%

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by Benj »

Excellent thanks for letting me know.

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by Alan_37 »

Hi I have this new problem the toolchain and idf folder are installed


Target folder: C:\Users\alanc\Desktop\ESP32FC
Source name: C:\Users\alanc\Desktop\ESP32FC\Flowcode1.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROVER
Generated by: Flowcode v9.2.0.33
Date: Sunday, October 03, 2021 23:27:09
Users: 1
Registered to: Alan_37 (61413253)
Licence key: KKF1X9
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\alanc\Desktop\esp-idf\\" "Flowcode1" "C:\Users\alanc\Desktop\ESP32FC\" esp32s_sdkconfig

C:\Users\alanc\Desktop\ESP32FC>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB

C:\Users\alanc\Desktop\ESP32FC>REM REVISION: 4.0

C:\Users\alanc\Desktop\ESP32FC>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2

C:\Users\alanc\Desktop\ESP32FC>REM DATE: 29\03\2021

C:\Users\alanc\Desktop\ESP32FC>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building Flowcode1 ...
Setting IDF_PATH: C:\Users\alanc\Desktop\esp-idf

Adding ESP-IDF tools to PATH...
Traceback (most recent call last):
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1387, in <module>
main(sys.argv[1:])
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1383, in main
action_func(args)
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1008, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 847, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 389, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\subprocess.py", line 466, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python37\lib\subprocess.py", line 769, in __init__
restore_signals, start_new_session)
File "C:\Program Files\Python37\lib\subprocess.py", line 1172, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
'idf.py' is not recognized as an internal or external command,
operable program or batch file.

Build Failed

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

Autoclose turned off


FINISHED

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Flowcode V9 ESP toolchain

Post by LeighM »


Post Reply