Skip to content
/ rustpill Public

Basic "blink" for «Blue Pill» board written in Rust

License

Notifications You must be signed in to change notification settings

bthkn/rustpill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustPill

Basic "blink" hello world programm for STM32F103C8T6 based «Blue Pill» dev board.

Based on @lupyuen project stm32-blue-pill-rust.

Peripheral STM32F103C8T6
Flash 64 Kbytes
SRAM 20 Kbytes
Timers 3 General-purpose
1 Advanced-control
SPI 2
I2C 2
USART 3
USB 1
CAN 1
GPIOs 37
12-bit synchronized ADC 2 (10 channels)
CPU frequency 72 MHz
Operating voltage 2.0 to 3.6 V
Operating ambient temperatures: -40 to +85 °C
Operating junction temperature: -40 to +105 °C
Packages LQFP48, UFQFPN48

Install tools

See The Embedded Rust Book for more info

Add Cortex-M3 build target
$ rustup target add thumbv7m-none-eabi
Install cargo-binutils, llvm-tools-preview and cargo-generate
$ cargo install cargo-binutils
$ rustup component add llvm-tools-preview
$ cargo install cargo-generate
OS-Specific

See The Embedded Rust Book

License

Distributed under the terms of the MIT license. See LICENSE for details.

About

Basic "blink" for «Blue Pill» board written in Rust

Topics

Resources

License

Stars

Watchers

Forks