Difference between revisions of "Compiler Toolchains"

From Flowcode Help
Jump to navigationJump to search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__TOC__
 +
 
==Compiler Toolchain==
 
==Compiler Toolchain==
  
Line 8: Line 10:
 
==Downloading and installing toolchain==
 
==Downloading and installing toolchain==
  
Most of the toolchains can be found here on the main [https://www.flowcode.co.uk/# Flowcode download page].
+
Most of the toolchains can be found here on the main [https://www.flowcode.co.uk/download/ Flowcode download page].
  
 
Download and run the toolchain installation file and that will do everything required to allow Flowcode to compile to that range of target devices.
 
Download and run the toolchain installation file and that will do everything required to allow Flowcode to compile to that range of target devices.
Line 15: Line 17:
  
  
==ESP32 Toolchain==
+
==Instructions for specific toolchains==
 
 
The ESP32 toolchain includes a lot more extras and so we have used the standard Espresif installer as that does all the extra functionality for you.
 
 
 
The only downside to this is you have to manually point Flowcode at the toolchain.
 
 
 
 
 
The toolchain can be downloaded from here: [https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe Espressif ESP32 IDF Toolchain]
 
 
 
Please report any problems or issues on the Flowcode user forum.
 
 
 
 
 
Installation
 
 
 
Once the download has finished run the installation file.
 
[[File:ESP32_Setup1.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Select – I accept the agreement and click Next
 
[[File:ESP32_Setup2.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
If you have Python already installed then you can select your version of Python.
 
 
 
Otherwise, select Install Python 3.7
 
 
 
''<span style="color:red;">Please note some versions of Python may cause the installer to fail, if this happens then try again and use the supplied version 3.7</span>''
 
 
 
If you have Git already installed then you can select your version of Git.
 
 
 
Otherwise select Install Git
 
[[File:ESP32_Setup3.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
If you have an ESP-IDF already downloaded then you can select your version of ESP-IDF.
 
 
 
Otherwise, select Download ESP-IDF
 
[[File:ESP32_Setup4.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Select which ESP-IDF to install, we recommend the lowest version as the higher versions have not been tested.
 
 
 
At the time of writing  4.2 (Release branch is OK to use)
 
 
 
Install to a location on your system with no spaces in the path.
 
 
 
For example C:\esp-idf
 
[[File:ESP32_Setup5.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Select a location for the ESP-IDF Tools to be installed, again use a path that contains no spaces
 
 
 
For example C:\esp-idf-tools
 
[[File:ESP32_Setup6.png|left]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 +
Click the  approriate link below ofr detailed instructions for spacific compiler toolchains.
  
Select addition tasks, recommend keep all options checked and click Next.
 
[[File:ESP32_Setup7.png|left]]
 
  
==Pico Toolchain==
+
[[ESP32 Toolchain]]
  
Here are some detailed installation instructions for installing the Pico toolchain as well as some helpful getting started hints and tips.
+
[[Pico Toolchain]]
  
[[File:Pico_Installation_Instructions.pdf]]
+
[[Using a new version of XC8]]

Latest revision as of 14:39, 7 February 2024

Compiler Toolchain

The compiler toolchain is used to allow Flowcode to compile the generated C code into a binary file that can be executed on your target microcontroller device.

The "Compile to Hex" and "Compile to Target" options in Flowcode require that a toolchain is installed for your selected microcontroller device.


Downloading and installing toolchain

Most of the toolchains can be found here on the main Flowcode download page.

Download and run the toolchain installation file and that will do everything required to allow Flowcode to compile to that range of target devices.

Note if you have Flowcode open when installing the toolchain then you may need to restart Flowcode once the toolchain is installed.


Instructions for specific toolchains

Click the approriate link below ofr detailed instructions for spacific compiler toolchains.


ESP32 Toolchain

Pico Toolchain

Using a new version of XC8