A template for developing for the ST BlueNRG 1/2 Cortex-M0 BLE device. It uses VSCode, GCC, CMake and the BlueNRG DK to write and build code. It also uses the Cortex Debug extension with OpenOCD and ST-Link for debug and flashing.
- VSCode
- VSCode extensions - ms-vscode.cpptools, ms-vscode.cmake-tools, marus25.cortex-debug
- CMake (and its dependencies, Ninja in the case of Windows)
- GCC Toolchain
- OpenOCD
- BlueNRG DK
- ST-Link driver (Windows Driver)
All of the above have excellent installation guides scattered all over the internet. For the ST tools, in general, it is recommended to not install them in Program Files in Windows. I use C:\ST\
- the path is short and easy to type. I also tend to use C:\OpenOCD\
for OpenOCD as again the path is shorter.
MORE TO COME