diff options
| author | fredizzimo <fsundvik@gmail.com> | 2018-02-08 22:07:46 +0200 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-02-08 15:07:46 -0500 |
| commit | 53ff8a31b61952d9675558149d927f7942071df9 (patch) | |
| tree | a57b9e6f7d6494c9ef903f886a660dd43f4e5044 /keyboards/jm60 | |
| parent | 63c16f4b632a2a82a775f51a3ad0cc690cca1fc9 (diff) | |
| download | qmk_firmware-53ff8a31b61952d9675558149d927f7942071df9.tar.gz qmk_firmware-53ff8a31b61952d9675558149d927f7942071df9.zip | |
Merge ChibiOS and LUFA descriptor support (#2362)
* Move lufa descriptor to protocol/usb_descriptor
* Try to compile usb_descriptor on ChibiOS
* Add lufa_utils for ChibiOS
Lufa USB descriptors for ChibiOS
* More lufa_util compatibility fixes
* First compiling version of shared USB descriptor
* Send the usb descriptors
* Fix the CONSOLE output on ChibiOS
* Add errors for unsupported interfaces
* Enable support for vitual serial port USB descriptors
* Implement virtual serial port for ChibiOS
* Cleanup the lufa_utils
Use the default lufa header files
* Add raw hid support for ChibiOS
This is completely untested
* Enable midi compilation on ChibiOS
* Move midi functionality out of lufa.c
* Don't register sysex callback when not needed
* ChibiOS compilation fixes
* Update ChibiOS submodule
* Fix the Midi USB descriptor
It didn't work properly when both Midi and Virtual serial port was enabled.
* Add MIDI support for ChibiOS
* Fix USB descriptor strings on ChibiOS
* Use serial usb driver for raw hid
* Generalize the ChibiOS stream like drivers
This makes the initialization much more simple and eliminates a lot of
the code duplication.
* Convert console output to chibios stream driver
* Fixes for ChibiOS update
* Update the ChibiOS contrib submodule
To include the usb data toggle synchronization fixes
* Fix duplicate reset enumeration on ChibiOS
* Add missing include
* Add number of endpoints check for ChibiOS
* Enable serial USB driver on all keyboards
* Add missing includes when API is enabled withot midi
* Add another missing inlcude
Diffstat (limited to 'keyboards/jm60')
| -rw-r--r-- | keyboards/jm60/config.h | 8 | ||||
| -rw-r--r-- | keyboards/jm60/halconf.h | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/jm60/config.h b/keyboards/jm60/config.h index 259641331..847cf2078 100644 --- a/keyboards/jm60/config.h +++ b/keyboards/jm60/config.h | |||
| @@ -26,11 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define DEVICE_VER 0x0001 | 26 | #define DEVICE_VER 0x0001 |
| 27 | /* in python2: list(u"whatever".encode('utf-16-le')) */ | 27 | /* in python2: list(u"whatever".encode('utf-16-le')) */ |
| 28 | /* at most 32 characters or the ugly hack in usb_main.c borks */ | 28 | /* at most 32 characters or the ugly hack in usb_main.c borks */ |
| 29 | #define MANUFACTURER "JMWS" | 29 | #define MANUFACTURER JMWS |
| 30 | #define USBSTR_MANUFACTURER 'J', '\x00', 'M', '\x00', 'W', '\x00', 'S', '\x00' | 30 | #define PRODUCT JM60 RGB Keyboard(QMK) |
| 31 | #define PRODUCT "JM60 RGB Keyboard(QMK)" | 31 | #define DESCRIPTION QMK keyboard firmware for JM60 RGB Keyboard |
| 32 | #define USBSTR_PRODUCT 'J', '\x00', 'M', '\x00', '6', '\x00', '0', '\x00', ' ', '\x00', 'R', '\x00', 'G', '\x00', 'B', '\x00', ' ', '\x00', 'K', '\x00', 'e', '\x00', 'y', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00', '(', '\x00', 'Q', '\x00', 'M', '\x00', 'K', '\x00', ')', '\x00' | ||
| 33 | #define DESCRIPTION "QMK keyboard firmware for JM60 RGB Keyboard" | ||
| 34 | 32 | ||
| 35 | /* key matrix size */ | 33 | /* key matrix size */ |
| 36 | #define MATRIX_ROWS 5 | 34 | #define MATRIX_ROWS 5 |
diff --git a/keyboards/jm60/halconf.h b/keyboards/jm60/halconf.h index 1a450d632..46b37a4f4 100644 --- a/keyboards/jm60/halconf.h +++ b/keyboards/jm60/halconf.h | |||
| @@ -139,7 +139,7 @@ | |||
| 139 | * @brief Enables the SERIAL over USB subsystem. | 139 | * @brief Enables the SERIAL over USB subsystem. |
| 140 | */ | 140 | */ |
| 141 | #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__) | 141 | #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__) |
| 142 | #define HAL_USE_SERIAL_USB FALSE | 142 | #define HAL_USE_SERIAL_USB TRUE |
| 143 | #endif | 143 | #endif |
| 144 | 144 | ||
| 145 | /** | 145 | /** |
