Linux Toolchain Install
Make¶
On most Linux systems, make is installed by default. However, if it is not already on your machine, here are instructions for installing on Debian/Ubuntu.
In a terminal application paste the following into your command prompt:
ARM Toolchain¶
Download the GNU Embedded Toolchain for Arm.
You can ignore the "This page is deprecated" message at the top of the website. Please scroll down and we recommend that you click on "Downloads: 10-2020-q4-major December 11 2020" and unzip "gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2".
If you have a version of the arm toolchain that is 10.3 and newer, the libraries will not compile.
You can check the version with:
and download the proper version from the link above.
Once downloaded, extract the folder from the .tar file, and move it to a destination of your choice for example, ~/Developer/
Once the file is moved, open up your bashrc file (located at ~/.bashrc
), and add the following lines:
restart your terminal, or run source ~/.bashrc
before trying to compile the libraries or the examples.
dfu-util¶
dfu-util
is used to program binary files to the Daisy via USB.
On distros with apt package manager (ubuntu, etc.), you can:
apt-get install dfu-util
On distros with pacman package manager (arch, etc.), you can:
pacman -S dfu-util
openocd¶
openocd
is used to program the Daisy and debug via a JTAG Debug Probe.
On distros with apt package manager (ubuntu, etc.), you can run:
sudo apt install openocd
Troubleshooting¶
If you experience any issues during installation, see our dedicated Troubleshooting Page.