17 lines
494 B
Makefile
17 lines
494 B
Makefile
|
all: clean build flash
|
||
|
|
||
|
clean:
|
||
|
rm qmk_firmware/ktec_ergodone_dejvino.hex
|
||
|
|
||
|
build: qmk_firmware/ktec_ergodone_dejvino.hex
|
||
|
|
||
|
flash: build | hid_bootloader_cli
|
||
|
sudo ./hid_bootloader_cli -mmcu=atmega32u4 qmk_firmware/ktec_ergodone_dejvino.hex
|
||
|
|
||
|
qmk_firmware/ktec_ergodone_dejvino.hex:
|
||
|
cd qmk_firmware && make ktec/ergodone:dejvino
|
||
|
|
||
|
hid_bootloader_cli:
|
||
|
wget https://raw.githubusercontent.com/kairyu/tkg-toolkit/master/linux/bin/hid_bootloader_cli -O hid_bootloader_cli
|
||
|
chmod +x hid_bootloader_cli
|