Compile and flash!

In this section, you'll be able to compile your firmware and flash it to your microcontroller.

Compile the firmware

To compile the firmware is easy, just run

cargo build --release

If you've done all the previous steps correctly, you can find your compiled firmware at target/<your_target>/release folder.

If you encountered any problems when compiling the firmware, please report it here.

Flash the firmware

The last step is to flash compiled firmware to your microcontroller. This needs a debug probe like daplink, jlink or stlink(stm32 only). If you've got your debug probe, connect it with your board and host, make sure you have installed probe-rs, then just run

cargo run --release

The firmware will be flashed to your microcontroller and the firmware will run automatically, yay!

For more configurations of RMK, you can check out feature documentations on the left.