GNU Arm embedded toolchain for macOS
The GNU Embedded Toolchain for Arm is a ready-to-use, open source suite of tools for C, C++ and Assembly programming targeting Arm Cortex-M and Cortex-R family of processors. It includes the GNU Compiler (GCC) and is available free of charge directly from Arm for embedded software development on Windows, Linux and macOS operating systems.
This repository is the original macOS version of the GNU Compiler from Arm packaged for Visual Studio Code: GNU Arm embedded toolchain
In Visual Studio Code goto extensions (shift+cmd+x), search for 'metalcode-eu' and install the extension that is suited for your operating system.
The extension has four paths for the toolchain. You can use them in the tasks.json.
Here is an example of tasks.json for GNU make.
With the following makefile:
Version 8-2019-q3-update Released: July 10, 2019
Open OCD version for PSoC.
Added Open On-Chip Debugger 0.10.0+dev-220.127.116.11 (2018-11-09-17:51)
Version 8-2018-q4-major for macOS Released: December 20, 2018
Modified atomclip to metalcode-eu.
Fixed typo in path to repository causing a wrong link in the marketplace.
Added a path to the libgcc files.
When you do bare metal development, you often exclude all standard libraries but you still need libgcc.a for integer division etc. The path to this file contains a version number that changes with every release of the toolchain. Using this variable you do not need to update your makefiles with every new release of the toolchain.
Version 7-2018-q2-update for macOS Added ./symlink.sh to create symlinks in /usr/local/bin.
Operating system specific PATH environment variable.
Changed default paths, added GNU Make 3.81.
Version 7-2017-q4-major for macOS Released: December 18, 2017