Skip to content

Rust learning demo for black pill development board with STM32F411CEU6 microcontroller

License

Notifications You must be signed in to change notification settings

viktorchvatal/black-pill-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust learning demo for black pill development board with STM32F411CEU6 microcontroller

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published