Setup Guide for Development Environment on Linux for Arm Compiler

Table of Contents

Install Basic Tools and Dependencies

First, update your package manager and install essential tools required for building and managing software projects:

sudo apt-get update -y && sudo apt-get -y install git wget make python3 zip unzip python-is-python3

Install CMake

Download CMake 4.1.2 for Linux. CMake is vital for configuring, generating, and managing build processes in a platform-independent manner:

wget https://github.com/Kitware/CMake/releases/download/v4.1.2/cmake-4.1.2-linux-x86_64.sh
sudo bash ./cmake-4.1.2-linux-x86_64.sh --skip-license --exclude-subdir --prefix=/usr/local

Install Ninja Build System

Ninja is a small build system with a focus on speed, which CMake can utilize to manage builds:

wget https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-linux.zip
unzip ninja-linux.zip
mkdir /opt/ninja
mkdir /opt/ninja/bin
sudo cp ninja /opt/ninja/bin/
sudo chmod a+x /opt/ninja/bin/*

Add Ninja to PATH:

export PATH=/opt/ninja/bin:$PATH

Make it permanent:

echo 'export PATH=/opt/ninja/bin:$PATH' >> ~/.bashrc

Install Python

Python 3.13.x or newer is required to run configuration tools (menuconfig, kconfig) and to execute scripts used during SDK build and setup.

Choose one of the options below:

Option A: System Python (if already 3.13.x+)

python3 --version

Install OpenOCD

sudo apt-get update
sudo apt-get install -y openocd
openocd --version

Install the ARM Compiler

Download Arm Compiler 6.19 for Linux: Arm Compiler 6.19

sudo mkdir -p /home/temp
sudo tar -xzf ARMCompiler6.19_standalone_linux-x86_64.tar.gz -C /home/temp
cd /home/temp
sudo ./install_x86_64.sh --i-agree-to-the-contained-eula --no-interactive -d /home/arm_compiler/
export PATH=$PATH:/home/arm_compiler/bin
export AC6_TOOLCHAIN_6_19_0=/home/arm_compiler/bin
export ARMLMD_LICENSE_FILE=<license-file>

Make it permanent:

echo 'export PATH=$PATH:/home/arm_compiler/bin' >> ~/.bashrc
echo 'export AC6_TOOLCHAIN_6_19_0=/home/arm_compiler/bin' >> ~/.bashrc
echo 'export ARMLMD_LICENSE_FILE=<license-file>' >> ~/.bashrc

Debug Steps

For debug capabilities - download debian file of Ozone debugger from the link below: Segger Ozone download page Then install it using the commands below:

sudo apt install build-essential
sudo dpkg --install Ozone_Linux_V334_x86_64.deb