-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmos.yml
45 lines (40 loc) · 1.63 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: SmartPoolTimer
version: "1.0"
arch: esp32
author: Chizuruoke Chikwendu <only1chi@gmail.com>
description: Smart Pool Timer Controller, integrates AWS shadow, BMP180 and ADE7912
sources:
- src
filesystem:
- fs
config_schema:
# Enable I2C
- ["i2c.enable", true]
- ["i2c.unit_no", "i", 1, {"title": "Unit number"}]
- ["i2c.sda_gpio", 2]
- ["i2c.scl_gpio", 0]
# Enable SPI
- ["spi.enable", "b", true, {"title": "Enable SPI"}]
- ["spi.freq", "i", 1000000, {"title": "SPI clock frequency"}]
- ["spi.mode", "i", 3, {"title": "SPI edge/clock idle mode, 0-3"}]
- ["spi.msb_first", "b", true, {"title": "SPI bit order: MSB first / LSB first"}]
- ["spi.debug", "b", false, {"title": "Debug SPI bus activity"}]
- ["spi.unit_no", "i", 3, {title: "Which SPI unit to use, 2 or 3"}]
- ["spi.miso_gpio", "i", 19, {title: "GPIO to use for MISO"}]
- ["spi.mosi_gpio", "i", 23, {title: "GPIO to use for MOSI"}]
- ["spi.sclk_gpio", "i", 18, {title: "GPIO to use for SCLK"}]
- ["spi.cs0_gpio", "i", 5, {title: "GPIO to use for CS0"}]
libs:
- origin: https://github.com/mongoose-os-libs/adc
- origin: https://github.com/mongoose-os-libs/aws
- origin: https://github.com/mongoose-os-libs/http-server
- origin: https://github.com/mongoose-os-libs/rpc-mqtt
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-service-fs
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/spi
- origin: https://github.com/mongoose-os-libs/i2c
- origin: https://github.com/mongoose-os-libs/wifi
tags:
- c
manifest_version: 2017-05-18