Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32 Mini

A small, stm32f072 devboard in the pico form factor! I've played around with the RP2040 and various ESP32 chips for the past few years, but I wanted to try something different. The STM32 series of microcontrollers are very popular especially for low power usage, and I wanted to try using one myself. There's also less abstraction (imo-at least compared to MicroPython) when writing code for the STM32 and I think it'd be a great chance for me to practice my rust a little.

board render

Usage

  1. Clone and open the firmware/ folder (or clone the firmware repo directly: ShuchirJ/stm32-blinky)
  2. Install the Rust toolchain and the thumbv6m-none-eabi target (rustup target add thumbv6m-none-eabi)

Note

This step assumes you are connected via SWD debugger. If you want to flash the firmware using USB, install rs-dfu (or similar) and skip to step 4.

  1. Build and flash the firmware using cargo run --release

Flashing via DFU:

  1. cargo build --release
  2. cargo objcopy --release --bin stm32-blinky -- -O binary target/thumbv6m-none-eabi/release/stm32-blinky.bin
  3. rdfu write --start-address 0x08000000 target/thumbv6m-none-eabi/release/stm32-blinky.bin (or similar command for an alternative dfu utility)

schematic

Stackup

The board follows a SIG-GND-PWR-SIG stackup.

SIG (1): alt text

GND (2): alt text

PWR (3): alt text

SIG (4): alt text

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors