Page 1 of 1

ESP32 C3 Copiler error

Posted: Sat Jul 26, 2025 7:54 pm
by mehmet64
heLLo
i have problem with C Family to Compile please Hellp me////i read evry privios topic but not solve problem

Re: ESP32 C3 Copiler error

Posted: Sun Jul 27, 2025 7:25 am
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 ;)

Re: ESP32 C3 Copiler error

Posted: Sun Jul 27, 2025 11:13 am
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

Re: ESP32 C3 Copiler error

Posted: Sun Jul 27, 2025 11:13 pm
by mehmet64
@jgu1 witch one virsion is corret for C family?

Re: ESP32 C3 Copiler error

Posted: Mon Jul 28, 2025 5:08 am
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

Re: ESP32 C3 Copiler error

Posted: Mon Jul 28, 2025 9:50 am
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