Imported from GitHub: bschwind/key-ripper · commit 37e75e9 · license Apache-2.0
Description
A keyboard personalized for myself, designed in KiCad, with custom firmware and a case, both written in Rust. Can sit on top of a macbook keyboard.
README
key-ripper
Dependencies
rustup target add thumbv6m-none-eabi
cargo install elf2uf2-rs
Flash Code
If you just got the PCB from a PCB manufacturer, chances are you can plug in the board directly via USB C and it will show up as a USB mass-storage device, ready for flashing.
If not, hold the "USB Boot" button (near the QSPI chip), and either press the reset button or re-insert the USB cable to put the board in USB mass-storage bootloader mode.
cargo run --release
Troubleshooting
If you get an error such as:
Error: "Memory segment 0x010000->0x010094 is outside of valid address range for device"
Double check that your RUSTFLAGS environment variable, as it will take precedence over the values set in ./cargo/config.toml.