forked from mongoose-os-libs/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
115 lines (98 loc) · 4.07 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
author: mongoose-os
description: Core meta-lib
type: lib
version: 1.0
sources:
- src
- src/${platform}
includes:
- include
- include/${platform}
libs:
- origin: https://github.com/mongoose-os-libs/mongoose
init_after:
- lwip
- ota-common
- vfs-*
tags:
- c
- core
- docs:core:Core meta-library
config_schema:
- ["device", "o", {title: "Device settings"}]
- ["device.id", "s", {title: "Device ID"}] # Note: Each arch defines a default
- ["device.license", "s", {title: "License code"}]
- ["device.mac", "s", "", {title: "user/custom defined mac address"}]
- ["debug", "o", {title: "Debug Settings"}]
- ["debug.level", "i", 2, {title: "Debug Level"}]
- ["debug.file_level", "s", "", {title: "Log file level specification: file=level,file=level,...; see cs_log_set_file_level()"}]
- ["debug.stdout_uart", "i", 0, {title: "STDOUT UART (-1 to disable)"}]
- ["debug.stderr_uart", "i", 0, {title: "STDERR UART (-1 to disable)"}]
- ["debug.factory_reset_gpio", "i", -1, {title: "Factory reset GPIO (low on boot)"}]
- ["debug.mg_mgr_hexdump_file", "s", {title: "File name to hexdump network traffic to. Use '-' for stdout, '--' for stderr."}]
- ["sys", "o", {title: "System settings"}]
# https://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/global_data.html
# https://github.com/G6EJD/ESP32-Time-Services-and-SETENV-variable/blob/master/ESP32_Time_and_SETENV.ino
# Example: EST5EDT4,M4.1.0/02:00:00,M10.5.0/02:00:00
# Eastern Standard Time is 5 hours earlier than Coordinated Universal Time (UTC).
# Standard time and daylight savings time both apply to this locale.
# Eastern Daylight Time (EDT) is one hour ahead of standard time.
# Daylight saving time starts on the first (1) Sunday (0) of April (4) at 2:00 A.M., and ends on the last (5) Sunday (0) of October (10) at 2:00 A.M.
- ["sys.tz_spec", "s", "", {title: "See formats for the TZ env var: \"man tzset\". Formats like \":/path/to/file\" are not supported"}]
- ["sys.wdt_timeout", "i", 30, {title: "Watchdog timeout (seconds)"}]
- ["sys.pref_ota_lib", "s", {title: "Preferred ota lib, e.g. dash, ota-http-client"}]
- ["conf_acl", "s", "*", {title: "Conf ACL"}]
conds:
- when: mos.platform == "cc3200"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/freertos
- origin: https://github.com/mongoose-os-libs/vfs-fs-spiffs
build_vars:
FREERTOS_PORT: CCS/ARM_CM3
- when: mos.platform == "cc3220"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/freertos
- origin: https://github.com/mongoose-os-libs/vfs-fs-spiffs
build_vars:
FREERTOS_PORT: CCS/ARM_CM3
- when: mos.platform == "esp32"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/freertos
- origin: https://github.com/mongoose-os-libs/vfs-fs-lfs
- origin: https://github.com/mongoose-os-libs/vfs-fs-spiffs
build_vars:
# FreeRTOS option to enable statically allocated task stacks.
ESP_IDF_SDKCONFIG_OPTS: >
${build_vars.ESP_IDF_SDKCONFIG_OPTS}
CONFIG_SUPPORT_STATIC_ALLOCATION=y
- when: mos.platform == "esp8266"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/vfs-dev-part
- origin: https://github.com/mongoose-os-libs/vfs-fs-spiffs
config_schema:
- ["device.id", "esp8266_??????"]
- when: mos.platform == "rs14100"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/freertos
- origin: https://github.com/mongoose-os-libs/vfs-dev-part
- origin: https://github.com/mongoose-os-libs/vfs-fs-lfs
- origin: https://github.com/mongoose-os-libs/vfs-fs-spiffs
config_schema:
- ["device.id", "rs14100_??????"]
- ["debug.stdout_uart", 1]
- ["debug.stderr_uart", 1]
- ["rpc.uart.uart_no", 1]
build_vars:
FREERTOS_PORT: GCC/ARM_CM4F
- when: mos.platform == "stm32"
apply:
libs:
- origin: https://github.com/mongoose-os-libs/freertos
config_schema:
- ["device.id", "stm32_??????"]
manifest_version: 2018-06-12