forked from nrfconnect/sdk-sidewalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig.dependencies
295 lines (251 loc) · 5.69 KB
/
Kconfig.dependencies
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
#
# Copyright (c) 2023 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
choice LIBC_IMPLEMENTATION
default NEWLIB_LIBC
endchoice
config SIDEWALK_SUBGHZ
bool
default SIDEWALK && (SIDEWALK_LINK_MASK_FSK || SIDEWALK_LINK_MASK_LORA)
help
Use Sidewalk with support for BLE, LoRa and FSK
config SIDEWALK_DEFAULTS
bool
default SIDEWALK
imply REQUIRES_FULL_LIBC
imply FPU
imply REBOOT
config SIDEWALK_BUILD
bool
default SIDEWALK
help
An internal config to build the NCS Sidewalk Sources.
config SIDEWALK_THINGY53_SUPPORT
bool "Sidewalk support for Thingy:53 [EXPERIMENTAL]"
select EXPERIMENTAL
default BOARD_THINGY53_NRF5340_CPUAPP && SIDEWALK
config SIDEWALK_BLE
bool
default SIDEWALK
imply BT
imply SETTINGS
imply BT_PERIPHERAL
help
Sidewalk Bluetooth Low Energy (BLE) module
config SIDEWALK_ASSERT
bool
default SIDEWALK
imply ASSERT
help
This enables the SID_PAL_ASSERT() macro in the Sidewalk pal code.
If the assertion fails, program will trigger a fatal error.
config SIDEWALK_CRYPTO
bool
default SIDEWALK
imply NRF_SECURITY
imply PSA_CRYPTO_DRIVER_OBERON
imply PSA_WANT_ALG_HMAC
imply PSA_WANT_ALG_CTR
imply PSA_WANT_ALG_GCM
imply PSA_WANT_ALG_CMAC
imply PSA_WANT_ALG_ECB_NO_PADDING
imply PSA_WANT_ALG_SHA_1
imply PSA_WANT_ALG_SHA_256
imply PSA_WANT_ALG_SHA_512
imply PSA_WANT_ALG_ECDH
imply PSA_WANT_ALG_ECDSA
imply PSA_WANT_ALG_DETERMINISTIC_ECDSA
imply PSA_WANT_ALG_STREAM_CIPHER
imply PSA_WANT_ALG_CCM
imply PSA_WANT_ALG_GCM
imply PSA_WANT_ALG_PURE_EDDSA
imply PSA_WANT_ECC_SECP_R1_256
imply PSA_WANT_ECC_MONTGOMERY_255
imply PSA_WANT_ECC_TWISTED_EDWARDS_255
imply PSA_WANT_KEY_TYPE_AES
imply PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
imply PSA_WANT_KEY_TYPE_HMAC
imply PSA_WANT_GENERATE_RANDOM
imply MBEDTLS_ENABLE_HEAP
help
Sidewalk security module
if SIDEWALK_CRYPTO
config PSA_WANT_ALG_CHACHA20_POLY1305
default n
config PSA_WANT_ALG_SHA_224
default n
config PSA_WANT_ALG_SHA_384
default n
config PSA_WANT_ALG_CBC_NO_PADDING
default n
config PSA_WANT_ALG_CBC_PKCS7
default n
config PSA_WANT_ALG_HKDF
default n
endif #SIDEWALK_CRYPTO
config SIDEWALK_LOG
bool
default SIDEWALK
imply LOG
help
Sidewalk log module
config SIDEWALK_GENERATE_VERSION_MINIMAL
bool
default SIDEWALK
help
Generate minimal information of application version (sidewalk, zephyr, nrf).
In order to generate full version report from all modules set this config to `N`.
config SIDEWALK_MFG_STORAGE
bool
default SIDEWALK
imply FLASH
help
Sidewalk manufacturing storage module
config SIDEWALK_STORAGE
bool
default SIDEWALK
imply NVS
imply FLASH
help
Sidewalk storage module
config SIDEWALK_TIMER
bool
default SIDEWALK
imply SIDEWALK_UPTIME
imply SIDEWALK_CRITICAL_REGION
help
Sidewalk timer module
config SIDEWALK_UPTIME
bool
default SIDEWALK
help
Sidewalk uptime module
config SIDEWALK_CRITICAL_REGION
bool
default SIDEWALK
help
Sidewalk critical region module
if SIDEWALK_CRITICAL_REGION
config SIDEWALK_CRITICAL_REGION_RE_ENTRY_MAX
int
default 8
help
Maximum nesting level of critical region
If the nesting level becomes greater than set by this config, assert will be triggered.
endif # SIDEWALK_CRITICAL_REGION
config SIDEWALK_GPIO
bool
default SIDEWALK_SUBGHZ
imply SIDEWALK_LOG
help
Sidewalk GPIO module
config SIDEWALK_GPIO_MAX
int
default 6 if SIDEWALK_SUBGHZ
default 0
help
Maximum number of GPIO assigned for use with Sidewalk GPIO API
config SIDEWALK_ACE_OSAL_ZEPHYR
bool
default SIDEWALK
help
Zephyr RTOS abstraction layer for Sidewalk
config SIDEWALK_TEMPERATURE
bool "Sidewalk temperature module"
default SIDEWALK_SUBGHZ
imply SENSOR
imply TEMP_NRF5
help
Sidewalk temperature module
config SIDEWALK_SW_INTERRUPTS
bool
default SIDEWALK
help
Sidewalk software interrupts module
config SIDEWALK_DELAY
bool
default SIDEWALK
help
Sidewalk delay module
config SIDEWALK_SPI_BUS
bool
default SIDEWALK_SUBGHZ
imply SPI
imply SIDEWALK_GPIO
imply PM
imply PM_DEVICE
help
SPI bus interface for sidewalk
# Hidden configuration (experimental)
config SIDEWALK_SWI_PRIORITY
int
default 0
config SIDEWALK_SWI_STACK_SIZE
int
default 4096
config SIDEWALK_GPIO_IRQ_PRIORITY
int
default 1
config SIDEWALK_GPIO_IRQ_STACK_SIZE
int
default 2048
config SIDEWALK_THREAD_TIMER
bool
default n
if SIDEWALK_THREAD_TIMER
config SIDEWALK_TIMER_PRIORITY
int
default 2
config SIDEWALK_TIMER_STACK_SIZE
int
default 2048
endif # Hidden configuration (experimental)
config SIDEWALK_DFU_BOOTLOADER
bool "Bootloder configuration for Sidewalk sample"
default SIDEWALK_DFU
imply IMG_MANAGER
imply BOOTLOADER_MCUBOOT
imply FLASH
imply NET_BUF
imply ZCBOR
imply CRC
imply STREAM_FLASH
imply FLASH_MAP
imply MCUMGR_TRANSPORT_BT_REASSEMBLY
imply FLASH_PAGE_LAYOUT
imply EXTRA_EXCEPTION_INFO
if SIDEWALK_DFU_SERVICE_BLE
config SIDEWALK_DFU_SERVICE_BLE_DEFAULTS
bool
default SIDEWALK_DFU_SERVICE_BLE
imply MCUMGR
imply MCUMGR_GRP_IMG
imply MCUMGR_GRP_OS
imply MCUMGR_MGMT_NOTIFICATION_HOOKS
imply MCUMGR_GRP_IMG_UPLOAD_CHECK_HOOK
imply MCUMGR_GRP_IMG_STATUS_HOOKS
imply MCUMGR_GRP_OS_RESET_HOOK
imply MCUMGR_SMP_COMMAND_STATUS_HOOKS
imply MCUMGR_TRANSPORT_BT
imply MCUMGR_TRANSPORT_BT_CONN_PARAM_CONTROL
config MCUMGR_TRANSPORT_BT_AUTHEN
default n
endif # SIDEWALK_DFU_SERVICE_BLE
if SIDEWALK_DFU_SERVICE_USB
config SIDEWALK_DFU_SERVICE_USB_DEFAULTS
bool
default SIDEWALK_DFU_SERVICE_USB
imply USB_DFU_CLASS
imply USB_DEVICE_STACK
imply USB_DFU_ENABLE_UPLOAD
imply USB_DFU_REBOOT
imply USB_DC_HAS_HS_SUPPORT
config USB_DEVICE_PRODUCT
default "DFU for Sidewalk"
config USB_REQUEST_BUFFER_SIZE
default 8192
config USB_DEVICE_INITIALIZE_AT_BOOT
default n
endif # SIDEWALK_DFU_SERVICE_USB