Merge pull request #1555 from adafruit/fix-ci

Fix ci
This commit is contained in:
Ha Thach 2021-05-25 13:53:54 +07:00 committed by GitHub
commit dfc5f73d57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 2 deletions

View file

@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arduino-platform: ["uno", "nrf52832", "cpx_ada", "pyportal", "protrinket_3v", "protrinket_5v", "metro_m0", "esp8266", "esp32", "trinket_3v", "trinket_5v", "gemma", "flora", "feather32u4", "feather_m0_express", "gemma_m0", "trinket_m0", "hallowing_m0", "monster_m4sk", "hallowing_m4", "neotrellis_m4", "pybadge", "cpb", "cpc", "funhouse", "magtag"]
arduino-platform: ["uno", "nrf52832", "cpx_ada", "pyportal", "protrinket_3v", "protrinket_5v", "metro_m0", "esp8266", "esp32", "trinket_3v", "trinket_5v", "gemma", "flora", "feather32u4", "feather_m0_express", "gemma_m0", "trinket_m0", "hallowing_m0", "monster_m4sk", "hallowing_m4", "hallowing_m4_tinyusb", "neotrellis_m4", "pybadge", "cpb", "cpc", "funhouse", "magtag"]
runs-on: ubuntu-18.04

View file

@ -39,7 +39,7 @@
#include "graphics.h" // Face bitmaps are here
#include "sound.h" // "Pew" sound is here
#include "keys.h" // Key name-to-value table is here
//#include "Adafruit_TinyUSB.h"
#include "Adafruit_TinyUSB.h"
#define JOY_CONFIG_FILE "/joy.cfg"

View file

@ -34,6 +34,7 @@
#error "Please select Tools->USB Stack->TinyUSB before compiling"
#endif
#include <Adafruit_TinyUSB.h>
#define GLOBAL_VAR
#include "globals.h"

View file

@ -6,6 +6,10 @@
#include <MIDI.h>
#ifdef USE_TINYUSB
#include <Adafruit_TinyUSB.h>
#endif
MIDI_CREATE_DEFAULT_INSTANCE();
int notes[] = {69, 72, 74, 76, 72, 81, 79}; // melody notes