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 56 times
-
- ESP32-C3-WROOM.fcfx
- (11.42 KiB) Downloaded 53 times
-
- Posts: 811
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 691 times
- Been thanked: 180 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: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 757 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: 811
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 691 times
- Been thanked: 180 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: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 757 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
-
- Posts: 45
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
Re: ESP32 C3 Copiler error
Hello everyone,
Dear mnfisher, how did you install 5.4 for ESP IDF? Can you give us some information about this?
Because after installing these versions, I get a lot of errors when I compile the project.
Can you show me a roadmap?
Dear mnfisher, how did you install 5.4 for ESP IDF? Can you give us some information about this?
Because after installing these versions, I get a lot of errors when I compile the project.
Can you show me a roadmap?
Sadık Süme
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 757 times
Re: ESP32 C3 Copiler error
Note that I don't use the MatrixTSL scheme - I use my own batch file (as mentioned). So proceed carefully (if you have a working system then VERY carefully - backups are good)
I use the espressif installer (from https://dl.espressif.com/dl/esp-idf/?idf=4.4VScode) and I install the frameworks to their default location (so I have C:\Espressif\frameworks\esp-idf-v5.4.1 for example). Then when the download and install has completed - from the new framework directory run install.bat (I usually do this from a command line - but I think you can double click on it too) This 'should' run a fair few bits - with progress bars etc Then point FC at the new toolset and good to go - except for programs compiled with different version where you will need to either save to a new file or run idf.py fullclean)
There 'might' be a way to have multiple toolchains running at once (using python environments) - but I am not aware of one...
I see there is a new v5.5 available so I'll do a screen capture of installing it and post to youtube.
Martin
I use the espressif installer (from https://dl.espressif.com/dl/esp-idf/?idf=4.4VScode) and I install the frameworks to their default location (so I have C:\Espressif\frameworks\esp-idf-v5.4.1 for example). Then when the download and install has completed - from the new framework directory run install.bat (I usually do this from a command line - but I think you can double click on it too) This 'should' run a fair few bits - with progress bars etc Then point FC at the new toolset and good to go - except for programs compiled with different version where you will need to either save to a new file or run idf.py fullclean)
There 'might' be a way to have multiple toolchains running at once (using python environments) - but I am not aware of one...
I see there is a new v5.5 available so I'll do a screen capture of installing it and post to youtube.
Martin
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 757 times
Re: ESP32 C3 Copiler error
Recording it wasn't as easy as the tutorial videos make it look.....
Still - upgrade to v5.5 worked AOK - download - install - run install.bat - point FC at new toolchain - compile.
Martin
Still - upgrade to v5.5 worked AOK - download - install - run install.bat - point FC at new toolchain - compile.
Martin
-
- Posts: 45
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
Re: ESP32 C3 Copiler error
Hello, dear mnfisher.
Could you explain how you did this with screenshots?
Could you explain how you did this with screenshots?
Sadık Süme