-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
75 lines (65 loc) · 2.61 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
63
64
65
66
67
68
69
70
71
72
73
74
75
name: CatIOTy
author: Nuno Sousa
description: A cat feeder with IOT capabilities.
version: 1.0
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
# Optional. List of tags for online search.
tags:
- c
# List of files / directories with C sources. No slashes at the end of dir names.
sources:
- src
# List of dirs. Files from these dirs will be copied to the device filesystem
filesystem:
- fs
# Custom configuration entries, settable via "device configuration"
# Below is a custom firmware configuration example.
# Uncomment and modify according to your needs:
#FUTURE
config_schema:
- ["wifi.ap.enable", false]
- ["wifi.sta.enable", true]
- ["wifi.sta.ssid", "Vodafone-2FDB89"]
- ["wifi.sta.pass", "XXXXX"]
- ["debug.level", 3]
- ["blynk.enable", true]
- ["blynk.server", "blynk-cloud.com:8442"]
- ["blynk.auth", "b13865b18c474fccb1d64562e6018865"]
# - ["app", "s", {title: "BirdIOTy"}]
# - ["app.pinMic", "i", 0, {title: "GPIO pin where mic is attached to"}]
# - ["app.pinLed", "i", 2, {title: "GPIO pin where LED is attached to"}]
# These settings get compiled into the C structure, and can be accessed
# from the C code this way:
#
# printf("Hello from %s!\n", get_cfg()->device.id);
#
# Settings are cool: can be modified remotely without full firmware upgrade!
#
# To see all available compiled settings, buid the firmware and open
# build/gen/sys_config.c or build/gen/sys_config.h file.
#
# Also, in this config_schema section, you can override existing
# settings that has been created by other libraries. For example, debug log
# level is 2 by default. For this firmware we can override it to 3:
#
# config_schema:
# - ["debug.level", 3]
# List of libraries used by this app, in order of initialisation
libs:
- origin: https://github.com/mongoose-os-libs/ca-bundle
- 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/mjs
- origin: https://github.com/mongoose-os-libs/http-server
- origin: https://github.com/mongoose-os-libs/ota-http-client
- origin: https://github.com/mongoose-os-libs/rpc-service-ota
- origin: https://github.com/mongoose-os-libs/blynk
- origin: https://github.com/mongoose-os-libs/pwm
#- origin: https://github.com/mongoose-os-libs/dash
#- origin: https://github.com/mongoose-os-libs/rpc-loopback
# Used by the mos tool to catch mos binaries incompatible with this file format
manifest_version: 2017-05-18