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

-
- 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
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
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
-
- 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
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
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
-
- 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
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
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