-
Notifications
You must be signed in to change notification settings - Fork 1
/
prj.conf
96 lines (82 loc) · 5.2 KB
/
prj.conf
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
#! @file prj.con
#* @brief Global configurations for the project
#
# @author A BLUE THING IN THE CLOUD S.L.U.
# === When the technology becomes art ===
#
# http://abluethinginthecloud.com
# j.longares@abluethinginthecloud
#
# (c) A BLUE THING IN THE CLOUD S.L.U.
#
#
#
# ██████████████ ██ ██ ██ ██████ ██████████████
# ██ ██ ████████████████ ██ ██ ██
# ██ ██████ ██ ██████ ██ ██ ██ ██ ██████ ██
# ██ ██████ ██ ██████ ██ ██ ██ ██████ ██
# ██ ██████ ██ ██ ████ ██████ ██ ██████ ██
# ██ ██ ██ ██████ ████ ██ ██
# ██████████████ ██ ██ ██ ██ ██ ██ ██ ██████████████
# ██████ ████ ██████ ████
# ██████ ██████████ ████ ████████ ████ ██
# ██ ████ ██ ██ ████ ████ ████████ ██ ██
# ██ ██ ████ ██ ██ ██ ██ ████ ██████
# ████ ████ ██ ██ ████ ██ ██ ██
# ██████████ ██ ██ ██ ████ ██ ████
# ██ ████ ██ ██████ ██ ██████████ ██ ██
# ██ ████ ████████████████ ██ ██ ████████ ████
# ████ ██ ██████ ██████████ ████ ██
# ██████ ████████████████ ████ ██ ██████ ██ ████
# ████████ ██████ ██ ██████ ██ ████ ██
# ██ ██ ████████ ██ ██ ██ ██ ████
# ████ ████ ██ ████████████ ██ ████ ██
# ██ ██████ ████ ██ ██ ████ ██████████
# ██ ██████ ██ ██ ██ ██████
# ██████████████ ██ ██████ ██ ████ ████ ██ ████ ████
# ██ ██ ██ ████████ ██ ██ ████ ████
# ██ ██████ ██ ████ ██ ██████ ██████████ ████
# ██ ██████ ██ ██████ ██ ██ ████ ████ ██████
# ██ ██████ ██ ████ ██ ████ ██ ████ ██
# ██ ██ ██ ██ ██████████████ ██ ██
# ██████████████ ██████ ██ ██ ████ ██████ ████
#
# General
CONFIG_HW_ID_LIBRARY=y
# Logging
CONFIG_LOG=y
# Networking
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=y
CONFIG_NET_DHCPV4=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_NET_CONFIG_SETTINGS=y
#============================================================================#
# WiFi Stationing modifiable configurations
# CONFIG_STA_KEY_MGMT_NONE=y
CONFIG_STA_KEY_MGMT_WPA2=y
# CONFIG_STA_KEY_MGMT_WPA2_256=y
# CONFIG_STA_KEY_MGMT_WPA3=y
CONFIG_WIFI_CREDENTIALS_STATIC_SSID="SSID"
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="Password"
# MQTT modifiable configurations
CONFIG_MQTT_SAMPLE_TRANSPORT_PUBLISH_TOPIC="publish/topic"
CONFIG_MQTT_SAMPLE_TRANSPORT_SUBSCRIBE_TOPIC="subscribe/topic"
CONFIG_MQTT_SAMPLE_TRANSPORT_BROKER_HOSTNAME="broker"
CONFIG_MQTT_SAMPLE_TRANSPORT_BROKER_USERNAME="noUser"
CONFIG_MQTT_SAMPLE_TRANSPORT_BROKER_PASSWORD="noPassword"
CONFIG_MQTT_SAMPLE_TRANSPORT_CLIENT_ID="clientID"
CONFIG_MQTT_SAMPLE_TRANSPORT_MESSAGE="message"
CONFIG_MQTT_SAMPLE_TRIGGER_TIMEOUT_SECONDS=15
#============================================================================#
# Other MQTT configurations
CONFIG_MQTT_HELPER=y
CONFIG_MQTT_CLEAN_SESSION=y
CONFIG_MQTT_HELPER_CUSTOM=y
CONFIG_MQTT_HELPER_STATIC_IP_ADDRESS=""
# ZBus
CONFIG_ZBUS=y
# Zephyr state framework
CONFIG_SMF=y