-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
60 lines (52 loc) · 2.37 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
author: Juha Yrjölä <[email protected]>
description: MongooseOS framework for internet-enabled things
version: 0.1
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
# List of files / directories with C sources. No slashes at the end of dir names.
sources:
- src
- src/sensors
- src/actuators
- lib/radiohead
filesystem:
- fs
config_schema:
- ["status_led_gpio", "i", -1, {title: "GPIO for status LED"}]
- ["net_watchdog", "o", {title: "Net watchdog settings"}]
- ["net_watchdog.enable", "b", false, {title: "Watchdog enabled"}]
- ["net_watchdog.relay_gpio", "i", -1, {title: "GPIO for turning off the router"}]
- ["radiohead", "o", {title: "Radiohead RF network settings"}]
- ["radiohead.enable", "b", false, {title: "Radiohead RF network enabled"}]
- ["radiohead.address", "i", -1, {title: "Own address"}]
- ["radiohead.channel", "i", 4, {title: "RF channel to use"}]
- ["radiohead.device", "o", {title: "RF device settings"}]
- ["radiohead.device.type", "s", "nrf24", {title: "Device type (only nrf24 currently supported)"}]
- ["radiohead.device.ce_gpio", "i", -1, {title: "Chip enable GPIO"}]
- ["radiohead.device.ss_gpio", "i", -1, {title: "Slave select GPIO"}]
- ["radiohead.device.irq_gpio", "i", -1, {title: "IRQ GPIO"}]
- ["radiohead.sensor_report_address", "i", -1, {title: "Where to send sensor reports"}]
- ["wifi.ap.enable", false]
- ["wifi.sta.enable", false]
# List of libraries used by this app, in order of initialisation
libs:
- 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/wifi
- origin: https://github.com/mongoose-os-libs/sntp
- origin: https://github.com/mongoose-os-libs/i2c
- origin: https://github.com/mongoose-os-libs/onewire
- origin: https://github.com/mongoose-os-libs/dht
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/adc
- origin: https://github.com/mongoose-os-libs/arduino-adafruit-bme280
- origin: https://github.com/mongoose-os-libs/arduino-adafruit-ssd1306
version: master
cflags:
- "-Wno-error"
cxxflags:
- "-Wno-error"
# Used by the mos tool to catch mos binaries incompatible with this file format
manifest_version: 2017-05-18