Modified: 2022-11
This demo version 10.3 which at the time of writing is the latest arm toolchain. Note that these downloads are large and may take some time.
Get the CMSIS arm-none-eabi-gcc
toolchain for ARM Cortex microcontrollers:
brew install --cask gcc-arm-embedded
Download version 10.3 from the windows install link here
This demo version 0.11.0 which at the time of writing is the latest openocd
version
Get openocd
using brew
:
brew install openocd
Download xPack OpenOCD v0.11.0-5 (xpack-openocd-0.11.0-5-win32-x64.zip) from the github release link here
This demo requires a minimum cmake
version 3.24 to build.
Install cmake
using brew
:
brew install cmake
Download version 3.34
or higher from the windows install link here
Get the STM32G4 (and CMSIS) headers from github. You will want to clone this at a location it can be easily referenced across multiple projects:
git clone [email protected]:STMicroelectronics/STM32CubeG4.git
Note: This repository contains a ton of extra overhead meant for CubeIDE and other toolchains. This has no effect on the binary size since only what we include (and subsequent includes) will be used.
TODO