use firmata master to fix build with gcc v9
This commit is contained in:
1 file changed
+11
-2
@@ -47,15 +47,24 @@ jobs:
|
||||
arduino-cli core update-index
|
||||
arduino-cli core update-index --additional-urls $BSP_URL
|
||||
arduino-cli core install adafruit:nrf52 --additional-urls $BSP_URL
|
||||
|
||||
# Repalce release BSP with our code
|
||||
BSP_VERSION=`eval ls $HOME/$BSP_PATH`
|
||||
rm -r $HOME/$BSP_PATH/*
|
||||
ln -s $GITHUB_WORKSPACE $HOME/$BSP_PATH/$BSP_VERSION
|
||||
|
||||
# Install library dependency
|
||||
arduino-cli lib install "Adafruit AHRS" "Adafruit APDS9960 Library" "Adafruit BMP280 Library" "Adafruit Circuit Playground" "Adafruit EPD" "Adafruit GFX Library" "Adafruit HX8357 Library" "Adafruit ILI9341" "Adafruit LIS3MDL" "Adafruit LSM6DS" "Adafruit NeoPixel" "Adafruit NeoMatrix" "Adafruit Sensor Calibration" "Adafruit SHT31 Library" "Adafruit SSD1306" "Adafruit ST7735 and ST7789 Library" "Firmata" "SdFat - Adafruit Fork"
|
||||
|
||||
arduino-cli lib install "Adafruit AHRS" "Adafruit APDS9960 Library" "Adafruit BMP280 Library" "Adafruit Circuit Playground" "Adafruit EPD" "Adafruit GFX Library" "Adafruit HX8357 Library" "Adafruit ILI9341" "Adafruit LIS3MDL" "Adafruit LSM6DS" "Adafruit NeoPixel" "Adafruit NeoMatrix" "Adafruit Sensor Calibration" "Adafruit SHT31 Library" "Adafruit SSD1306" "Adafruit ST7735 and ST7789 Library" "SdFat - Adafruit Fork"
|
||||
|
||||
# TODO update to support MIDI version 5 later on
|
||||
arduino-cli lib install "MIDI Library"@4.3.1
|
||||
|
||||
# TODO use firmata master to prevent build error with gcc v9 (should be remove after 2.5.9 is released)
|
||||
# https://github.com/firmata/arduino/pull/438
|
||||
git clone -depth 1 https://github.com/firmata/arduino.git $HOME/Arduino/libraries/firmata
|
||||
|
||||
# Library summary
|
||||
arduino-cli lib list
|
||||
|
||||
- name: Build examples
|
||||
run: python3 tools/build_all.py ${{ matrix.arduino-platform }}
|
||||
Reference in new issue
Block a user