This commit is contained in:
Thomas Kunze 2019-06-12 19:34:50 +02:00
parent 187f305c08
commit ba45d3926f

View File

@ -32,7 +32,7 @@ before_install:
- if [ "$MODE" = "ARDUINO" ]; then downloadArduinoLib FlashStorage "https://github.com/thelsing/FlashStorage/archive/master.zip"; fi
- if [ "$MODE" = "ARDUINO" ]; then downloadArduinoLib BSEC "https://github.com/BoschSensortec/BSEC-Arduino-library/archive/master.zip"; fi
- if [ "$MODE" = "ARDUINO" ]; then sed -i s#compiler.warning_level=all#compiler.warning_level=default ~/.arduino15/preferences.txt; fi
# - if [ "$MODE" = "ARDUINO" ]; then sed -i s#compiler.warning_level=all#compiler.warning_level=default ~/.arduino15/preferences.txt; fi
- if [ "$MODE" = "ARDUINO" ]; then sed -ri 's#^recipe.c.combine.pattern=([^$]*)\{archive_file\}" -Wl,--end-group#recipe.c.combine.pattern=\1\{archive_file\}" {compiler.libraries.ldflags} -Wl,--end-group#' ~/.arduino15/packages/arduino/hardware/samd/1.6.21/platform.txt; fi
# the HDC100X lib is not properly set up in githup so move things around a bit
- if [ "$MODE" = "ARDUINO" ]; then rm -rf $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master; fi