This contains the 2048 game implemented on a stm32 smart knob off AliExpress.
More importantly, it shows:
- use of Embassy HAL for STM32
- a testable project structure
- using EXTI and SPI peripherals
- setup for RTT debugging
/docs
- Contains docs for the smart knob hardware./app
- The microcontroller independent game logic./stm32
- Implementation of the game with STM32 hardware.
cargo run
- From within thestm32
folder, this will build and flash the game to the smart knob with debug output.cargo test
- This will run the tests in theapp
folder.