-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from kike-canaries/arduino_cli
Arduino cli
- Loading branch information
Showing
6 changed files
with
89 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
# arduino-cli installation on ~/bin: | ||
# curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh | ||
# test repo: | ||
# https://github.com/kike-canaries/canairio_sensorlib/ | ||
|
||
arduino-cli config init | ||
|
||
# github libraries support | ||
arduino-cli config set library.enable_unsafe_install true | ||
# dependencies | ||
arduino-cli lib install "Adafruit Unified [email protected]" | ||
arduino-cli lib install "Adafruit BME280 [email protected]" | ||
arduino-cli lib install "Adafruit BMP280 [email protected]" | ||
arduino-cli lib install "Adafruit BME680 [email protected]" | ||
arduino-cli lib install "Adafruit SHT31 [email protected]" | ||
arduino-cli lib install "Adafruit [email protected]" | ||
arduino-cli lib install "Adafruit [email protected]" | ||
arduino-cli lib install "Sensirion [email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "Sensirion I2C [email protected]" | ||
arduino-cli lib install --git-url https://github.com/paulvha/sps30.git | ||
arduino-cli lib install --git-url https://github.com/enjoyneering/AHTxx.git | ||
arduino-cli lib install --git-url https://github.com/hpsaturn/DHT_nonblocking.git | ||
arduino-cli lib install --git-url https://github.com/jcomas/CM1106_UART.git | ||
arduino-cli lib install --git-url https://github.com/paulvha/SN-GCJA5.git | ||
# target tag: | ||
arduino-cli lib install --git-url https://github.com/kike-canaries/canairio_sensorlib.git#v0.6.4 | ||
|
||
arduino-cli config set board_manager.additional_urls\ | ||
https://arduino.esp8266.com/stable/package_esp8266com_index.json\ | ||
https://dl.espressif.com/dl/package_esp32_index.json | ||
|
||
arduino-cli core update-index | ||
|
||
# esp8266 test | ||
arduino-cli core install esp8266:esp8266 | ||
arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2 --build-property "build.extra_flags=-DCORE_DEBUG_LEVEL=0" examples/basic | ||
|
||
# esp32 test | ||
#arduino-cli core install esp32:esp32 | ||
#arduino-cli compile --fqbn esp32:esp32:ttgo-t7-v14-mini32 --build-property "build.extra_flags=-DCORE_DEBUG_LEVEL=0" examples/basic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=CanAirIO Air Quality Sensors Library | ||
version=0.6.5 | ||
version=0.6.6 | ||
author=@hpsaturn, CanAirIO project <[email protected]> | ||
maintainer=Antonio Vanegas <[email protected]> | ||
url=https://github.com/kike-canaries/canairio_sensorlib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
[commonlibs] | ||
lib_deps = | ||
adafruit/Adafruit Unified Sensor @ 1.1.7 | ||
adafruit/Adafruit BME280 Library @ 2.2.2 | ||
adafruit/Adafruit BMP280 Library @ 2.6.6 | ||
adafruit/Adafruit BME680 Library @ 2.0.2 | ||
adafruit/Adafruit SHT31 Library @ 2.2.0 | ||
adafruit/Adafruit SCD30 @ 1.0.9 | ||
adafruit/Adafruit BusIO @ 1.14.1 | ||
robtillaart/AM232X @ 0.4.5 | ||
paulvha/sps30 @ 1.4.16 | ||
wifwaf/MH-Z19 @ 1.5.4 | ||
jcomas/S8_UART @ 1.0.1 | ||
sensirion/Sensirion Core @ 0.6.0 | ||
sensirion/Sensirion I2C SCD4x @ 0.3.1 | ||
adafruit/Adafruit Unified Sensor@1.1.7 | ||
adafruit/Adafruit BME280 Library@2.2.2 | ||
adafruit/Adafruit BMP280 Library@2.6.6 | ||
adafruit/Adafruit BME680 Library@2.0.2 | ||
adafruit/Adafruit SHT31 Library@2.2.0 | ||
adafruit/Adafruit SCD30@1.0.9 | ||
adafruit/Adafruit BusIO@1.14.1 | ||
robtillaart/AM232X@0.4.5 | ||
paulvha/sps30@1.4.16 | ||
wifwaf/MH-Z19@1.5.4 | ||
jcomas/S8_UART@1.0.1 | ||
sensirion/Sensirion Core@0.6.0 | ||
sensirion/Sensirion I2C SCD4x@0.3.1 | ||
https://github.com/enjoyneering/AHTxx.git#eb21571 | ||
https://github.com/hpsaturn/DHT_nonblocking.git#ec6e5b9 | ||
https://github.com/paulvha/SN-GCJA5.git#f261968 | ||
https://github.com/jcomas/CM1106_UART.git#da0eb4e | ||
https://github.com/jcomas/CM1106_UART.git#da0eb4e | ||
|