Rust on the Ferris Sweep
a year ago
- #keyboard-firmware
- #rust
- #embedded
- RMK is a keyboard firmware written in Rust, chosen for a Ferris Sweep keyboard.
- QMK, a C-based firmware, is mature but complex for custom keyboard designs.
- RMK lacks pre-made configurations, requiring users to define pin mappings and keymaps manually.
- Setting up RMK involves using `rmkit` to generate a template and configuring `keyboard.toml`.
- Pin mappings were derived from the PCB design due to incompatibility with QMK's mappings.
- Half-duplex UART communication was configured using RP2040's PIO feature, requiring a git version of RMK.
- A `vial.json` file was created for VIAL software compatibility, involving layout adjustments.
- Initial flashing issues were resolved by lowering the baud rate due to insufficient pull-up resistors.
- RMK is functional but lacks some advanced features like display support and per-key RGB.
- RMK is recommended for those familiar with firmware configuration and interested in Rust.