- NodeJS + NPM
- Python + PIP
- Git
- VS Code
pip install pyocd --upgradepyocd pack updatepyocd pack find stm32g0b1pyocd pack install STM32G0B1CEUx
- Download the latest version from https://github.com/xpack-dev-tools/openocd-xpack/releases or build it yourself following this guide
- Unzip it to
OpenOCDfolder inC:\Program Files - Set
OpenOCDsystem variable to 'C:\Program Files\OpenOCD' - Add
%OpenOCD%\binto system PATH variable - Set
XDG_CACHE_HOMEenv variable to%USERPROFILE%\AppData\Local\Tempto prevent symbol cache path error
Note: xpm utility does not really support global installations (yet), hence I suggest the above approach.
Download from https://github.com/posborne/cmsis-svd/tree/master/data/STMicro and place in the Software root folder.
- required version: arm-none-eabi (bare-metal target)
- Download from https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack
- Set
MBED_GCC_ARM_PATHenv variable toC:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\11.2 2022.02\bin(latest version Windows path). - Add
MBED_GCC_ARM_PATHenv variable to WindowsPathenv variable (%MBED_GCC_ARM_PATH%) - if not set by the installer.
Note: the most official build can be found here but I do not recomment using it.
arm-none-eabi-gdbver. 11.2 has a buggy dependency on unsupported and retired Python 2.7.
npm install -g cppbuildnpm install -g shxnpm install -g @serialport/terminal
C/C++(Microsoft)Cortex-Debug(marcus25) See: https://github.com/Marus/cortex-debug/wiki
- Set the default VS Code terminal to
Git Bash. Otherwise, VS Code may try to execute task NPM packages as (e.g.) PowerShell scripts.
LinkerScript(Zixuan Wang)Arm Assembly(dan-c-underwood)Code Spell Checker(Street Side Software)Build++(Tomasz Jastrzębski)
- STSW-LINK009 ST-LINK USB Driver
- STSW-LINK007 ST-LINK boards firmware upgrade