ESP32 C6 mini compile does not work

For general Flowcode discussion that does not belong in the other sections.
Steve-Matrix
Matrix Staff
Posts: 1839
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 265 times
Been thanked: 431 times

Re: ESP32 C6 mini compile does not work

Post by Steve-Matrix »

Thanks, Stefan.

None of the C3 and C6 devices are compiling for me. I'm setting up a completely fresh install on another PC to test further because the toolchain installation on my PC may not be clean.

Steve-Matrix
Matrix Staff
Posts: 1839
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 265 times
Been thanked: 431 times

Re: ESP32 C6 mini compile does not work

Post by Steve-Matrix »

I've managed to get Flowcode compiling the C3 and C6 devices now.

To do this, I uninstalled the ESP toolchain installation and installed the v5.3.5 offline version from the Espressif website.

I also had to edit the two ESP batch files in %PROGRAMDATA% to point at v5.3.5 instead of v5.3.1 and I had to tell Flowcode where the new ESP toolchain was located.

[EDIT: it was a bit more complicated that just this. But I have a simpler solution now - see later in this forum thread]

stefan.erni
Valued Contributor
Posts: 1214
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 224 times
Been thanked: 240 times

Re: ESP32 C6 mini compile does not work

Post by stefan.erni »

Hi Steve

just this file and this line?

2026-04-17_10-02-57.PNG
2026-04-17_10-02-57.PNG (25.63 KiB) Viewed 336 times
2026-04-17_10-05-34.PNG
2026-04-17_10-05-34.PNG (193.85 KiB) Viewed 336 times
2026-04-17_10-10-19.PNG
2026-04-17_10-10-19.PNG (62.28 KiB) Viewed 336 times

Steve-Matrix
Matrix Staff
Posts: 1839
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 265 times
Been thanked: 431 times

Re: ESP32 C6 mini compile does not work

Post by Steve-Matrix »

Yes, those are the lines that needs to be changed. But note that I do not have any of those devices and so I've only been able to check that they compile ok.

[EDIT: see my next message for a much simpler solution that avoids changing anything in Flowcode]

Steve-Matrix
Matrix Staff
Posts: 1839
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 265 times
Been thanked: 431 times

Re: ESP32 C6 mini compile does not work

Post by Steve-Matrix »

I have revisited this today and found a neater solution for those Flowcode users who do not want to make the changes necessary to work with the Espressif installation.

For this method, install the Flowcode ESP installer from our downloads page as usual. Some additional files will need to be downloaded and manually added to the toolchain. Other than that, the procedure should involve no edits to Flowcode's batch files or the Flowcode environment.

To add support for the C3 and C6 devices, download the file below and unzip it into the following folder:

Code: Select all

C:\FC_ESP\esp-tools\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\
(assuming the Flowcode ESP32 installation was installed to the default folder).

The file can be downloaded via the link below. It is large (282 MB) and so it is recommended that you only add these files if you require support for the C3 and C6 families.
https://www.flowcode.co.uk/download/fil ... _c3_c6.zip

Note the exact path above because there will be several "riscv32-esp-elf" folders once the files have been unzipped. The following image highlights the added folders and shows their location in the folder tree:
ESP32 extra files location.png
ESP32 extra files location.png (149.98 KiB) Viewed 303 times

When we have the opportunity, we intend to update the ESP32 toolchain installer so that this additional step is not required in future.

grout1
Posts: 8
Joined: Tue Apr 26, 2022 11:41 pm

Re: ESP32 C6 mini compile does not work

Post by grout1 »

That download link in my case only takes to the main flowcode page. I don't see a zip file anywhere?

LeighM
Valued Contributor
Posts: 539
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 98 times
Been thanked: 293 times

Re: ESP32 C6 mini compile does not work

Post by LeighM »

Login to your Flowcode account, then try the link again

Post Reply