ESP32 C3 Copiler error

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mehmet64
Posts: 42
http://meble-kuchenne.info.pl
Joined: Mon Apr 05, 2021 1:59 am
Has thanked: 8 times
Been thanked: 4 times

ESP32 C3 Copiler error

Post by mehmet64 »

heLLo
i have problem with C Family to Compile please Hellp me////i read evry privios topic but not solve problem
Attachments
error.txt
(6.69 KiB) Downloaded 16 times
ESP32-C3-WROOM.fcfx
(11.42 KiB) Downloaded 14 times

jgu1
Posts: 805
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 688 times
Been thanked: 179 times

Re: ESP32 C3 Copiler error

Post by jgu1 »

Hi mesmerizing!

Please have a look here : viewtopic.php?t=3251

You are using v5.3.1\tools, there are an issue with this version and the esp c model, same for me ;)

The S2 and 3 model working fine.

Br Jorgen ;)

mnfisher
Valued Contributor
Posts: 1575
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 139 times
Been thanked: 743 times

Re: ESP32 C3 Copiler error

Post by mnfisher »

To compile for the esp32-c3....

It is possible - although for some reason the FC batch file fails. Replace the batch esp32_build.bat file - see viewtopic.php?t=2966&hilit=esp32+batch using the code from the last message (C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat is the file to replace)

Note that you (might) need to change the COM port from COM6. Then use compile to hex to compile and upload your program... I'd probably save it to a new location first.

It's a workaround - and I can't see why the default batch file doesn't work - unless it's an issue with the prebuilt code that is used for every project (for speed)

Martin

mehmet64
Posts: 42
Joined: Mon Apr 05, 2021 1:59 am
Has thanked: 8 times
Been thanked: 4 times

Re: ESP32 C3 Copiler error

Post by mehmet64 »

@jgu1 witch one virsion is corret for C family?

jgu1
Posts: 805
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 688 times
Been thanked: 179 times

Re: ESP32 C3 Copiler error

Post by jgu1 »

As medelec1 wrote does it look like 5.1

Martin worte:

"Hi Jorgen.
For people that installed 5.1 and above following the guide on the wiki some time ago, are the only people that the ESP C3 will work for.
Currently anyone who tries that now will face further issues due to the updates expressif have put in place.
Unfortunately, we have no control over that, so we are looking at a potential solution.
If you are one of those people and have not deleted the 5.1+ directory, hen you could have a chance in getting your C3 to work"

or you could follow mnfisher´s advice.

Br Jorgen

mnfisher
Valued Contributor
Posts: 1575
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 139 times
Been thanked: 743 times

Re: ESP32 C3 Copiler error

Post by mnfisher »

Yes - Jorgen is right - you do need to tread with a little care (take a backup of the file at least!)

You will need a version of the espressif tools that copes with the c3 - I've been using 5.3 for some time without many issues. I've just installed 5.4 too - so hopefully won't hit too many incompatibilities.

The batch file above - reverts to the 'original' method of compilation - uses a separate folder for each project. If you use different targets this is useful (or use espressif components). The speed up using a single folder is mainly on the first compilation - but if you change target this needs redoing anyways - and subsequent compilations are as fast in either case.

Martin

Post Reply