Skip to content

Example of a project for Artery MCU based on open source solutions

Notifications You must be signed in to change notification settings

Gabro1984/at32f407_led_toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LEDs blinking

======================================

The project forked from original"led_toggle" example from Arterytek Firmware Library
Download Arterytek at32f407 Firmware Library
but based on open source solutions to build and debug application.
You can use this project as a template to create more complex applications for Arterytek MCUs.

To build project cmake with a GNU toolchain are used.
Download GNU toolchain

To debug Arterytek openocd is used.
Download Arterytek openocd

To debug using VS Code editor openocd configuration is attached at .vscode folder.

Preparing

  1. Install cmake.
  2. Download an arm-none-eabi toolchain and add path to toolchain to the PATH enviroment variable.
  3. Download Arterytek openocd and build it by following instructions from README file.

Building

  1. Create and go to build directory
    mkdir build && cd build
  2. Run cmake
    cmake ..
  3. Build
    make -j8

Debugging

Just run VS code and start debug.

Note: if path to openocd configs was changed during openocd installation
you need to edit ".vscode/launch.json".

About

Example of a project for Artery MCU based on open source solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published