From 7f3447fc9a10ac367eb6e65c568c67362ca78d36 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Thu, 16 May 2024 11:39:57 -0400 Subject: [PATCH] Fix refs to BMP388 library in actions Signed-off-by: Sara Damiano --- continuous_integration/install-deps-arduino-cli.sh | 10 ++-------- continuous_integration/install-deps-platformio.sh | 2 +- docs/FAQ/Developer-Setup.md | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/continuous_integration/install-deps-arduino-cli.sh b/continuous_integration/install-deps-arduino-cli.sh index 364f03a82..61ba26a4b 100644 --- a/continuous_integration/install-deps-arduino-cli.sh +++ b/continuous_integration/install-deps-arduino-cli.sh @@ -91,14 +91,8 @@ arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install "A echo "\n\e[32mInstalling Adafruit SHT4x Library from Arduino library index\e[0m" arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install "Adafruit SHT4x Library" -echo "\n\e[32mDownloading Martin Lindupp's BMP388 Library as a zip" -# Soligen fork needs to be manually unzipped and moved because the CLI chokes on the library name not matching the h file -curl -L --retry 15 --retry-delay 0 https://github.com/MartinL1/BMP388_DEV/archive/master.zip --create-dirs -o home/arduino/downloads/BMP388_DEV.zip -echo "\e[32mDecompressing BMP388_DEV\e[0m" -unzip -q -o home/arduino/downloads/BMP388_DEV.zip -d home/arduino/downloads/ -echo "\e[32mMoving BMP388_DEV to the libraries folder\e[0m" -mkdir -p home/arduino/user/libraries/BMP388_DEV -mv home/arduino/downloads/BMP388_DEV-master/* home/arduino/user/libraries/BMP388_DEV +echo "\n\e[32mInstalling Martin Lindupp's BMP388 Library from Arduino library index\e[0m" +arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install "BMP388_DEV" echo "\n\e[32mInstalling OneWire library from Arduino library index\e[0m" arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install OneWire diff --git a/continuous_integration/install-deps-platformio.sh b/continuous_integration/install-deps-platformio.sh index f8b08f7d6..22219218e 100644 --- a/continuous_integration/install-deps-platformio.sh +++ b/continuous_integration/install-deps-platformio.sh @@ -81,7 +81,7 @@ echo "\e[32mInstalling adafruit/'Adafruit SHT'\e[0m" pio pkg install -g --library adafruit/'Adafruit SHT4x Library' echo "\e[32mInstalling Martin Lindupp's BMP388 Library\e[0m" -pio pkg install -g --library https://github.com/MartinL1/BMP388_DEV.git +pio pkg install -g --library MartinL1/BMP388_DEV echo "\e[32mInstalling paulstoffregen/OneWire\e[0m" pio pkg install -g --library paulstoffregen/OneWire diff --git a/docs/FAQ/Developer-Setup.md b/docs/FAQ/Developer-Setup.md index 152ce82f2..19db0b93c 100644 --- a/docs/FAQ/Developer-Setup.md +++ b/docs/FAQ/Developer-Setup.md @@ -78,7 +78,7 @@ lib_deps = adafruit/Adafruit INA219 adafruit/Adafruit MPL115A2 adafruit/Adafruit SHT4x Library - https://github.com/MartinL1/BMP388_DEV + MartinL1/BMP388_DEV paulstoffregen/OneWire milesburton/DallasTemperature envirodiy/SDI-12