pgold / blinky

A Rust "Hello, World!" for the STM32F411CEUx.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blinky

A Rust "Hello, World!" for the STM32F411CEUx.

Generated using cortex-m-quickstart:

$ cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart

Dependencies

To build you'll need a cross-compilation toolchain supporting the thumbv7em-none-eabihf target. To install it using rustup, run:

$ rustup target add thumbv7em-none-eabihf

Building and Flashing

To build:

$ cargo build --release

To flash:

$ cargo flash --chip stm32f411CEUx --release

In order to use the cargo-flash command, it must have been previously installed. To install it, run:

$ cargo install cargo-flash

Tested Hardware

This code has been successfully tested on the following board:

About

A Rust "Hello, World!" for the STM32F411CEUx.


Languages

Language:Rust 95.9%Language:Logos 4.1%