Alenlu / lpc11uxx_rust

Test project for LPC11u37 in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LPC11UXX Blinky in Rust

Based on cortex-m-quickstart

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

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

Install latest rust

rustup update
rustup toolchain list

Choose latest stable version

rustup default stable-x86_64-apple-darwin

Or use the nightly

rustup toolchain install nightly
rustup default nightly  

Install the cross compile targets

$ rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf

Using this template

NOTE: This is the very short version that only covers building programs. For the long version, which additionally covers flashing, running and debugging programs, check the embedded Rust book.

  1. Build the application.
$ cargo build

License

This template is licensed under either of

at your option.

About

Test project for LPC11u37 in Rust


Languages

Language:Rust 100.0%