diff --git a/.github/workflows/arduino_cron.yml b/.github/workflows/arduino_cron.yml index d8b0cbcb0..5a7f10329 100644 --- a/.github/workflows/arduino_cron.yml +++ b/.github/workflows/arduino_cron.yml @@ -39,7 +39,8 @@ jobs: [[ $changedfile == *.cpp ]] || [[ $changedfile == *.h ]] || [[ $changedfile == *.hpp ]] || - [[ $changedfile == *.ino ]]; then + [[ $changedfile == *.ino ]] || + [[ $changedfile == *.yml ]]; then ischanged=true break fi @@ -60,7 +61,7 @@ jobs: strategy: fail-fast: false matrix: - arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "pycamera_s3", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qualia_s3_rgb666", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ] + arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "ledglasses_nrf52840", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "pixeltrinkey_m0", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pycamera_s3", "pygamer", "pyportal", "qualia_s3_rgb666", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "sht4xtrinkey_m0", "slidetrinkey_m0", "trinket_5v", "trinket_m0", "uno"] runs-on: ubuntu-latest if: needs.check-if-needed.outputs.answer == 'true' needs: check-if-needed @@ -68,6 +69,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.x" + + # Checkout the learn repo itself + - uses: actions/checkout@v4 + + # Checkout the CI scripts - uses: actions/checkout@v4 with: repository: adafruit/ci-arduino diff --git a/adalogger/.uno.test.only b/ADG72x_Examples/Arduino_ADG728_Plotter/.uno.test.only similarity index 100% rename from adalogger/.uno.test.only rename to ADG72x_Examples/Arduino_ADG728_Plotter/.uno.test.only diff --git a/AtariFruit_Joystick/.nrf52832.test.only b/ADG72x_Examples/Arduino_ADG729_Plotter/.uno.test.only similarity index 100% rename from AtariFruit_Joystick/.nrf52832.test.only rename to ADG72x_Examples/Arduino_ADG729_Plotter/.uno.test.only diff --git a/ESP32_S2_WiFi_Tests/JSONdemo/.esp32.test.only b/AtariFruit_Joystick/.none.test.only similarity index 100% rename from ESP32_S2_WiFi_Tests/JSONdemo/.esp32.test.only rename to AtariFruit_Joystick/.none.test.only diff --git a/EyeLights_Accelerometer_Tap/EyeLights_Accelerometer_Tap/.ledglasses_nrf52840.generate b/BNO055_BMP280_BFF_Examples/BNO055_BMP280_BFF_Arduino_Demo/.qtpy_m0.test.only similarity index 100% rename from EyeLights_Accelerometer_Tap/EyeLights_Accelerometer_Tap/.ledglasses_nrf52840.generate rename to BNO055_BMP280_BFF_Examples/BNO055_BMP280_BFF_Arduino_Demo/.qtpy_m0.test.only diff --git a/EyeLights_Audio_Spectrum/EyeLights_Audio_Spectrum/.ledglasses_nrf52840.generate b/ESP32_S2_WiFi_Tests/JSONdemo/.none.test.only similarity index 100% rename from EyeLights_Audio_Spectrum/EyeLights_Audio_Spectrum/.ledglasses_nrf52840.generate rename to ESP32_S2_WiFi_Tests/JSONdemo/.none.test.only diff --git a/ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino b/ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino index 0e1b28b70..b6efae356 100644 --- a/ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino +++ b/ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino @@ -16,6 +16,7 @@ last revision November 2015 */ +#include #include #include #include @@ -44,16 +45,9 @@ char ssid[] = "YOUR_SSID"; // your network SSID (name) char pass[] = "YOUR_SSID_PASSWORD"; // your network password (use for WPA, or use as key for WEP) int keyIndex = 0; // your network key Index number (needed only for WEP) - -int status = WL_IDLE_STATUS; -// if you don't want to use DNS (and reduce your sketch size) -// use the numeric IP instead of the name for the server: -//IPAddress server(74,125,232,128); // numeric IP for Google (no DNS) - #define SERVER "cdn.syndication.twimg.com" #define PATH "/widgets/followbutton/info.json?screen_names=adafruit" - void setup() { //Initialize serial and wait for port to open: Serial.begin(115200); @@ -90,7 +84,6 @@ void setup() { display.display(); #endif - while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); diff --git a/ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino b/ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino index 1fdc29cf2..de37b3b59 100644 --- a/ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino +++ b/ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino @@ -16,6 +16,7 @@ last revision November 2015 */ #include +#include // Enter your WiFi SSID and password char ssid[] = "YOUR_SSID"; // your network SSID (name) diff --git a/EyeLights_Bluetooth_Scroller/.ledglasses_nrf52840.generate b/EYESPI/Arduino/Color/EYESPI_Test/.nrf52832.test.skip similarity index 100% rename from EyeLights_Bluetooth_Scroller/.ledglasses_nrf52840.generate rename to EYESPI/Arduino/Color/EYESPI_Test/.nrf52832.test.skip diff --git a/EyeLights_Googly_Rings/EyeLights_Googly_Rings/.ledglasses_nrf52840.generate b/Factory_Tests/Pixel_Trinkey_FactoryTest/.pixeltrinkey_m0.test.only similarity index 100% rename from EyeLights_Googly_Rings/EyeLights_Googly_Rings/.ledglasses_nrf52840.generate rename to Factory_Tests/Pixel_Trinkey_FactoryTest/.pixeltrinkey_m0.test.only diff --git a/Factory_Tests/Adafruit_MEMENTO_Factory_Test/.pycamera_s3.generate b/Factory_Tests/SHT4x_Trinkey_FactoryTest/.sht4xtrinkey_m0.test.only similarity index 100% rename from Factory_Tests/Adafruit_MEMENTO_Factory_Test/.pycamera_s3.generate rename to Factory_Tests/SHT4x_Trinkey_FactoryTest/.sht4xtrinkey_m0.test.only diff --git a/MEMENTO/Arduino_Basic_Camera/.pycamera_s3.generate b/Factory_Tests/TRRS_Trinkey_FactoryTest/.none.test.only similarity index 100% rename from MEMENTO/Arduino_Basic_Camera/.pycamera_s3.generate rename to Factory_Tests/TRRS_Trinkey_FactoryTest/.none.test.only diff --git a/Feather_ePaper_Quotes/adafruit_feather_quote/adafruit_feather_quote.ino b/Feather_ePaper_Quotes/adafruit_feather_quote/adafruit_feather_quote.ino index 46b72a7b6..f3f23839d 100644 --- a/Feather_ePaper_Quotes/adafruit_feather_quote/adafruit_feather_quote.ino +++ b/Feather_ePaper_Quotes/adafruit_feather_quote/adafruit_feather_quote.ino @@ -21,6 +21,7 @@ #include // Core graphics library #include +#include #include //https://github.com/bblanchon/ArduinoJson #include #include "secrets.h" @@ -212,7 +213,7 @@ String getURLResponse(String url) void getQuote(String "e, String &author) { - StaticJsonDocument<1024> doc; + DynamicJsonDocument doc(1024); String url = "https://www.adafruit.com/api/quotes.php"; String jsonquote = getURLResponse(url); if(jsonquote.length() > 0) diff --git a/MEMENTO/Memento_Cat_Printer/.pycamera_s3.generate b/I2C_Multiple_Same_Address/arduino/multi_bme280_2x/.nrf52832.test.skip similarity index 100% rename from MEMENTO/Memento_Cat_Printer/.pycamera_s3.generate rename to I2C_Multiple_Same_Address/arduino/multi_bme280_2x/.nrf52832.test.skip diff --git a/I2C_Multiple_Same_Address/arduino/multi_bme280_3x/.nrf52832.test.skip b/I2C_Multiple_Same_Address/arduino/multi_bme280_3x/.nrf52832.test.skip new file mode 100644 index 000000000..e69de29bb diff --git a/I2C_Multiple_Same_Address/arduino/multi_bme280_4x/.nrf52832.test.skip b/I2C_Multiple_Same_Address/arduino/multi_bme280_4x/.nrf52832.test.skip new file mode 100644 index 000000000..e69de29bb diff --git a/I2C_Multiple_Same_Address/arduino/multi_bme280_ltc4316/.uno.test.only b/I2C_Multiple_Same_Address/arduino/multi_bme280_ltc4316/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/I2C_Multiple_Same_Address/arduino/multi_tca_2x/.nrf52832.test.skip b/I2C_Multiple_Same_Address/arduino/multi_tca_2x/.nrf52832.test.skip new file mode 100644 index 000000000..e69de29bb diff --git a/I2C_Scanners/arduino/i2c_scanner/.nrf52832.test.skip b/I2C_Scanners/arduino/i2c_scanner/.nrf52832.test.skip new file mode 100644 index 000000000..e69de29bb diff --git a/LTC4316_Examples/LTC4316_Arduino_Example/.uno.test.only b/LTC4316_Examples/LTC4316_Arduino_Example/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/MagTag/MagTag_Arduino_Demos/quotes/quotes.ino b/MagTag/MagTag_Arduino_Demos/quotes/quotes.ino index 22ed8eb8b..b433e8436 100644 --- a/MagTag/MagTag_Arduino_Demos/quotes/quotes.ino +++ b/MagTag/MagTag_Arduino_Demos/quotes/quotes.ino @@ -9,6 +9,7 @@ */ #include +#include #include #include "Adafruit_ThinkInk.h" #include "Adafruit_NeoPixel.h" diff --git a/Neo_Trinkey_Examples/Arduino_Digital_Input/.pixeltrinkey_m0.test.only b/Neo_Trinkey_Examples/Arduino_Digital_Input/.pixeltrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Neo_Trinkey_Examples/Arduino_DotStar/.pixeltrinkey_m0.test.only b/Neo_Trinkey_Examples/Arduino_DotStar/.pixeltrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Neo_Trinkey_Examples/Arduino_NeoPixel/.pixeltrinkey_m0.test.only b/Neo_Trinkey_Examples/Arduino_NeoPixel/.pixeltrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Neo_Trinkey_Examples/LampArray_Pixel_Trinkey/.none.test.only b/Neo_Trinkey_Examples/LampArray_Pixel_Trinkey/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Neo_Trinkey_Examples/Python_AdafruitIO_Color_Picker/Arduino_Serial_Color_Picker/.pixeltrinkey_m0.test.only b/Neo_Trinkey_Examples/Python_AdafruitIO_Color_Picker/Arduino_Serial_Color_Picker/.pixeltrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/PicoW_YBox3/.feather_rp2040.test.only b/PicoW_YBox3/.feather_rp2040.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Programmable_12v_Outdoor_Cafe_Lights/.qtpy_m0.test.only b/Programmable_12v_Outdoor_Cafe_Lights/.qtpy_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Programmable_12v_Outdoor_Cafe_Lights/designer_palettes_sunset.ino b/Programmable_12v_Outdoor_Cafe_Lights/Programmable_12v_Outdoor_Cafe_Lights.ino similarity index 100% rename from Programmable_12v_Outdoor_Cafe_Lights/designer_palettes_sunset.ino rename to Programmable_12v_Outdoor_Cafe_Lights/Programmable_12v_Outdoor_Cafe_Lights.ino diff --git a/QT_Py_CH552_Examples/Blink_QTPyCH552/.none.test.only b/QT_Py_CH552_Examples/Blink_QTPyCH552/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/QT_Py_CH552_Examples/CapTouch_QTPyCH552/.none.test.only b/QT_Py_CH552_Examples/CapTouch_QTPyCH552/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/QT_Py_CH552_Examples/I2C_AHT20_QTPyCH552/.none.test.only b/QT_Py_CH552_Examples/I2C_AHT20_QTPyCH552/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/QT_Py_CH552_Examples/Neopixel_QTPyCH552/.none.test.only b/QT_Py_CH552_Examples/Neopixel_QTPyCH552/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/QT_Py_CH552_Examples/analogIn_QTPyCH552/.none.test.only b/QT_Py_CH552_Examples/analogIn_QTPyCH552/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/SHT4x_Trinkey_Demos/Arduino/sht4x_temp_humidity/.sht4xtrinkey_m0.test.only b/SHT4x_Trinkey_Demos/Arduino/sht4x_temp_humidity/.sht4xtrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/SHT4x_Trinkey_Demos/Arduino/sht4x_vapor-pressure_deficit/.sht4xtrinkey_m0.test.only b/SHT4x_Trinkey_Demos/Arduino/sht4x_vapor-pressure_deficit/.sht4xtrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/SHT4x_Trinkey_Demos/Arduino/trinkey_cap_touch/.sht4xtrinkey_m0.test.only b/SHT4x_Trinkey_Demos/Arduino/trinkey_cap_touch/.sht4xtrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/SHT4x_Trinkey_Demos/Arduino/trinkey_neopixel_blink/.sht4xtrinkey_m0.test.only b/SHT4x_Trinkey_Demos/Arduino/trinkey_neopixel_blink/.sht4xtrinkey_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/STEMMA_IR_Demodulator_Examples/Arduino_STEMMA_IR_Demodulator_Example/.uno.test.only b/STEMMA_IR_Demodulator_Examples/Arduino_STEMMA_IR_Demodulator_Example/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/STEMMA_IR_Remote_Receiver_Examples/Arduino_STEMMA_IR_Remote_Receiver/.uno.test.only b/STEMMA_IR_Remote_Receiver_Examples/Arduino_STEMMA_IR_Remote_Receiver/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/STEMMA_TCRT1000/arduino_tcrt1000_demo/.uno.test.only b/STEMMA_TCRT1000/arduino_tcrt1000_demo/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TRRS_Trinkey_Demos/TRRS_Trinkey_AT_Demo/.none.test.only b/TRRS_Trinkey_Demos/TRRS_Trinkey_AT_Demo/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TSMP96000_Demo/.feather_rp2040.test.only b/TSMP96000_Demo/.feather_rp2040.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TSMP96000_Demo/.uno.test.only b/TSMP96000_Demo/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Tripler_PiCowbell_Demos/Arduino_PiCowbell_Tripler_Demo/.feather_rp2040.test.only b/Tripler_PiCowbell_Demos/Arduino_PiCowbell_Tripler_Demo/.feather_rp2040.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_Host_BFF_Examples/Arduino_USB_Host_BFF_DeviceInfo/.esp32.test.only b/USB_Host_BFF_Examples/Arduino_USB_Host_BFF_DeviceInfo/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_Host_BFF_Examples/Arduino_USB_Host_BFF_HIDReport/.esp32.test.only b/USB_Host_BFF_Examples/Arduino_USB_Host_BFF_HIDReport/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/adalogger/.none.test.only b/adalogger/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/library.deps b/library.deps index 562811304..da6757ba4 100644 --- a/library.deps +++ b/library.deps @@ -1 +1 @@ -depends=Adafruit ILI9341, Adafruit BusIO, SD, Adafruit NeoPixel, Adafruit VS1053 Library, Adafruit BluefruitLE nRF51, Adafruit seesaw Library, Ethernet, Adafruit IO Arduino, FastLED, Adafruit LiquidCrystal, Adafruit SoftServo, TinyWireM, Adafruit AM radio library, WaveHC, Adafruit LED Backpack Library, MAX31850 OneWire, Adafruit VC0706 Serial Camera Library, RTClib, Adafruit SleepyDog Library, Adafruit Thermal Printer Library, Adafruit Zero I2S Library, Adafruit EPD, Adafruit SSD1351 library, Adafruit FONA Library, Adafruit Motor Shield V2 Library, Adafruit NeoMatrix, Adafruit Soundboard library, Adafruit Circuit Playground, ArduinoJson, Adafruit TCS34725, Adafruit Pixie, Adafruit GPS Library, TinyGPS, WiFi101, Adafruit DotStar, Adafruit Si7021 Library, Adafruit WS2801 Library, Mouse, Keyboard, Time, IRremote, Adafruit LSM9DS0 Library, Adafruit Arcada Library, MIDIUSB, PubSubClient, Adafruit LIS2MDL, Adafruit NeoPXL8, Adafruit MCP23017 Arduino Library, Adafruit MLX90640, LiquidCrystal, Adafruit NeoTrellis M4 Library, RGB matrix Panel, Adafruit MLX90614 Library, Adafruit RGB LCD Shield Library, MAX6675 library, Adafruit MP3, Adafruit Keypad, Adafruit Arcada GifDecoder, Keypad, Neosegment, Encoder, Adafruit TiCoServo, Adafruit Trellis Library, FauxmoESP, Adafruit LSM303 Accel, Adafruit LSM303DLH Mag, Adafruit LSM303DLHC, CapacitiveSensor, Adafruit Zero PDM Library, Adafruit DMA neopixel library, elapsedMillis, DST RTC, Adafruit SHARP Memory Display, Adafruit SPIFlash, BSEC Software Library, WiiChuck, Adafruit DPS310, Adafruit AHTX0, RotaryEncoder, Adafruit MCP9808 Library, LSM303, Adafruit Protomatter, Adafruit IS31FL3741 Library, Sensirion I2C SCD4x, Adafruit TestBed, Bounce2, Adafruit AHRS, Adafruit DRV2605 Library, STM32duino VL53L4CD, PicoDVI - Adafruit Fork, Adafruit MMA8451 Library, Adafruit TSC2007, GFX Library for Arduino, Adafruit PyCamera Library +depends=Adafruit ILI9341, Adafruit BusIO, SD, Adafruit NeoPixel, Adafruit VS1053 Library, Adafruit BluefruitLE nRF51, Adafruit seesaw Library, Ethernet, Adafruit IO Arduino, FastLED, Adafruit LiquidCrystal, Adafruit SoftServo, TinyWireM, Adafruit AM radio library, WaveHC, Adafruit LED Backpack Library, MAX31850 OneWire, Adafruit VC0706 Serial Camera Library, RTClib, Adafruit SleepyDog Library, Adafruit Thermal Printer Library, Adafruit Zero I2S Library, Adafruit EPD, Adafruit SSD1351 library, Adafruit FONA Library, Adafruit Motor Shield V2 Library, Adafruit NeoMatrix, Adafruit Soundboard library, Adafruit Circuit Playground, ArduinoJson, Adafruit TCS34725, Adafruit Pixie, Adafruit GPS Library, TinyGPS, WiFi101, Adafruit DotStar, Adafruit Si7021 Library, Adafruit WS2801 Library, Mouse, Keyboard, Time, IRremote, Adafruit LSM9DS0 Library, Adafruit Arcada Library, MIDIUSB, PubSubClient, Adafruit LIS2MDL, Adafruit NeoPXL8, Adafruit MCP23017 Arduino Library, Adafruit MLX90640, LiquidCrystal, Adafruit NeoTrellis M4 Library, RGB matrix Panel, Adafruit MLX90614 Library, Adafruit RGB LCD Shield Library, MAX6675 library, Adafruit MP3, Adafruit Keypad, Adafruit Arcada GifDecoder, Keypad, Neosegment, Encoder, Adafruit TiCoServo, Adafruit Trellis Library, FauxmoESP, Adafruit LSM303 Accel, Adafruit LSM303DLH Mag, Adafruit LSM303DLHC, CapacitiveSensor, Adafruit Zero PDM Library, Adafruit DMA neopixel library, elapsedMillis, DST RTC, Adafruit SHARP Memory Display, Adafruit SPIFlash, BSEC Software Library, WiiChuck, Adafruit DPS310, Adafruit AHTX0, RotaryEncoder, Adafruit MCP9808 Library, LSM303, Adafruit Protomatter, Adafruit IS31FL3741 Library, Sensirion I2C SCD4x, Adafruit TestBed, Bounce2, Adafruit AHRS, Adafruit DRV2605 Library, STM32duino VL53L4CD, PicoDVI - Adafruit Fork, Adafruit MMA8451 Library, Adafruit TSC2007, GFX Library for Arduino, Adafruit PyCamera Library, Adafruit ADG72x, Adafruit BNO055, Adafruit SHT4x Library