Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 708 Bytes

File metadata and controls

35 lines (23 loc) · 708 Bytes

Switchy

Switchy is an attempt at a custom programmable macro keyboard with rust firmware.

The PCB has capacity for:

  1. 24x switches,
  2. 4x rotary encoder with buttons,
  3. 2x two-axis joysticks with push button.

Development setup

See template_README.md for details.

To program the device plug in the STlink and run:

cargo rr

To set the defmt level filter in powershell, write:

$env:DEFMT_LOG = 'debug'; cargo r 

Depending on your target device, change the runner section in .cargo/config to match your device. It defaults to the MCU used in a "black pill".

To check binary size for the default binary (switchy):

cargo size --release