-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from Legion2/dev
Version 0.15.0
- Loading branch information
Showing
63 changed files
with
1,204 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
on: [push, pull_request] | ||
on: [push, pull_request, workflow_dispatch] | ||
name: Test | ||
jobs: | ||
test: | ||
name: Test for ${{ matrix.board }} | ||
name: Test for Board ${{ matrix.board }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
|
@@ -15,12 +15,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build for ${{ matrix.board }} | ||
uses: ArminJo/arduino-test-compile@v2.6.0 | ||
uses: ArminJo/arduino-test-compile@v3 | ||
with: | ||
cli-version: 0.18.3 | ||
arduino-board-fqbn: ${{ matrix.board }} | ||
platform-url: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json,https://raw.githubusercontent.com/Legion2/CorsairLightingProtocolBoards/master/package_Legion2_CorsairLightingProtocolBoards_index.json | ||
arduino-platform: arduino:[email protected].2,SparkFun:[email protected].5,Legion2:avr@0.1.3 | ||
required-libraries: FastLED@3.3.3 | ||
arduino-platform: arduino:[email protected].3,SparkFun:[email protected].13,Legion2:avr@0.3.1 | ||
required-libraries: FastLED@3.5.0 | ||
sketch-names: LightingNodePRO.ino, | ||
SingleStripLightingNodePRO.ino, | ||
CommanderPRO.ino, | ||
|
@@ -34,36 +35,97 @@ jobs: | |
AdditionalFeatures.ino, | ||
AmbientBacklight.ino, | ||
MultipleFans.ino, | ||
DebugSketch.ino | ||
examples-build-properties: '{"DebugSketch": "-DDEBUG -DVERBOSE -DPRINT_COMMAND=true -DPRINT_RESPONSE=true -DPRINT_LOOP=true -DPRINT_UPDATE=true"}' | ||
DebugSketch.ino, | ||
NoEEPROM.ino | ||
build-properties: '{"DebugSketch": "-DDEBUG -DVERBOSE -DPRINT_COMMAND=true -DPRINT_RESPONSE=true -DPRINT_LOOP=true -DPRINT_UPDATE=true"}' | ||
testUnoMega: | ||
name: Test UnoMega sketches for ${{ matrix.board }} | ||
name: Test Arduino Uno/Mega sketches for Board ${{ matrix.board }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
board: ["arduino:avr:uno", "arduino:avr:mega:cpu=atmega2560"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build for ${{ matrix.board }} | ||
uses: ArminJo/arduino-test-compile@v2.6.0 | ||
uses: ArminJo/arduino-test-compile@v3 | ||
with: | ||
cli-version: 0.18.3 | ||
arduino-board-fqbn: ${{ matrix.board }} | ||
arduino-platform: arduino:[email protected].2 | ||
required-libraries: FastLED@3.3.3 | ||
arduino-platform: arduino:[email protected].3 | ||
required-libraries: FastLED@3.5.0 | ||
sketch-names: HoodLoader2UnoMegaController.ino | ||
test16u2: | ||
name: Test 16u2 sketch for ${{ matrix.board }} | ||
name: Test 16u2 sketch for Board ${{ matrix.board }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
board: ["Legion2:avr:HoodLoader2atmega16u2clp"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build for ${{ matrix.board }} | ||
uses: ArminJo/arduino-test-compile@v2.6.0 | ||
uses: ArminJo/arduino-test-compile@v3 | ||
with: | ||
cli-version: 0.18.3 | ||
arduino-board-fqbn: ${{ matrix.board }} | ||
platform-url: https://raw.githubusercontent.com/NicoHood/HoodLoader2/master/package_NicoHood_HoodLoader2_index.json,https://raw.githubusercontent.com/Legion2/CorsairLightingProtocolBoards/master/package_Legion2_CorsairLightingProtocolBoards_index.json | ||
arduino-platform: arduino:[email protected].2,HoodLoader2:[email protected],Legion2:avr@0.1.3 | ||
required-libraries: FastLED@3.3.3 | ||
arduino-platform: arduino:[email protected].3,HoodLoader2:[email protected],Legion2:avr@0.3.1 | ||
required-libraries: FastLED@3.5.0 | ||
sketch-names: HoodLoader2CLPBridge.ino | ||
testAdafruitSAMD: | ||
name: Test for Board ${{ matrix.board }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
board: | ||
[ | ||
"adafruit:samd:adafruit_feather_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_metro_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_circuitplayground_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_gemma_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_trinket_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_qtpy_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_itsybitsy_m0:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_itsybitsy_m4:usbstack=tinyusb", | ||
"adafruit:samd:adafruit_metro_m4_airliftlite:usbstack=tinyusb", | ||
# "adafruit:samd:adafruit_feather_m4:usbstack=tinyusb", #Should work but doesn't have the pins needed for the sketch | ||
"adafruit:samd:adafruit_matrixportal_m4:usbstack=tinyusb" | ||
] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Build for ${{ matrix.board }} | ||
uses: ArminJo/arduino-test-compile@v3 | ||
with: | ||
cli-version: 0.18.3 | ||
arduino-board-fqbn: ${{ matrix.board }} | ||
platform-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | ||
arduino-platform: adafruit:[email protected] | ||
required-libraries: [email protected],Adafruit TinyUSB [email protected] | ||
sketch-names: TinyUSB.ino | ||
testAdafruitnRF52: | ||
name: Test for Board ${{ matrix.board }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
board: | ||
[ | ||
"adafruit:nrf52:feather52840", | ||
"adafruit:nrf52:itsybitsy52840", | ||
# "adafruit:nrf52:cplaynrf52840", #Should work but doesn't have the pins needed for the sketch | ||
"adafruit:nrf52:metro52840" | ||
] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Get adafruit-nrfutil | ||
run: | | ||
pip3 install adafruit-nrfutil --user | ||
- name: Build for ${{ matrix.board }} | ||
uses: ArminJo/arduino-test-compile@v3 | ||
with: | ||
cli-version: 0.18.3 | ||
arduino-board-fqbn: ${{ matrix.board }} | ||
platform-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | ||
arduino-platform: adafruit:[email protected] | ||
required-libraries: [email protected],Adafruit TinyUSB [email protected] | ||
sketch-names: TinyUSB.ino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
days-before-stale: 14 | ||
days-before-close: 7 | ||
exempt-issue-labels: bug,enhancement,refactoring,documentation | ||
stale-issue-message: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,5 +274,4 @@ __vm/ | |
.vscode/ | ||
|
||
# Arduino CLI | ||
*.elf | ||
*.hex | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.