Skip to content

A keyberon-based firmware for the Cantor keyboard

License

Notifications You must be signed in to change notification settings

cirho/cantor-firmware-keyberon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keyberon-based keyboard firmware for the Cantor keyboard

This is a keyboard firmware for the Cantor keyboard based on keyberon.

Compiling

Install the rust toolchain

curl https://sh.rustup.rs -sSf | sh
rustup target add thumbv7em-none-eabihf
rustup component add llvm-tools-preview
cargo install cargo-binutils
cargo install flip-link

Compile the firmware for the left half with

cargo objcopy --release -- -O binary keyberon.bin

and for the right half with

cargo objcopy --features right_half --release -- -O binary keyberon.bin

Flashing using DFU

Put the developement board in DFU mode by pushing reset while pushing boot, and then release boot. Then flash it:

dfu-util -a 0 --dfuse-address 0x08000000 -D keyberon.bin

Development

Ensure that the debugging probe (e.g. STLink V2) has user access rights (see https://embedded-trainings.ferrous-systems.com/installation.html#linux-only-usb)

cargo install probe-run
cargo install probe-rs-cli

Running the program with log output:

DEFMT_LOG=info cargo run

License

Licensed under either of

at your option.

About

A keyberon-based firmware for the Cantor keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%