brew install stlinkbrew install open-ocdbrew tap osx-cross/armbrew install arm-gcc-binbrew install --cask clion- Install JDK (run
sudo javaand follow instructions) - Download STM32CubeMX (registration is required), unpack archive
- Run unstaller
sudo java -jar SetupSTM32CubeMX-6.1.1.exe(version will be different!) - Setup embedded development in CLion
- Preferences, "Build, Execution, Deployment", "Embedded development"
- Set OpenOCD location (i.e.
/usr/local/Cellar/open-ocd/0.10.0/bin/openocd) - Set STM32CubeMX location (typically automatically detected)
See also: