Skip to content

Instantly share code, notes, and snippets.

@andys8
Created April 24, 2018 22:04
Show Gist options
  • Save andys8/0270b4c7e4bdc6dc0652755aaba6900c to your computer and use it in GitHub Desktop.
Save andys8/0270b4c7e4bdc6dc0652755aaba6900c to your computer and use it in GitHub Desktop.
How to build and flash QMK with DZ60 and Docker
# press space + b and connect the usb port
# build
docker run -e keymap=iso_vim_arrow -e keyboard=dz60 --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware
# flash
sudo dfu-programmer atmega32u4 erase --force
sudo dfu-programmer atmega32u4 flash dz60_iso_vim_arrow.hex
sudo dfu-programmer atmega32u4 reset
@andys8
Copy link
Author

andys8 commented Jul 2, 2019

@trisimix I'm happy you did find it. I tried to post help in some places where I missed it. https://github.com/qmk/qmk_firmware/blob/master/keyboards/hs60/v2/readme.md

Maybe you can add it somewhere where you would have found it earlier :)

@andys8
Copy link
Author

andys8 commented Dec 27, 2020

YMDK09

Firmware (online)

https://config.qmk.fm/#/ymdk/ymd09/LAYOUT

Firmware (own, recommended)

https://docs.qmk.fm/#/getting_started_docker

  • Clone qmk repository
  • make git-submodule
sudo ./util/docker_build.sh ymdk/ymd09:andys8
sudo ./util/docker_build.sh ymdk/ymd09:andys8:flash # incl. flashing (reset with tweezers)

Flash only

  • Open back
  • Connect USB
  • Connect reset pins with tweezers
sudo dfu-programmer atmega32u4 erase --force
sudo dfu-programmer atmega32u4 flash firmware_ymkd09_default.hex
sudo dfu-programmer atmega32u4 reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment