ESP32

For general Flowcode discussion that does not belong in the other sections.
Post Reply
bercioiu
Posts: 13
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 10 times

ESP32

Post by bercioiu »

Hi! How can I compile ESP32 in FC10? I downloaded ESP toolchain, but I don't have a license, how can I get one?
Thanks!
L10.png
L10.png (136.57 KiB) Viewed 305 times
Oh, and one more thing, I downloaded FC11 to try it, but it won't let me do anything, no matter what I try, it tells me that I don't have the required license...
L11.png
L11.png (249.32 KiB) Viewed 305 times
And PPS: Under what conditions is it free? Thank you!
Free.png
Free.png (182.74 KiB) Viewed 305 times

Steve-Matrix
Matrix Staff
Posts: 1624
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 224 times
Been thanked: 384 times

Re: ESP32

Post by Steve-Matrix »


bercioiu
Posts: 13
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 10 times

Flowcode v10 Re: ESP32

Post by bercioiu »

So, how can I compile esp32 in FC 10?

Steve-Matrix
Matrix Staff
Posts: 1624
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 224 times
Been thanked: 384 times

Re: ESP32

Post by Steve-Matrix »

If you run Flowcode (v10 or v11) then the "ESP32" and "ESP32_WROOM_32" targets are available to use without purchasing the ESP chip-pack.

You will also need to have the ESP toolchain installed.

bercioiu
Posts: 13
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 10 times

Re: ESP32

Post by bercioiu »

As I said above, I installed the toolchain for esp32, but the compiler message is that I do not have a valid license to compile.


comp_mes.png
comp_mes.png (123.78 KiB) Viewed 216 times


Thank you!

medelec35
Matrix Staff
Posts: 2178
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 736 times

Re: ESP32

Post by medelec35 »

Hello.
Steve stated:
Steve-Matrix wrote:
Thu Oct 30, 2025 12:19 pm
If you run Flowcode (v10 or v11) then the "ESP32" and "ESP32_WROOM_32" targets are available to use without purchasing the ESP chip-pack.
The target device you selected is WROVER which neither of the target devices Steve stated, so its not free, hence the licence message.
ESP not free.png
ESP not free.png (125.58 KiB) Viewed 208 times
You will need to change your device from ESP32_WROVER to either ESP or ESP32_WROOM_32
Martin

bercioiu
Posts: 13
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 10 times

Flowcode v10 Re: ESP32

Post by bercioiu »

I can't compile, where am I going wrong?

This is the compiler message:

Code: Select all

Target folder: E:\ELECTRONICA\WORK\wifi_radio
Source name:   E:\ELECTRONICA\WORK\wifi_radio\radio_10.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32
Generated by:  Flowcode v10.1.2.40
Date:          Monday, November 03, 2025 09:24:52
Users:         1
Registered to: bercioiu (**681***)
Licence key: *14*R*
   NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\Program Files (x86)\Flowcode\Common\Compilers\FC_ESP\\" "radio_10" "E:\ELECTRONICA\WORK\wifi_radio\" esp32s_sdkconfig esp32 

E:\ELECTRONICA\WORK\wifi_radio>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

E:\ELECTRONICA\WORK\wifi_radio>REM REVISION: 15.0 

E:\ELECTRONICA\WORK\wifi_radio>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

E:\ELECTRONICA\WORK\wifi_radio>REM DATE: 07\04\2025 

E:\ELECTRONICA\WORK\wifi_radio>REM DIR: FCD\ESP\Batch\esp32_build.bat 
Creating python config file 
\Flowcode\Common\Compilers\FC_ESP\esp-tools\tools\idf-python\3.11.2 was unexpected at this time.

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

Autoclose turned off


FINISHED
Attachments
esp32_1.png
esp32_1.png (261.57 KiB) Viewed 99 times
esp32.png
esp32.png (219.74 KiB) Viewed 100 times

Steve-Matrix
Matrix Staff
Posts: 1624
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 224 times
Been thanked: 384 times

Re: ESP32

Post by Steve-Matrix »

I have just tried to compile using a licence without the ESP chip-pack and it all seems to be working as expected. The free "ESP32" and "ESP32_WROOM_32" targets are allowed to compile but others are not.

I have tried this in both v10 and v11.

I don't know why it is failing for you. Perhaps the FCD (chip definition file) for the target has been modified by you or is not up-to-date - you can check this by ensuring all library files are current.

When you try to compile in v11, you will get 2 files generated with the extensions "msg.txt" and "fcxlog.txt". Can you please attach these files here so I can have a look. Please attach the unmodified files themselves rather that adding modified text to a post. If you would rather keep them secret, please send them to me via PM.

medelec35
Matrix Staff
Posts: 2178
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 736 times

Re: ESP32

Post by medelec35 »

Hello.
I have spotted an issue, looking at the ESP toolchain path.
The ESP32 Toolchain should default to C:\FC_ESP
Your location is C:\Program Files (x86)\Flowcode\Common\Compilers\
Which is correct for all other toolchains except for ESP32
I would advise to check your C drive and see where the FC_ESP directory is stored.
If it is not C:\FC_ESP (or whatever your default drive is), then uninstall the toolchain and reinstall making sure the path is C:\FC_ESP.

If the default path is correct
Then within Flowcode select File > Global Settings... > Locations tab
Make sure ESP: is showing C:\FC_ESP\\ (or whatever your default drive is)
If not change it to the correct path.
Martin

Post Reply