summaryrefslogtreecommitdiffstats
path: root/lib/lufa/Bootloaders/DFU/Descriptors.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-11-14 22:11:29 +0100
committerGitHub <noreply@github.com>2017-11-14 22:11:29 +0100
commitec3e065f0d2c65175384699cb11fa388250fa914 (patch)
treee66837d6af1a30b739303bfa06043edf12f9fcc1 /lib/lufa/Bootloaders/DFU/Descriptors.h
parent3c15c48e6a5c584d225d369ea458f9a3f9cd3d57 (diff)
downloadqmk_firmware-ec3e065f0d2c65175384699cb11fa388250fa914.tar.gz
qmk_firmware-ec3e065f0d2c65175384699cb11fa388250fa914.tar.xz
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/Bootloaders/DFU/Descriptors.h')
-rw-r--r--lib/lufa/Bootloaders/DFU/Descriptors.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/lufa/Bootloaders/DFU/Descriptors.h b/lib/lufa/Bootloaders/DFU/Descriptors.h
index 5487f88f3..7137d0f11 100644
--- a/lib/lufa/Bootloaders/DFU/Descriptors.h
+++ b/lib/lufa/Bootloaders/DFU/Descriptors.h
@@ -189,6 +189,12 @@
const uint16_t wIndex,
const void** const DescriptorAddress)
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
-
+ // convert to L string
+ #define LSTR(s) XLSTR(s)
+ #define XLSTR(s) L ## #s
+ // convert to string
+ #define STR(s) XSTR(s)
+ #define XSTR(s) #s
+
#endif