Add VEML6075 scaffolding.
Also, remove DHT dependency and add a note in mos.yml to have application owners include those libraries. Without them, we'll compile no scaffolding. With them, we'll pull those in based on -DHAVE_* macros.
This commit is contained in:
6
mos.yml
6
mos.yml
@ -18,13 +18,17 @@ config_schema:
|
||||
- ["sensors", "o", {title: "Sensors settings"}]
|
||||
- ["sensors.dht_gpio", "s", "13,12,14", {title: "Comma Separated list of GPIO pins to enable DHT22/AM2302 sensors on"}]
|
||||
- ["sensors.dht_period", "i", 3, {title: "Sample period in seconds for DHT sensors"}]
|
||||
- ["sensors.veml6075_i2caddr", "i", 0x10, {title: "I2C Address for VEML6075 sensor"}]
|
||||
- ["sensors.veml6075_period", "i", 3, {title: "Sample period in seconds for VEML6075 sensor"}]
|
||||
- ["sensors.pushgateway_period", "i", 10, {title: "Period in seconds for Prometheus Pushgateway POSTs"}]
|
||||
- ["prometheus.pushgateway", "prometheus.example.net:9091"]
|
||||
|
||||
|
||||
# List of libraries used by this app, in order of initialisation
|
||||
# Note: To use sensor libraries, include one or more of these in your application mos.yml:
|
||||
# - origin: https://github.com/mongoose-os-libs/dht
|
||||
# - origin: https://github.com/mongoose-os-libs/veml6075-i2c
|
||||
libs:
|
||||
- origin: https://github.com/mongoose-os-libs/dht
|
||||
- origin: https://github.com/mongoose-os-libs/prometheus-metrics
|
||||
|
||||
# Used by the mos tool to catch mos binaries incompatible with this file format
|
||||
|
Reference in New Issue
Block a user