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.
ESP32 C6 mini compile does not work
-
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
-
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
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]
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
-
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
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]
[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
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:
(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:
When we have the opportunity, we intend to update the ESP32 toolchain installer so that this additional step is not required in future.
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\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:
When we have the opportunity, we intend to update the ESP32 toolchain installer so that this additional step is not required in future.
Re: ESP32 C6 mini compile does not work
That download link in my case only takes to the main flowcode page. I don't see a zip file anywhere?