parent
7554b9f00a
commit
22e8947f36
@ -0,0 +1,24 @@
|
|||||||
|
# Update apt repo
|
||||||
|
apt update
|
||||||
|
# Install dependencies
|
||||||
|
apt install build-essential gcc unzip wget zip gcc-avr binutils-avr avr-libc dfu-programmer dfu-util gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi git
|
||||||
|
|
||||||
|
# Clone git repo
|
||||||
|
git clone https://github.com/qmk/qmk_firmware
|
||||||
|
cd qmk_firmware
|
||||||
|
# Grab submodules
|
||||||
|
git submodule update --init --recursive
|
||||||
|
# Grab submodules (run this to update):
|
||||||
|
make git-submodule
|
||||||
|
|
||||||
|
# Build firmware
|
||||||
|
make xd87:default_tkl_ansi
|
||||||
|
|
||||||
|
# Install firmware
|
||||||
|
# Plug in keyboard
|
||||||
|
# Erase firmware
|
||||||
|
dfu-programmer atmega32u4 erase --force
|
||||||
|
# Install new firmware
|
||||||
|
dfu-programmer atmega32u4 flash ./xd87_default_tkl_ansi.hex
|
||||||
|
# Reset keyboard
|
||||||
|
dfu-programmer atmega32u4 reset
|
Loading…
Reference in new issue