Jack Humbert b476d65b9c Update keyboards' rules.mk/Makefiles (#1442) 8 سال پیش
..
keymaps b476d65b9c Update keyboards' rules.mk/Makefiles (#1442) 8 سال پیش
Makefile cff26bc484 Merge branch 'master' into fix_line_endings 9 سال پیش
config.h a5b1af4999 Normalize line endings 9 سال پیش
gh60.c e87691fa5d Fix undefined reference errors with avr-gcc 7.1 8 سال پیش
gh60.h b7696fb3b0 - Updated gh60 files 9 سال پیش
pinout.txt a5b1af4999 Normalize line endings 9 سال پیش
readme.md 23c448b21d remove .hex, .PNG, .jpg 8 سال پیش
rules.mk b476d65b9c Update keyboards' rules.mk/Makefiles (#1442) 8 سال پیش

readme.md

gh60 Rev C keyboard firmware

gh60 Rev C PCB

/* Column pin configuration
* col: 0   1   2   3   4   5   6   7   8   9   10  11  12  13
* pin: F0  F1  E6  C7  C6  B6  D4  B1  B7  B5  B4  D7  D6  B3  (Rev.C)
*/

/* Row pin configuration
* row: 0   1   2   3   4
* pin: D0  D1  D2  D3  D5
*/

GPIO pads
0 F7 WASD LEDs
1 F6 ESC LED
2 F5 FN LED
3 F4 POKER Arrow LEDs

B2 Capslock LED
B0 not connected

Functions to controls LED clusters

gh60_caps_led_on()
gh60_poker_leds_on()
gh60_fn_led_on()
gh60_esc_led_on()
gh60_wasd_leds_on()

gh60_caps_led_off()
gh60_poker_leds_off()
gh60_fn_led_off()
gh60_esc_led_off()
gh60_wasd_leds_off()

======================

Quantum MK Firmware

For the full Quantum feature list, see the parent readme.md.

Building

Download or clone the whole firmware and navigate to the keyboards/gh60_rev_c folder. Once your dev env is setup, you'll be able to type make to generate your .hex - you can then use the Teensy Loader to program your .hex file.

Depending on which keymap you would like to use, you will have to compile slightly differently.

Default

To build with the default keymap, simply run make default.

Other Keymaps

Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named <name>.c in the keymaps folder, and see keymap document (you can find in top readme.md) and existent keymap files.

To build the firmware binary hex file with a keymap just do make with a keymap like this:

$ make [default|jack|<name>]

Keymaps follow the format <name>.c and are stored in the keymaps folder.