This is a template project for AT32F415 MCU.
Template is tested on AT32F415-START.
Clone repository with submodules:
git clone --recursive https://github.com/smirnovalnik/at32f415-vscode-gcc-template.git
make
>= 3.8arm-none-eabi-gcc
toolchain >= 13.2 from hereopenocd
port for atlinkvscode
withCortex-Debug
extensionclang-format
for code formattingbuild-essential
for building tests
Run in root directory:
make clean && make -j
Run in root directory:
make clean && make DEBUG=1 -j
Run in root directory:
make clean && make TEST=1 -j
make test
Run in root directory for release firmware:
make flash-openocd-atlink