Page 2 of 2

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 8:44 am
by grout1
When you say a small problem with the c6 not compiling, I see it more of a major problem.
I upgraded to the full esp package so I could use the Zigbee functions of the c6. I am not an expert I,m afraid.
If simply following the tool chain installation notes, and still not getting it working leads me to give up. I must say I don't understand why only the free ESP32 works.
Just a thought. :?

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 11:13 am
by mnfisher
I don't have an issue compiling for the C6.

I'm not sure why others are getting issues?

A few things to try.

1) Make sure that target is set correctly. Use 'idf.py set-target esp32c6' and if it doesn't complete successfully try deleting the 'build' directory.
2) I'm actually using v5.5 of the toolset - but 5.3 'should' work as well.
3) I don't use the usual Flowcode setup or batch file (read the instructions is usually well down the list ;-) of things to do) So I have used the default espressif installer (and have several frameworks installed) - I use the batch file at https://www.flowcode.co.uk/forums/viewt ... 557#p18557 - the drawback is that I need to alter it to use the correct COM port each time I plug a new board in (there is surely a way around this)
The toolset isn't keen on changing targets - and needs a complete rebuild each time you do so - FC's default batch neatly uses a pre-built directory for compilation (which speeds up compilation) - however doesn't play as nicely with espressif components. The batch I use uses a separate directory for each project - I found that the 'setting up environment' takes more time on my PC - so it's a bit quicker (just does it once for compile / upload rather than twice) after the first compile.
4) Try compiling from the command line (framework/export then idf.py build - need to find the directory 'framework')

Stefan - output seems to imply it can't find the compiler??
Jorgen - what errors do you get
Grout1 - can you post the compiler message?

Martin

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 1:16 pm
by stefan.erni
Hi Martin, Hi Jorgen, Hi Grout
Stefan - output seems to imply it can't find the compiler??
Yes, exactly.
But the compiler is there, and the DLLs are there too.
Somehow it just doesn't work.
I'm using the latest toolchain installer from FC11. (Flowcode_Compiler_ESP_5.3a.msi)
With an older version, the ESP32C3 still compiled, but now it doesn't anymore. ESP32C6 never compiled.

But the ESP32S3 works great.

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 2:22 pm
by mnfisher
Odd, if it uses the same batch file - have you checked compiler config menu?

It doesn't seem to get far enough for another explanation?

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 5:17 pm
by jgu1
Hi again

Maybe usefull, don“t know if rigth, try to see what medelec wrote in the end of this tread:

https://www.flowcode.co.uk/forums/viewt ... gu1#p19870

I have same result as stefan.erni, I also use 5.3

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 10:08 pm
by grout1
Hi mnfisher. attached is my text log file.
Thanks grout1.

Re: ESP32 C6 mini compile does not work

Posted: Tue Apr 14, 2026 10:31 pm
by mnfisher
It looks like the default flowcode installation doesn't include the risc-v compiler - the other targets use an extensa processor...

Try running 'install.bat' which is found in the framework directory. I can't test this as my setup does include this - again i used the default espressif installer with no changes to the options...

There might be an option for this - that is changed??

Martin