homebrew
installcrosspack
anddfu-programmer
First clone git clone https://github.com/kairyu/tmk_keyboard_custom.git
, next
cd tmk_keyboard_custom
git clone https://github.com/kairyu/tmk_core_custom.git
rm -rf tmk_core
ln -s tmk_core_custom tmk_core
cd ~/tmk_keyboard_custom/keyboard/gh60
- Configure the GH60 type: In
config.h
, after#define CONFIG_H
, add
#define GH60_REV_CHN 1
- In the makefile, comment out this line
KEYMAP_IN_EEPROM_ENABLE = yes
Reference: keymap_bigeagle.c
Check your device status: system_profiler SPUSBDataType
.
Keyboard mode
GH60:
Product ID: 0x6060
Vendor ID: 0xfeed
Version: 0.01
Speed: Up to 12 Mb/sec
Manufacturer: geekhack
Location ID: 0x14100000 / 14
Current Available (mA): 500
Current Required (mA): 100
Reset your keyboard and you could enter writable mode: Writable mode
ATm32U4DFU:
Product ID: 0x2ff4
Vendor ID: 0x03eb (Atmel Corporation)
Version: 0.00
Serial Number: 1.0.0
Speed: Up to 12 Mb/sec
Manufacturer: ATMEL
Location ID: 0x14100000 / 15
Current Available (mA): 500
Current Required (mA): Unknown (Device has not been configured)
Then, make KEYMAP=jenny dfu
. Done!