This repository has been archived by the owner on Feb 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Kconfig
129 lines (92 loc) · 2.67 KB
/
Kconfig
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#
# Copyright (c) 2018-2021, Nordic Semiconductor ASA | nordicsemi.no
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
menu "Cat Tracker sample"
rsource "src/ui/Kconfig"
menu "GPS"
config GPS_DEV_NAME
string "GPS device name"
default "NRF9160_GPS"
endmenu # GPS
menu "Firmware versioning"
config CAT_TRACKER_APP_VERSION
string "The version of the cat tracker firmware"
default "0.0.0-development"
config EXPECTED_MODEM_FIRMWARE_VERSION
string "The expected modem firmware version"
default "mfw_nrf9160_1.2.2"
endmenu # Firmware versioning
menu "Cloud"
config CLOUD_BACKEND
string
default "AWS_IOT"
config USE_CUSTOM_MQTT_CLIENT_ID
bool "Use custom MQTT client ID"
help
By default the device's IMEI is used as the client ID
for the MQTT connection. This allows to use a fixed
value instead. This is mostly useful when providing
firmware builds to continuous integration tests on
real hardware.
Note: you must only run this firmware build on one
device at a time.
config MQTT_CLIENT_ID
depends on USE_CUSTOM_MQTT_CLIENT_ID
string "Configures the custom MQTT client ID"
default "yoghurt"
endmenu # Cloud
menu "External sensors"
config EXTERNAL_SENSORS
bool "Enable external sensors"
default y if BOARD_THINGY91_NRF9160NS || BOARD_NRF9160_PCA10015NS
config ACCELEROMETER_DEV_NAME
string "Accelerometer device name"
config MULTISENSOR_DEV_NAME
string "Multisensor device name"
config ACCELEROMETER_TRIGGER
bool "Accelerometer trigger"
endmenu # External sensors
menu "Cloud codec"
config SERIALIZATION_JSON
bool "Cloud communication enconding"
default y
select CJSON_LIB
config GPS_BUFFER_MAX
int "Sets the number of entries in the GPS buffer"
default 20
config SENSOR_BUFFER_MAX
int "Sets the number of entries in the sensor buffer"
default 20
config MODEM_BUFFER_MAX
int "Sets the number of entries in the modem buffer"
default 20
config UI_BUFFER_MAX
int "Sets the number of entries in the UI buffer"
default 20
config ACCEL_BUFFER_MAX
int "Sets the number of entries in the accelerometer buffer"
default 20
config BAT_BUFFER_MAX
int "Sets the number of entries in the battery buffer"
default 20
config ENCODED_BUFFER_ENTRIES_MAX
int "Maximum amount of encoded and published sensor buffer entries"
default 7
config TIME_BETWEEN_ACCELEROMETER_BUFFER_STORE_SEC
int "Time in between accelerometer buffer updates"
default 10
endmenu # Cloud codec
menu "Watchdog"
config CAT_TRACKER_WATCHDOG_TIMEOUT_SEC
int "Watchdog timeout in seconds"
default 60
endmenu # Watchdog
endmenu
menu "Zephyr Kernel"
source "Kconfig.zephyr"
endmenu
module = CAT_TRACKER
module-str = Cat Tracker
source "subsys/logging/Kconfig.template.log_config"