From 5190236b341f6644ed62084a7aeeab99ca1247dc Mon Sep 17 00:00:00 2001 From: MAD Date: Wed, 15 Sep 2021 13:59:36 +0300 Subject: [PATCH] Drevo Gramr handwire Apply suggestions from code review Added info about how to enter the bootloader Removed unnecessary lines Co-authored-by: Drashna Jaelre --- keyboards/handwired/drevogramr_qmk/config.h | 53 -------------------- keyboards/handwired/drevogramr_qmk/readme.md | 12 ++++- keyboards/handwired/drevogramr_qmk/rules.mk | 8 --- 3 files changed, 11 insertions(+), 62 deletions(-) diff --git a/keyboards/handwired/drevogramr_qmk/config.h b/keyboards/handwired/drevogramr_qmk/config.h index 536fedaff43..133b0b75e67 100644 --- a/keyboards/handwired/drevogramr_qmk/config.h +++ b/keyboards/handwired/drevogramr_qmk/config.h @@ -102,59 +102,6 @@ */ //#define FORCE_NKRO -/* - * Magic Key Options - * - * Magic keys are hotkey commands that allow control over firmware functions of - * the keyboard. They are best used in combination with the HID Listen program, - * found here: https://www.pjrc.com/teensy/hid_listen.html - * - * The options below allow the magic key functionality to be changed. This is - * useful if your keyboard/keypad is missing keys and you want magic key support. - * - */ - -/* key combination for magic key command */ -/* defined by default; to change, uncomment and set to the combination you want */ -// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) - -/* control how magic key switches layers */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false - -/* override magic key keymap */ -//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS -//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM -//#define MAGIC_KEY_HELP H -//#define MAGIC_KEY_HELP_ALT SLASH -//#define MAGIC_KEY_DEBUG D -//#define MAGIC_KEY_DEBUG_MATRIX X -//#define MAGIC_KEY_DEBUG_KBD K -//#define MAGIC_KEY_DEBUG_MOUSE M -//#define MAGIC_KEY_VERSION V -//#define MAGIC_KEY_STATUS S -//#define MAGIC_KEY_CONSOLE C -//#define MAGIC_KEY_LAYER0 0 -//#define MAGIC_KEY_LAYER0_ALT GRAVE -//#define MAGIC_KEY_LAYER1 1 -//#define MAGIC_KEY_LAYER2 2 -//#define MAGIC_KEY_LAYER3 3 -//#define MAGIC_KEY_LAYER4 4 -//#define MAGIC_KEY_LAYER5 5 -//#define MAGIC_KEY_LAYER6 6 -//#define MAGIC_KEY_LAYER7 7 -//#define MAGIC_KEY_LAYER8 8 -//#define MAGIC_KEY_LAYER9 9 -//#define MAGIC_KEY_BOOTLOADER B -//#define MAGIC_KEY_BOOTLOADER_ALT ESC -//#define MAGIC_KEY_LOCK CAPS -//#define MAGIC_KEY_EEPROM E -//#define MAGIC_KEY_EEPROM_CLEAR BSPACE -//#define MAGIC_KEY_NKRO N -//#define MAGIC_KEY_SLEEP_LED Z - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/handwired/drevogramr_qmk/readme.md b/keyboards/handwired/drevogramr_qmk/readme.md index b84e909cd6c..5aac54b762c 100644 --- a/keyboards/handwired/drevogramr_qmk/readme.md +++ b/keyboards/handwired/drevogramr_qmk/readme.md @@ -6,7 +6,17 @@ Drevo Gramr 84 rewired with Arduino (Pro) Micro. Firmware utilizes onboard 74HC5 * Keyboard Maintainer: [MAD](https://github.com/wwwMADwww) * Hardware Supported: ATMega32U4, Drevo Gramr 84 with PCB labeled as `TB-ZT-S84LED-01-V03 2015-06-12`. -* Hardware Availability: *AliExpress, Amazon* +* Hardware Availability: AliExpress, Amazon + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Physical reset button**: On the Arduino board either briefly press the Reset button or short Reset pin to ground. +* **Keycode in layout**: Press the key mapped to `RESET` if it is available. +* **Key combination**: Press `Left Shift` + `Right Shift` + `B`. + +## Build and flash Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/handwired/drevogramr_qmk/rules.mk b/keyboards/handwired/drevogramr_qmk/rules.mk index dfe810cd452..7c7d2c80ed9 100644 --- a/keyboards/handwired/drevogramr_qmk/rules.mk +++ b/keyboards/handwired/drevogramr_qmk/rules.mk @@ -2,14 +2,6 @@ MCU = atmega32u4 # Bootloader selection -# Teensy halfkay -# Pro Micro caterina -# Atmel DFU atmel-dfu -# LUFA DFU lufa-dfu -# QMK DFU qmk-dfu -# ATmega32A bootloadHID -# ATmega328P USBasp -#BOOTLOADER = qmk-dfu BOOTLOADER = caterina # Build Options