keychron_qmk_firmware/keyboards/durgod/dgk6x
Ryan ebb512db82
Debounce defines cleanup (#19742)
* Clean up `DEBOUNCE` in config.h, 0-9

* Clean up `DEBOUNCE` in config.h, A

* Clean up `DEBOUNCE` in config.h, B

* Clean up `DEBOUNCE` in config.h, C

* Clean up `DEBOUNCE` in config.h, D

* Clean up `DEBOUNCE` in config.h, E

* Clean up `DEBOUNCE` in config.h, F

* Clean up `DEBOUNCE` in config.h, G

* Clean up `DEBOUNCE` in config.h, H

* Clean up `DEBOUNCE` in config.h, handwired

* Clean up `DEBOUNCE` in config.h, I

* Clean up `DEBOUNCE` in config.h, J

* Clean up `DEBOUNCE` in config.h, K

* Clean up `DEBOUNCE` in config.h, L

* Clean up `DEBOUNCE` in config.h, M

* Clean up `DEBOUNCE` in config.h, N

* Clean up `DEBOUNCE` in config.h, O

* Clean up `DEBOUNCE` in config.h, P

* Clean up `DEBOUNCE` in config.h, Q

* Clean up `DEBOUNCE` in config.h, R

* Clean up `DEBOUNCE` in config.h, S

* Clean up `DEBOUNCE` in config.h, T

* Clean up `DEBOUNCE` in config.h, U

* Clean up `DEBOUNCE` in config.h, V

* Clean up `DEBOUNCE` in config.h, W

* Clean up `DEBOUNCE` in config.h, X

* Clean up `DEBOUNCE` in config.h, Y

* Clean up `DEBOUNCE` in config.h, Z

* Remove default debounce from info.json

* Migrate non-default debounce to info.json
2023-02-03 19:19:58 +00:00
..
galaxy Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
hades Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
venus Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
config.h Debounce defines cleanup (#19742) 2023-02-03 19:19:58 +00:00
dgk6x.c
dgk6x.h
halconf.h
mcuconf.h
readme.md
rules.mk

DGK6X = Venus, Hades, Galaxy, etc.

This DGK6X code is shared between the ANSI variants of Venus, Hades and Galaxy keyboards.

  • Keyboard Maintainer: J-Sully and dkjer
  • Hardware Supported: Durgod Venus, Hades or Galaxy board with STM32F070RBT6
  • Hardware Availability: Venus, Hades and Galaxy

Instructions

Build

Instructions for building the Venus, Hades and Galaxy firmware can be found here:

Initial Flash

For first Flashing from initial Stock's Firmware

  1. Back up original Firmware Image:
  • Unplug
  • Short Boot0 to Vdd (See below)
  • Plug In USB
  • Make a Flash Image's Backup in case you wanted to restore the Keyboard to Stock's Image:
    • Using dfu-util:

      dfu-util --list
      dfu-util --alt 0 --dfuse-address 0x08000000 --upload ${OLD_STOCK_BIN}
      
  1. Flash the QMK Firmware Image.
  • Put board into Bootloader mode, using the same method as when backing up the original Firmware (above)
  • Here are a few options for performing the initial Flash:
    • Using QMK Toolbox

    • Using dfu-util:

      dfu-util --alt 0 --dfuse-address 0x08000000 --download ${NEW_QMK_BIN}
      

You can short Boot0 to Vdd by shorting R19 to C30 on the sides closest to the processor, as shown:

  • Hades & Venus: Shorting Boot0 to Vdd on Hades or Venus

  • Galaxy 75 Shorting Boot0 to Vdd on Galaxy 75

Subsequent Flashing

For repeating Flashing you can use BootMagic:

  • BootMagic Lite has been enabled with Assigned "Esc" key
  • Unplug USB Cable
  • Holding Esc Button
  • Plug in USB Cable, Keyboard should be in ST-Bootloader state