Setup

First, let's build an environment for using RKTK.

1. Install rust

RKTK is built with Rust, so Rust is required; there are various ways to install Rust, but using rustup is recommended.

After install rust, make sure that the cargo command is available.

2. Install uf2deploy

uf2deploy is a command line tool to convert ELF binary which is produced by rust compiler to UF2 file, which is common for flashing.

Also, this tools can be set as cargo runner. By setting this, you can just cargo run to compile and deploy to device.

You can install uf2deploy with the following command:

cargo install uf2deploy
Edit on GitHub

Last updated on