Skip to content

smirnovalnik/at32f415-vscode-gcc-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for AT32F415

Description

This is a template project for AT32F415 MCU.

Hardware

Template is tested on AT32F415-START.

Build

Clone repository

Clone repository with submodules:

git clone --recursive https://github.com/smirnovalnik/at32f415-vscode-gcc-template.git

Requirements

  • make >= 3.8
  • arm-none-eabi-gcc toolchain >= 13.2 from here
  • openocd port for atlink
  • vscode with Cortex-Debug extension
  • clang-format for code formatting
  • build-essential for building tests

Build release firmware

Run in root directory:

make clean && make -j

Build debug firmware

Run in root directory:

make clean && make DEBUG=1 -j

Build test firmware

Run in root directory:

make clean && make TEST=1 -j

Build and run unit tests

make test

Flash

Run in root directory for release firmware:

make flash-openocd-atlink

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published