Skip to content

Commit

Permalink
Fix refs to BMP388 library in actions
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed May 16, 2024
1 parent cb13b94 commit 7f3447f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions continuous_integration/install-deps-arduino-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion continuous_integration/install-deps-platformio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/FAQ/Developer-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f3447f

Please sign in to comment.