https://github.com/simmsb/tyrfing-stm
Firmware for flashlights, written in Rust
https://github.com/simmsb/tyrfing-stm
embassy flashlight mp3432 rust stm32 torch
Last synced: 8 months ago
JSON representation
Firmware for flashlights, written in Rust
- Host: GitHub
- URL: https://github.com/simmsb/tyrfing-stm
- Owner: simmsb
- Created: 2024-05-19T18:38:57.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T20:13:03.000Z (over 1 year ago)
- Last Synced: 2025-06-09T05:43:27.950Z (about 1 year ago)
- Topics: embassy, flashlight, mp3432, rust, stm32, torch
- Language: Rust
- Homepage:
- Size: 1.63 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hardware and firmware for my flashlight drivers that use stm32L0 processors
This repo contains the KiCad files of my self-designed flashlight driver (stm32L0, using a MP3432 boost driver) and the Rust firmware for it.
Mostly based off my [AVR flashlight firmware](https://github.com/simmsb/tyrfing/), also written in Rust.
# Running and flashing
To run with debug logging: `env DEFMT_LOG="debug" cargo run`
To flash a non-debug build: `env DEFMT_LOG="off" cargo run --no-default-features --features default_no_debug --release`