This repository has been archived by the owner on Feb 17, 2020. It is now read-only.
forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Kconfig
114 lines (83 loc) · 1.99 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
#
# Copyright (c) 2018 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
menu "Cat Tracker sample"
rsource "src/ui/Kconfig"
menu "GPS"
choice
prompt "GPS device"
default GPS_USE_SIM
help
Select from which device GPS data will be fetched.
config GPS_USE_SIM
bool "Use GPS simulator"
select GPS_SIM
select GPS_SIM_TRIGGER
help
Use simulated GPS data.
config GPS_USE_EXTERNAL
bool "User provided GPS device"
help
Provide a GPS device that location data will be fetched from and
sent to nRF Cloud
endchoice
rsource "src/gps_controller/Kconfig"
rsource "src/nrf9160_timestamp/Kconfig"
config GPS_DEV_NAME
string "GPS device name"
default GPS_SIM_DEV_NAME if GPS_USE_SIM
help
GPS device from which location data will be fetched and sent
to nRF Cloud.
config GPS_TRIGGER
bool
default GPS_SIM_TRIGGER if GPS_USE_SIM
config GPS_SIM_TRIGGER_TIMER_MSEC
int
default 120000 if POWER_OPTIMIZATION_ENABLE
default 2000
endmenu # GPS
menu "Firmware versioning"
config CAT_TRACKER_APP_VERSION
string "The version of the cat tracker firmware"
default "0.0.0-development"
endmenu # Firmware versioning
config POWER_OPTIMIZATION_ENABLE
bool "Enable power optimization"
default y
select LTE_EDRX_REQ
menu "Cloud socket poll"
config CLOUD_BACKEND
string
default "AWS_IOT"
config MQTT_KEEPALIVE
int
default 1200
config CLOUD_POLL_STACKSIZE
int
default 4096
config CLOUD_POLL_PRIORITY
int
default 7
endmenu # Cloud socket poll
menu "Cloud codec"
config SERIALIZATION_JSON
bool "Cloud communication enconding"
default y
select CJSON_LIB
config CIRCULAR_SENSOR_BUFFER_MAX
int "Maximum amount of buffered sensor entries"
default 10
config MAX_PER_ENCODED_ENTRIES
int "Maximum amount of encoded and published sensor buffer entries"
default 7
endmenu # Cloud codec
endmenu
menu "Zephyr Kernel"
source "$ZEPHYR_BASE/Kconfig.zephyr"
endmenu
module = CAT_TRACKER
module-str = Cat Tracker
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"