sudo apt install gcc-avr avr-libc gcc-arm-none-eabi avrdude dfu-util dfu-programmer
python3 -m pip install qmk
- disable modemmanager
sudo systemctl stop ModemManager.service
sudo systemctl disable ModemManager.service
qmk setup
- expect setup to install into ~/qmk_firmware
- use deploy.sh to perform build
qmk flash -kb jj40 -km rich
Flashing example for this keyboard (after setting up the bootloadHID flashing environment)
wget https://www.obdev.at/downloads/vusb/bootloadHID.2012-12-08.tar.gz
tar xf bootloadHID.2012-12-08.tar.gz
cd bootloadHID.2012-12-08/commandline/
make
cp bootloadHID ~/.local/bin/
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", MODE="0666", GROUP="plugdev"
- note: to flash unplug keyboard, hold backspace, then plugin keyboard
qmk flash -kb teensy -km rich
git clone git@github.com:PaulStoffregen/teensy_loader_cli.git
cd teensy_loader_cli/
make
cp teensy_loader_cli ~/.local/bin/