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 |
See The Embedded Rust Book for more info
$ rustup target add thumbv7m-none-eabi
$ cargo install cargo-binutils
$ rustup component add llvm-tools-preview
$ cargo install cargo-generate
Distributed under the terms of the MIT license. See LICENSE for details.