Skip to content

Template to develop bare metal applications for Air001 microcontroller

Notifications You must be signed in to change notification settings

air001-rs/air001-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

air001-quickstart

A template for building applications for Air001 microcontrollers

Dependencies

To build embedded programs using this template you'll need:

  • Rust 1.31, 1.30-beta, nightly-2018-09-13 or a newer toolchain. e.g. rustup default beta

  • The cargo generate subcommand. Installation instructions.

  • rust-std components (pre-compiled core crate) for the ARM Cortex-M targets. Run:

$ rustup target add thumbv6m-none-eabi

Using this template

  1. Instantiate the template.
$ cargo generate --git https://github.com/air001-rs/air001-quickstart
 Project Name: app
 Creating project called `app`...
 Done! New project created /tmp/app

$ cd app
  1. Build the template application or one of the examples.
$ cargo build --release
$ cargo build --release --example blinky

Flashing

Use PyOCD (> 0.36) and DAPLink to flash the program.

$ pyocd load --target air001 -f 100khz --format elf target/thumbv6m-none-eabi/release/examples/blinky

About

Template to develop bare metal applications for Air001 microcontroller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published