summaryrefslogtreecommitdiff
path: root/lib/lufa/LUFA/Drivers
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-11-14 16:11:29 -0500
committerGitHub <noreply@github.com>2017-11-14 16:11:29 -0500
commitec3e065f0d2c65175384699cb11fa388250fa914 (patch)
treee66837d6af1a30b739303bfa06043edf12f9fcc1 /lib/lufa/LUFA/Drivers
parent3c15c48e6a5c584d225d369ea458f9a3f9cd3d57 (diff)
QMK DFU bootloader generation (#2009)
* adds :bootloader target * update planck and preonic revisions * remove references to .h files for planck * update preonic keymap * only add keyboard.h files that exist * add production target * hook things up with the new lufa variables * update rules for planck/preonic * back backlight key turn of status led when pressed * add manufacturer/product strings to bootloader
Diffstat (limited to 'lib/lufa/LUFA/Drivers')
-rw-r--r--lib/lufa/LUFA/Drivers/Board/AVR8/QMK/LEDs.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/lufa/LUFA/Drivers/Board/AVR8/QMK/LEDs.h b/lib/lufa/LUFA/Drivers/Board/AVR8/QMK/LEDs.h
index 9fc696be97..be66b9ed20 100644
--- a/lib/lufa/LUFA/Drivers/Board/AVR8/QMK/LEDs.h
+++ b/lib/lufa/LUFA/Drivers/Board/AVR8/QMK/LEDs.h
@@ -103,10 +103,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define A6 0x06
#define A7 0x07
- #define QMK_ESC_COL F1
- #define QMK_ESC_ROW D5
- #define QMK_LED E6
- #define QMK_SPEAKER C6
+ #include "Keyboard.h"
+
+ #ifndef QMK_ESC_INPUT
+ #define QMK_ESC_INPUT F1
+ #endif
+ #ifndef QMK_ESC_OUTPUT
+ #define QMK_ESC_OUTPUT D5
+ #endif
+ #ifndef QMK_LED
+ #define QMK_LED E6
+ #endif
+ #ifndef QMK_SPEAKER
+ #define QMK_SPEAKER C6
+ #endif
#define DDR(pin) _SFR_IO8(((pin) >> 4) + 1)
#define PORT(pin) _SFR_IO8(((pin) >> 4) + 2)