Download, Install and Setup GCC
This guide provides instructions for setting up the ARM GNU Toolchain (GCC) on both Windows and Linux operating systems.
Note
GCC toolchain is only supported in command line build mode, see Advanced command line based build and debug
Download and Install GCC toolchain
Download the ARM GNU toolchain specified below
https://developer.arm.com/-/media/Files/downloads/gnu/15.2.rel1/binrel/arm-gnu-toolchain-15.2.rel1-mingw-w64-x86_64-arm-none-eabi.zip
Extract the toolchain at
C:/It should look something like
C:\arm-gnu-toolchain-{version}-x86_64-arm-none-eabi\
Download the ARM GNU toolchain specified below
wget -P ~/Downloads/ https://developer.arm.com/-/media/Files/downloads/gnu/15.2.rel1/binrel/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi.tar.xz
Extract the toolchain as shown below
tar -xf ~/Downloads/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi.tar.xz -C ~/
This will create the folder
~/arm-gnu-toolchain-{version}-x86_64-arm-none-eabi/containing all the toolchain files.
Build and debug with GCC toolchain
Follow the steps mentioned in Advanced command line based build and debug to build using GCC toolchain and debug using CCS project less debug
In
imports_<device>.mkkeep the flag{CPU}_GCC_ARM_BUILD_ENABLEasy