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: 1857
- http://meble-kuchenne.info.pl
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 269 times
- Been thanked: 440 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1857
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 269 times
- Been thanked: 440 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: 1857
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 269 times
- Been thanked: 440 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: 1857
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 269 times
- Been thanked: 440 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.
(EDIT: this download has been removed. Please install the ESP32 toolchain from the downloads page on this site as explained later in this forum thread)
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.
(EDIT: this download has been removed. Please install the ESP32 toolchain from the downloads page on this site as explained later in this forum thread)
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?
-
Steve-Matrix
- Matrix Staff
- Posts: 1857
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 269 times
- Been thanked: 440 times
Re: ESP32 C6 mini compile does not work
There is now a new ESP32 toolchain MSI download which includes support for C3 and C6 without requiring the fix suggested earlier in this thread. This is available via the download page on this site.
If you previously installed the toolchain from this site, you will receive the error "Another version of this product is already installed" when you double-click to run the MSI download. If you do, remove that previous install via "Add/Remove Programs" and then run the downloaded MSI file again.
If you previously installed the toolchain from this site, you will receive the error "Another version of this product is already installed" when you double-click to run the MSI download. If you do, remove that previous install via "Add/Remove Programs" and then run the downloaded MSI file again.