Difference between revisions of "Compiler Toolchains"

From Flowcode Help
Jump to navigationJump to search
(Created page with "==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...")
 
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__TOC__
 +
 
==Compiler Toolchain==
 
==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 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.
+
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==
 
==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 toolchain can be downloaded from here: [https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe Espressif ESP32 IDF Toolchain]
+
Click the  approriate link below ofr detailed instructions for spacific compiler toolchains.
  
When installing you need to include Python, Git and the IDF as part of the installation process. These are all required by the end toolchain.
 
  
Once you have installed make a note of where you installed the toolchain.
+
[[ESP32 Toolchain]]
  
In Flowcode click on View -> Global Settings -> Locations Tab
+
[[Pico Toolchain]]
  
Set the path for the ESP toolchain by pasting in the installed toolchain location. By default this is C:\Users\Username\.espressif
+
[[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