Skip to content

Latest commit

 

History

History
71 lines (40 loc) · 2.63 KB

README.md

File metadata and controls

71 lines (40 loc) · 2.63 KB

Rust black pill learning demo

My personal walk through learning Rust development on STM32 family of microcontrollers, using:

  • Black Pill development board with STM32F411CEU6 microcontroller as a target device
  • STLink v2 as a programming and debugging interface
  • Debian 10/11 bullseye and Visual studio code as development environment

Black Pill Photo

Other boards

Blue pill board examples

Userful Resources

Useful links for programming Black Pill board

Getting Started

All programming devices and software tools are pretty much the same as for the Blue pill board (check getting started page for the Blue pill device for details).

Target device specification for the openocd tool is stm32f4x instead of stm32f1x

openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg

Also check different memory limits in the memory.x file.

Blinking LED

Blinking LED example

Blinking LED

SH1106 OLED SPI matrix display

SH1106 display example

SH1106 display example

HX1230 LCD SPI matrix display [TODO]

HX1230 display example

SH1106 display example

ADXL345 I2C Accelerometer

ADXL345 Accelerometer example

ADXL345 Accelerometer example

PCF8563 Real-time clock/calendar [TODO]

PCF8563 Real-time clock example

PCF8563 Real-time clock example

Reading files from SD card [TODO]

SD Card reading example

SD Card reading example