Arduino board definitions for use with the Corsair Lighting Protocol library. These board definitions have modified USB settings so they can be used to simulate Corsair devices. It is not required for boards using TinyUSB other than the ESP32 series (not yet implemented).
All boards can simply be installed in Arduino IDE via the Boards Manager. When using 3rd party boards such as SparkFun you must install them additionally. See Supported Hardware Boards down below for more details.
package index URL:
https://raw.githubusercontent.com/Legion2/CorsairLightingProtocolBoards/master/package_Legion2_CorsairLightingProtocolBoards_index.json
-
Open the Preferences of the Arduino IDE.
-
Add the package index URL above in the Additional Boards Manager URLs field, and click OK.
-
Open the Boards Manager by opening the menu Tools->Board->Board Manager...
-
Search and install Corsair Lighting Protocol Boards
-
For some of the boards you must install additional definitions: SparkFun Boards, Hoodloader2 Boards. Make sure you add the additional board urls each on a new line and don't remove the already existing ones.
The CLP Boards can now be used in Arduino IDE. The following is only an example on how to use the boards, it's not required for the installation.
-
Select one of the boards under Corsair Lighting Protocol Boards in Tools->Board menu
-
Select one of the devices from corsair under Tools->Device
-
Select COM port under Tools->Port
-
Compile/Upload as usual
Hardware Board(s) | Instructions |
---|---|
Arduino Leonardo | installed by default |
SparkFun Pro Micro | install SparkFun Boards |
Adafruit 32u4 AVR Boards | install Adafruit AVR Boards |
- On GitHub manually trigger the Release Workflow for the platform and the new version.
- Wait for the Release GitHub Action to complete.
- Add the new version to the package index file by running
./scripts/update-index.mjs 'metadatajson'
and provide the metadata json from the output of the Release GitHub Action. Commit and push these changes.
This project is licensed under the Apache License Version 2.0.