Skip to content

tc21/a-button-rp2040

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardware

This creates a keyboard, from a rp2040, where one single pin is shorted to ground upon keypress.

Setup

You will need the cross compilation toolchain:

rustup target install thumbv6m-none-eabi

stack overflow protection:

cargo install flip-link

and (a) either Picotool (default) for generating uf2 files, or flashing over USB (without debugging), or (b) probe-rs for flashing and debugging via debug probe.

Config

Update the config in source code: src/main.rs: Lines 30 to 34. You can set which pin to use, and which keycode to emit.

Build

By default this package is configured to build a uf2 file. Change the build command in .cargo/config.toml

cargo run [--release] <output-file.uf2>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors