Skip to content

Commit 6e86d16

Browse files
committed
use firmata master to fix build with gcc v9
1 parent 3c6c2b7 commit 6e86d16

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/githubci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,24 @@ jobs:
4747
arduino-cli core update-index
4848
arduino-cli core update-index --additional-urls $BSP_URL
4949
arduino-cli core install adafruit:nrf52 --additional-urls $BSP_URL
50+
5051
# Repalce release BSP with our code
5152
BSP_VERSION=`eval ls $HOME/$BSP_PATH`
5253
rm -r $HOME/$BSP_PATH/*
5354
ln -s $GITHUB_WORKSPACE $HOME/$BSP_PATH/$BSP_VERSION
55+
5456
# Install library dependency
55-
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"
56-
57+
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"
58+
5759
# TODO update to support MIDI version 5 later on
5860
arduino-cli lib install "MIDI Library"@4.3.1
5961
62+
# TODO use firmata master to prevent build error with gcc v9 (should be remove after 2.5.9 is released)
63+
# https://github.com/firmata/arduino/pull/438
64+
git clone -depth 1 https://github.com/firmata/arduino.git $HOME/Arduino/libraries/firmata
65+
66+
# Library summary
67+
arduino-cli lib list
68+
6069
- name: Build examples
6170
run: python3 tools/build_all.py ${{ matrix.arduino-platform }}

0 commit comments

Comments
 (0)