A rust port of the Massdrop Firmware Loader - for CTRL / ALT / SHIFT / Rocketeer keyboards.
The rust in the initial commit of this project was generated, in part, by c2rust, with a few exceptions:
incbin
was replaced with lazy-static-include- the
applet_data
andapplet_size
generated byincbin
here were replaced withapplet
andapplet.len()
usinglazy-static-include
, respectively - ATMEL-specific code was placed into the
atmel
module, under an ATMEL-specific license.
Note: permissions may need to be given to the /dev
port the keyboard uses, which only appears when it is in DFU mode
$ cargo build
$ cargo run
This port hasn't been tested on Windows, which the original mdloader
supports -- only Linux.
Contribution is welcome, just open a pull request.