/micropong

Tetris in Rust for STM32F103C8

Primary LanguageRust

This is a direct port of Marek Miettinen's micro-tetris from Cortex-M0 to Cortex-M4. Specifically from the STM32F042K6 (NUCLEO-F042K6) to the STM32F103 (eg. Blue-Pill)

It's a fun showcase of the SSD1306 OLED display.

I wrote a bit about porting this here.

The original is in this branch. I didn't (yet?) port the pong game here.

Flashing

$ rustup target add thumbv7m-none-eabi

$ cargo install cargo-flash

$ cargo flash --release --chip STM32F103C8

License

This project is licensed under either of

at your option.