Difference between revisions of "Compiler Toolchains"

From Flowcode Help
Jump to navigationJump to search
 
(19 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]
 
 
 
When installing you need to include Python, Git and the Espressif IDF as part of the installation process. These are all required by the end toolchain to compile and program ESP32 devices.
 
 
 
 
 
In Flowcode click on View -> Global Settings -> Locations Tab
 
  
Set the path for the ESP toolchain by pasting in the installed toolchain location. By default this is C:\Users\Username\Desktop\esp-idf
+
Click the approriate link below ofr detailed instructions for spacific compiler toolchains.
  
Please note this path cannot contain any spaces, if your default username contains spaces then you will need to install the esp-idf folder elsewhere for example C:\esp-idf.
 
  
 +
[[ESP32 Toolchain]]
  
Here are some detailed installation instructions for installing the ESP32 toolchain as well as some helpful getting started hints and tips.
+
[[Pico Toolchain]]
  
[[File:ESP_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