-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmos.yml
62 lines (54 loc) · 1.69 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
61
62
author: d4rkmen <[email protected]>
description: Mongoose OS MEL-AC demo
version: 1.1
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
tags:
- c
sources:
- src
includes:
- include
config_schema:
- ["app", "o", {title: "APP settings"}]
- ["pins", "o", {title: "Pins layout"}]
- ["pins.led", "i", -1, {title: "LED GPIO pin"}]
- ["pins.button", "i", -1, {title: "Button GPIO pin"}]
- ["debug.stdout_uart", -1] # UART used for HVAC i/o
- ["debug.stderr_uart", -1] # UART used for HVAC i/o
- ["wifi.ap.enable", false]
- ["wifi.sta.enable", true]
- ["wifi.sta.ssid", "your_wifi"]
- ["wifi.sta.pass", "your_pass"]
# for debug log only
# - ["mqtt.server", "your_broker_ip:1883"]
# - ["mqtt.enable", true]
# - ["debug.stderr_topic","/device/log/err"]
# - ["debug.stdout_topic","/device/log/out"]
# for UDP log only
# - ["debug.udp_log_addr","your_host_ip:1993"]
- ["mel_ac.enable", true]
- ["mel_ac.uart_no", 0]
- ["mel_ac.uart_baud_rate", 2400]
- ["mel_ac.period_ms", 250]
- ["mel_ac.rpc_enable", true]
conds:
- when: mos.platform == "esp8266"
apply:
config_schema:
- ["pins.led", 2]
- ["pins.button", 0]
- when: mos.platform == "esp32"
apply:
config_schema:
- ["pins.led", 2]
- ["pins.button", 0]
libs:
- origin: https://github.com/mongoose-os-libs/http-server
- origin: https://github.com/mongoose-os-libs/wifi
- origin: https://github.com/mongoose-os-libs/rpc-ws
- origin: https://github.com/mongoose-os-libs/rpc-mqtt
- origin: https://github.com/mongoose-os-libs/mel-ac
## Used by the mos tool to catch mos binaries incompatible with this file format
manifest_version: 2020-08-02