forked from nrfconnect/sdk-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
341 lines (255 loc) · 7 KB
/
Kconfig
File metadata and controls
341 lines (255 loc) · 7 KB
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config HAS_NRFX
bool
menu "nrfx drivers"
depends on HAS_NRFX
rsource "Kconfig.logging"
config NRFX_ADC
bool "ADC driver"
depends on $(dt_nodelabel_exists,adc) && SOC_SERIES_NRF51
config NRFX_CLOCK
bool "CLOCK driver"
depends on $(dt_nodelabel_exists,clock)
if NRFX_CLOCK
config NRFX_CLOCK_USE_LFRC_CALIBRATION
bool "Extend NRFX_CLOCK to use LFRC peripheral"
config NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED
bool "Two stage start sequence of the low frequency clock"
config NRFX_CLOCK_LF_CAL_ENABLED
bool "LFRC Calibration enabled"
config NRFX_CLOCK_LF_SRC_RC
bool "RC Oscillator"
config NRFX_CLOCK_LF_SRC_XTAL
bool "Crystal Oscillator"
config NRFX_CLOCK_LF_SRC_SYNTH
depends on !SOC_SERIES_NRF91
bool "Synthesized from HFCLK"
config NRFX_CLOCK_LF_SRC_LOW_SWING
depends on SOC_SERIES_NRF52
bool "External low swing"
config NRFX_CLOCK_LF_SRC_FULL_SWING
depends on SOC_SERIES_NRF52
bool "External full swing"
endif # NRFX_CLOCK
config NRFX_COMP
bool "COMP driver"
depends on $(dt_nodelabel_exists,comp)
config NRFX_CRACEN
bool "CRACEN drivers"
depends on SOC_COMPATIBLE_NRF54LX || SOC_COMPATIBLE_NRF71
select NRFX_CRACEN_BSIM_SUPPORT if SOC_SERIES_BSIM_NRFXX
config NRFX_CRACEN_BSIM_SUPPORT
bool
config NRFX_EGU
bool
config NRFX_EGU0
bool "EGU0 driver instance"
depends on $(dt_nodelabel_exists,egu0)
select NRFX_EGU
config NRFX_EGU1
bool "EGU1 driver instance"
depends on $(dt_nodelabel_exists,egu1)
select NRFX_EGU
config NRFX_EGU2
bool "EGU2 driver instance"
depends on $(dt_nodelabel_exists,egu2)
select NRFX_EGU
config NRFX_EGU3
bool "EGU3 driver instance"
depends on $(dt_nodelabel_exists,egu3)
select NRFX_EGU
config NRFX_EGU4
bool "EGU4 driver instance"
depends on $(dt_nodelabel_exists,egu4)
select NRFX_EGU
config NRFX_EGU5
bool "EGU5 driver instance"
depends on $(dt_nodelabel_exists,egu5)
select NRFX_EGU
config NRFX_EGU10
bool "EGU10 driver instance"
depends on $(dt_nodelabel_exists,egu10)
select NRFX_EGU
config NRFX_EGU20
bool "EGU20 driver instance"
depends on $(dt_nodelabel_exists,egu20)
select NRFX_EGU
config NRFX_EGU020
bool "EGU020 driver instance"
depends on $(dt_nodelabel_exists,egu020)
select NRFX_EGU
config NRFX_EGU130
bool "EGU130 driver instance"
depends on $(dt_nodelabel_exists,egu130)
select NRFX_EGU
config NRFX_GPIOTE
bool "GPIOTE driver"
config NRFX_GPIOTE_NONUNIFORM_INSTANCES
def_bool $(dt_nodelabel_enabled,gpiote0)
depends on $(dt_nodelabel_bool_prop,gpiote0,fixed-channels-supported)
config NRFX_GPIOTE_NUM_OF_EVT_HANDLERS
int "Number of event handlers"
depends on NRFX_GPIOTE
range 1 15
help
Specifies number of handlers that can be registered to nrfx_gpiote driver
by the user.
config NRFX_GPPI
bool "Generic PPI layer"
help
Enable the nrfx_gppi utilities providing unified API for creating PPI
connections across SoC families.
config NRFX_GPPI_V1
bool "GPPI layer legacy"
depends on NRFX_GPPI
help
When enabled then legacy version of Generic PPI layer is used.
config NRFX_GPPI_SD2PPI_GLOBAL
bool
depends on NRFX_GPPI && !NRFX_GPPI_V1
help
Indicates GPPI implementation for SD^2PPI (Secure multi-Domain DPPI) architecture.
SD^2PPI architecture is using multiple instances of DPPI controllers and Ironside service
to configure the security and ownership of the PPI resources.
config NRFX_GRTC
bool "GRTC driver"
depends on $(dt_nodelabel_exists,grtc)
config NRFX_I2S
bool "I2S driver"
config NRFX_IPC
bool "IPC driver"
depends on $(dt_nodelabel_exists,ipc)
config NRFX_KMU
bool "Key Management Unit driver"
help
Enable the nrfx_kmu driver.
config NRFX_LPCOMP
bool "LPCOMP driver"
depends on $(dt_nodelabel_exists,comp) && !SOC_NRF52810 && !SOC_NRF52811 && !SOC_NRF52820
config NRFX_MRAMC
bool "MRAMC driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_MRAMC))
config NRFX_NFCT
bool "NFCT driver"
depends on $(dt_nodelabel_exists,nfct)
select NRFX_TIMER
config NRFX_NVMC
bool "NVMC driver"
depends on $(dt_nodelabel_exists,flash_controller)
config NRFX_PDM
bool "PDM driver"
config NRFX_POWER
bool "POWER driver"
depends on $(dt_nodelabel_exists,power)
# On SoCs featuring the USBREG peripheral, the POWER driver uses
# internally the USBREG driver.
select NRFX_USBREG if $(dt_nodelabel_exists,usbreg)
config NRFX_PWM
bool "PWM driver"
config NRFX_QDEC
bool "QDEC driver"
config NRFX_QSPI
bool "QSPI driver"
depends on $(dt_nodelabel_exists,qspi)
config NRFX_RNG
bool "RNG driver"
depends on $(dt_nodelabel_exists,rng)
config NRFX_RRAMC
bool "RRAMC driver"
depends on $(dt_nodelabel_exists,rram_controller)
config NRFX_RTC
bool "RTC driver"
config NRFX_SAADC
bool "SAADC driver"
depends on $(dt_nodelabel_exists,adc) && !SOC_SERIES_NRF51
config NRFX_SPI
bool "SPI driver"
config NRFX_SPIM
bool "SPIM driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM))
config NRFX_SPIS
bool "SPIS driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS))
config NRFX_SYSTICK
bool "SYSTICK driver"
depends on CPU_CORTEX_M_HAS_SYSTICK
config NRFX_TBM
bool "TBM driver"
depends on $(dt_nodelabel_exists,tbm)
config NRFX_TDM
bool "TDM driver"
config NRFX_TEMP
bool "TEMP driver"
depends on $(dt_nodelabel_exists,temp)
config NRFX_TIMER
bool "TIMER driver"
config NRFX_TWI
bool "NRFX driver for TWI peripheral"
config NRFX_TWIM
bool "NRFX driver for TWIM peripheral"
config NRFX_TWIS
bool "NRFX driver for TWIS peripheral"
config NRFX_UART
bool "UART driver"
config NRFX_UARTE
bool "UARTE driver"
config NRFX_UARTE_CONFIG_SKIP_GPIO_CONFIG
bool "UARTE GPIO configuration support"
depends on NRFX_UARTE
config NRFX_UARTE_CONFIG_SKIP_PSEL_CONFIG
bool "UARTE PSEL configuration support"
depends on NRFX_UARTE
config NRFX_UARTE_CONFIG_TX_LINK
bool "UARTE TX transfer linking support"
depends on NRFX_UARTE
config NRFX_UARTE_CONFIG_RX_CACHE_ENABLED
bool "UARTE RX caching support"
depends on NRFX_UARTE
help
Feature might be enabled on platforms which has limitations regarding addresses
to which receiver can write data. If enabled then internal driver buffers
(cache buffers) are used for DMA transfers and data is copied to the user buffer.
config NRFX_USBREG
bool "USBREG driver"
depends on $(dt_nodelabel_exists,usbreg)
config NRFX_WDT
bool
menu "Peripheral Resource Sharing module"
config NRFX_PRS
bool
config NRFX_PRS_BOX_0
bool "PRS box 0"
select NRFX_PRS
config NRFX_PRS_BOX_1
bool "PRS box 1"
select NRFX_PRS
config NRFX_PRS_BOX_2
bool "PRS box 2"
select NRFX_PRS
config NRFX_PRS_BOX_3
bool "PRS box 3"
select NRFX_PRS
config NRFX_PRS_BOX_4
bool "PRS box 4"
select NRFX_PRS
config NRFX_PRS_BOX_5
bool "PRS box 5"
select NRFX_PRS
config NRFX_PRS_BOX_6
bool "PRS box 6"
select NRFX_PRS
config NRFX_PRS_BOX_7
bool "PRS box 7"
select NRFX_PRS
config NRFX_PRS_BOX_8
bool "PRS box 8"
select NRFX_PRS
config NRFX_PRS_BOX_9
bool "PRS box 9"
select NRFX_PRS
endmenu
config NRFX_RESERVED_RESOURCES_HEADER
string
default "nrfx_reserved_resources_ncs.h"
endmenu # "nrfx drivers"