Project template for STM32F103XB with USART, easy to adaptation to another board, makefile is used.
It was tested for BK3432 UART.
CSIMS only, not libs, but part of LL was added.
arm-none-eabi
arm-none-eabi-gdb
orgdb-multiarch
(by default, see .vscode/settings.json)gcc-multilib
openocd
make
- STM32CubeF1, not necessary to run this template. In common, the project can be adapted to any controller, so look for the libraries yourself)
Run in a terminal.
make
For debug mode
make debug
Not tested on Windows, but should work.
Firmware firmware.elf
will be in the Build
directory.
To switch release and debug clean project.
To build .hex
make intel-hex
To build .bin
make binary
make flash
The above openocd
uses VS Code with the Cortex-Debug extension as its IDE. Configs in the commit, all the charms of the register type are available.