· 4 years ago · Jul 23, 2021, 12:46 PM
1/**
2 * Copyright (c) 2017 - 2019, Nordic Semiconductor ASA
3 *
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without modification,
7 * are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice, this
10 * list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form, except as embedded into a Nordic
13 * Semiconductor ASA integrated circuit in a product or a software update for
14 * such product, must reproduce the above copyright notice, this list of
15 * conditions and the following disclaimer in the documentation and/or other
16 * materials provided with the distribution.
17 *
18 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
19 * contributors may be used to endorse or promote products derived from this
20 * software without specific prior written permission.
21 *
22 * 4. This software, with or without modification, must only be used with a
23 * Nordic Semiconductor ASA integrated circuit.
24 *
25 * 5. Any software provided in binary form under this license must not be reverse
26 * engineered, decompiled, modified and/or disassembled.
27 *
28 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
29 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
31 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
34 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
37 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 *
39 */
40
41
42
43#ifndef SDK_CONFIG_H
44#define SDK_CONFIG_H
45// <<< Use Configuration Wizard in Context Menu >>>\n
46#ifdef USE_APP_CONFIG
47#include "app_config.h"
48#endif
49// <h> nRF_BLE
50
51//==========================================================
52// <q> BLE_ADVERTISING_ENABLED - ble_advertising - Advertising module
53
54
55#ifndef BLE_ADVERTISING_ENABLED
56#define BLE_ADVERTISING_ENABLED 1
57#endif
58
59// <q> BLE_DTM_ENABLED - ble_dtm - Module for testing RF/PHY using DTM commands
60
61
62#ifndef BLE_DTM_ENABLED
63#define BLE_DTM_ENABLED 0
64#endif
65
66// <q> BLE_RACP_ENABLED - ble_racp - Record Access Control Point library
67
68
69#ifndef BLE_RACP_ENABLED
70#define BLE_RACP_ENABLED 0
71#endif
72
73// <e> NRF_BLE_CONN_PARAMS_ENABLED - ble_conn_params - Initiating and executing a connection parameters negotiation procedure
74//==========================================================
75#ifndef NRF_BLE_CONN_PARAMS_ENABLED
76#define NRF_BLE_CONN_PARAMS_ENABLED 1
77#endif
78// <o> NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION - The largest acceptable deviation in slave latency.
79// <i> The largest deviation (+ or -) from the requested slave latency that will not be renegotiated.
80
81#ifndef NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION
82#define NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION 499
83#endif
84
85// <o> NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION - The largest acceptable deviation (in 10 ms units) in supervision timeout.
86// <i> The largest deviation (+ or -, in 10 ms units) from the requested supervision timeout that will not be renegotiated.
87
88#ifndef NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION
89#define NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION 65535
90#endif
91
92// </e>
93
94// <q> NRF_BLE_GATT_ENABLED - nrf_ble_gatt - GATT module
95
96
97#ifndef NRF_BLE_GATT_ENABLED
98#define NRF_BLE_GATT_ENABLED 1
99#endif
100
101// <q> NRF_BLE_LESC_ENABLED - nrf_ble_lesc - Le Secure Connection
102
103
104#ifndef NRF_BLE_LESC_ENABLED
105#define NRF_BLE_LESC_ENABLED 1
106#endif
107
108// <e> NRF_BLE_QWR_ENABLED - nrf_ble_qwr - Queued writes support module (prepare/execute write)
109//==========================================================
110#ifndef NRF_BLE_QWR_ENABLED
111#define NRF_BLE_QWR_ENABLED 1
112#endif
113// <o> NRF_BLE_QWR_MAX_ATTR - Maximum number of attribute handles that can be registered. This number must be adjusted according to the number of attributes for which Queued Writes will be enabled. If it is zero, the module will reject all Queued Write requests.
114#ifndef NRF_BLE_QWR_MAX_ATTR
115#define NRF_BLE_QWR_MAX_ATTR 0
116#endif
117
118// </e>
119
120// <e> NRF_BLE_SCAN_ENABLED - nrf_ble_scan - Scanning Module
121//==========================================================
122#ifndef NRF_BLE_SCAN_ENABLED
123#define NRF_BLE_SCAN_ENABLED 1
124#endif
125// <o> NRF_BLE_SCAN_BUFFER - Data length for an advertising set.
126#ifndef NRF_BLE_SCAN_BUFFER
127#define NRF_BLE_SCAN_BUFFER 31
128#endif
129
130// <o> NRF_BLE_SCAN_NAME_MAX_LEN - Maximum size for the name to search in the advertisement report.
131#ifndef NRF_BLE_SCAN_NAME_MAX_LEN
132#define NRF_BLE_SCAN_NAME_MAX_LEN 32
133#endif
134
135// <o> NRF_BLE_SCAN_SHORT_NAME_MAX_LEN - Maximum size of the short name to search for in the advertisement report.
136#ifndef NRF_BLE_SCAN_SHORT_NAME_MAX_LEN
137#define NRF_BLE_SCAN_SHORT_NAME_MAX_LEN 32
138#endif
139
140// <o> NRF_BLE_SCAN_SCAN_INTERVAL - Scanning interval. Determines the scan interval in units of 0.625 millisecond.
141#ifndef NRF_BLE_SCAN_SCAN_INTERVAL
142#define NRF_BLE_SCAN_SCAN_INTERVAL 165
143#endif
144
145// <o> NRF_BLE_SCAN_SCAN_DURATION - Duration of a scanning session in units of 10 ms. Range: 0x0001 - 0xFFFF (10 ms to 10.9225 ms). If set to 0x0000, the scanning continues until it is explicitly disabled.
146#ifndef NRF_BLE_SCAN_SCAN_DURATION
147#define NRF_BLE_SCAN_SCAN_DURATION 0
148#endif
149
150// <o> NRF_BLE_SCAN_SCAN_WINDOW - Scanning window. Determines the scanning window in units of 0.625 millisecond.
151#ifndef NRF_BLE_SCAN_SCAN_WINDOW
152#define NRF_BLE_SCAN_SCAN_WINDOW 80
153#endif
154
155// <o> NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL - Determines minimum connection interval in milliseconds.
156#ifndef NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL
157#define NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL 7.5
158#endif
159
160// <o> NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL - Determines maximum connection interval in milliseconds.
161#ifndef NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL
162#define NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL 30
163#endif
164
165// <o> NRF_BLE_SCAN_SLAVE_LATENCY - Determines the slave latency in counts of connection events.
166#ifndef NRF_BLE_SCAN_SLAVE_LATENCY
167#define NRF_BLE_SCAN_SLAVE_LATENCY 0
168#endif
169
170// <o> NRF_BLE_SCAN_SUPERVISION_TIMEOUT - Determines the supervision time-out in units of 10 millisecond.
171#ifndef NRF_BLE_SCAN_SUPERVISION_TIMEOUT
172#define NRF_BLE_SCAN_SUPERVISION_TIMEOUT 4000
173#endif
174
175// <o> NRF_BLE_SCAN_SCAN_PHY - PHY to scan on.
176
177// <0=> BLE_GAP_PHY_AUTO
178// <1=> BLE_GAP_PHY_1MBPS
179// <2=> BLE_GAP_PHY_2MBPS
180// <4=> BLE_GAP_PHY_CODED
181// <255=> BLE_GAP_PHY_NOT_SET
182
183#ifndef NRF_BLE_SCAN_SCAN_PHY
184#define NRF_BLE_SCAN_SCAN_PHY 1
185#endif
186
187// <e> NRF_BLE_SCAN_FILTER_ENABLE - Enabling filters for the Scanning Module.
188//==========================================================
189#ifndef NRF_BLE_SCAN_FILTER_ENABLE
190#define NRF_BLE_SCAN_FILTER_ENABLE 1
191#endif
192// <o> NRF_BLE_SCAN_UUID_CNT - Number of filters for UUIDs.
193#ifndef NRF_BLE_SCAN_UUID_CNT
194#define NRF_BLE_SCAN_UUID_CNT 1
195#endif
196
197// <o> NRF_BLE_SCAN_NAME_CNT - Number of name filters.
198#ifndef NRF_BLE_SCAN_NAME_CNT
199#define NRF_BLE_SCAN_NAME_CNT 1
200#endif
201
202// <o> NRF_BLE_SCAN_SHORT_NAME_CNT - Number of short name filters.
203#ifndef NRF_BLE_SCAN_SHORT_NAME_CNT
204#define NRF_BLE_SCAN_SHORT_NAME_CNT 0
205#endif
206
207// <o> NRF_BLE_SCAN_ADDRESS_CNT - Number of address filters.
208#ifndef NRF_BLE_SCAN_ADDRESS_CNT
209#define NRF_BLE_SCAN_ADDRESS_CNT 1
210#endif
211
212// <o> NRF_BLE_SCAN_APPEARANCE_CNT - Number of appearance filters.
213#ifndef NRF_BLE_SCAN_APPEARANCE_CNT
214#define NRF_BLE_SCAN_APPEARANCE_CNT 0
215#endif
216
217// </e>
218
219// <e> PEER_MANAGER_ENABLED - peer_manager - Peer Manager
220//==========================================================
221#ifndef PEER_MANAGER_ENABLED
222#define PEER_MANAGER_ENABLED 1
223#endif
224// <o> PM_MAX_REGISTRANTS - Number of event handlers that can be registered.
225#ifndef PM_MAX_REGISTRANTS
226#define PM_MAX_REGISTRANTS 3
227#endif
228
229// <o> PM_FLASH_BUFFERS - Number of internal buffers for flash operations.
230// <i> Decrease this value to lower RAM usage.
231
232#ifndef PM_FLASH_BUFFERS
233#define PM_FLASH_BUFFERS 4
234#endif
235
236// <q> PM_CENTRAL_ENABLED - Enable/disable central-specific Peer Manager functionality.
237
238
239// <i> Enable/disable central-specific Peer Manager functionality.
240
241#ifndef PM_CENTRAL_ENABLED
242#define PM_CENTRAL_ENABLED 0
243#endif
244
245// <q> PM_SERVICE_CHANGED_ENABLED - Enable/disable the service changed management for GATT server in Peer Manager.
246
247
248// <i> If not using a GATT server, or using a server wihout a service changed characteristic,
249// <i> disable this to save code space.
250
251#ifndef PM_SERVICE_CHANGED_ENABLED
252#define PM_SERVICE_CHANGED_ENABLED 1
253#endif
254
255// <q> PM_PEER_RANKS_ENABLED - Enable/disable the peer rank management in Peer Manager.
256
257
258// <i> Set this to false to save code space if not using the peer rank API.
259
260#ifndef PM_PEER_RANKS_ENABLED
261#define PM_PEER_RANKS_ENABLED 1
262#endif
263
264// <q> PM_LESC_ENABLED - Enable/disable LESC support in Peer Manager.
265
266
267// <i> If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to respond to LESC-related BLE events. If LESC support is not required, set this to false to save code space.
268
269#ifndef PM_LESC_ENABLED
270#define PM_LESC_ENABLED 1
271#endif
272
273// <e> PM_RA_PROTECTION_ENABLED - Enable/disable protection against repeated pairing attempts in Peer Manager.
274//==========================================================
275#ifndef PM_RA_PROTECTION_ENABLED
276#define PM_RA_PROTECTION_ENABLED 1
277#endif
278// <o> PM_RA_PROTECTION_TRACKED_PEERS_NUM - Maximum number of peers whose authorization status can be tracked.
279#ifndef PM_RA_PROTECTION_TRACKED_PEERS_NUM
280#define PM_RA_PROTECTION_TRACKED_PEERS_NUM 8
281#endif
282
283// <o> PM_RA_PROTECTION_MIN_WAIT_INTERVAL - Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
284#ifndef PM_RA_PROTECTION_MIN_WAIT_INTERVAL
285#define PM_RA_PROTECTION_MIN_WAIT_INTERVAL 4000
286#endif
287
288// <o> PM_RA_PROTECTION_MAX_WAIT_INTERVAL - Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
289#ifndef PM_RA_PROTECTION_MAX_WAIT_INTERVAL
290#define PM_RA_PROTECTION_MAX_WAIT_INTERVAL 64000
291#endif
292
293// <o> PM_RA_PROTECTION_REWARD_PERIOD - Reward period (in ms).
294// <i> The waiting interval is gradually decreased when no new failed pairing attempts are made during reward period.
295
296#ifndef PM_RA_PROTECTION_REWARD_PERIOD
297#define PM_RA_PROTECTION_REWARD_PERIOD 10000
298#endif
299
300// </e>
301
302// <o> PM_HANDLER_SEC_DELAY_MS - Delay before starting security.
303// <i> This might be necessary for interoperability reasons, especially as peripheral.
304
305#ifndef PM_HANDLER_SEC_DELAY_MS
306#define PM_HANDLER_SEC_DELAY_MS 0
307#endif
308
309// </e>
310
311// </h>
312//==========================================================
313
314// <h> nRF_BLE_Services
315
316//==========================================================
317// <q> BLE_ANCS_C_ENABLED - ble_ancs_c - Apple Notification Service Client
318
319
320#ifndef BLE_ANCS_C_ENABLED
321#define BLE_ANCS_C_ENABLED 0
322#endif
323
324// <q> BLE_ANS_C_ENABLED - ble_ans_c - Alert Notification Service Client
325
326
327#ifndef BLE_ANS_C_ENABLED
328#define BLE_ANS_C_ENABLED 0
329#endif
330
331// <q> BLE_BAS_C_ENABLED - ble_bas_c - Battery Service Client
332
333
334#ifndef BLE_BAS_C_ENABLED
335#define BLE_BAS_C_ENABLED 0
336#endif
337
338// <e> BLE_BAS_ENABLED - ble_bas - Battery Service
339//==========================================================
340#ifndef BLE_BAS_ENABLED
341#define BLE_BAS_ENABLED 0
342#endif
343// <e> BLE_BAS_CONFIG_LOG_ENABLED - Enables logging in the module.
344//==========================================================
345#ifndef BLE_BAS_CONFIG_LOG_ENABLED
346#define BLE_BAS_CONFIG_LOG_ENABLED 0
347#endif
348// <o> BLE_BAS_CONFIG_LOG_LEVEL - Default Severity level
349
350// <0=> Off
351// <1=> Error
352// <2=> Warning
353// <3=> Info
354// <4=> Debug
355
356#ifndef BLE_BAS_CONFIG_LOG_LEVEL
357#define BLE_BAS_CONFIG_LOG_LEVEL 3
358#endif
359
360// <o> BLE_BAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
361
362// <0=> Default
363// <1=> Black
364// <2=> Red
365// <3=> Green
366// <4=> Yellow
367// <5=> Blue
368// <6=> Magenta
369// <7=> Cyan
370// <8=> White
371
372#ifndef BLE_BAS_CONFIG_INFO_COLOR
373#define BLE_BAS_CONFIG_INFO_COLOR 0
374#endif
375
376// <o> BLE_BAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
377
378// <0=> Default
379// <1=> Black
380// <2=> Red
381// <3=> Green
382// <4=> Yellow
383// <5=> Blue
384// <6=> Magenta
385// <7=> Cyan
386// <8=> White
387
388#ifndef BLE_BAS_CONFIG_DEBUG_COLOR
389#define BLE_BAS_CONFIG_DEBUG_COLOR 0
390#endif
391
392// </e>
393
394// </e>
395
396// <q> BLE_CSCS_ENABLED - ble_cscs - Cycling Speed and Cadence Service
397
398
399#ifndef BLE_CSCS_ENABLED
400#define BLE_CSCS_ENABLED 0
401#endif
402
403// <q> BLE_CTS_C_ENABLED - ble_cts_c - Current Time Service Client
404
405
406#ifndef BLE_CTS_C_ENABLED
407#define BLE_CTS_C_ENABLED 0
408#endif
409
410// <q> BLE_DIS_ENABLED - ble_dis - Device Information Service
411
412
413#ifndef BLE_DIS_ENABLED
414#define BLE_DIS_ENABLED 1
415#endif
416
417// <q> BLE_GLS_ENABLED - ble_gls - Glucose Service
418
419
420#ifndef BLE_GLS_ENABLED
421#define BLE_GLS_ENABLED 0
422#endif
423
424// <q> BLE_HIDS_ENABLED - ble_hids - Human Interface Device Service
425
426
427#ifndef BLE_HIDS_ENABLED
428#define BLE_HIDS_ENABLED 0
429#endif
430
431// <q> BLE_HRS_C_ENABLED - ble_hrs_c - Heart Rate Service Client
432
433
434#ifndef BLE_HRS_C_ENABLED
435#define BLE_HRS_C_ENABLED 0
436#endif
437
438// <q> BLE_HRS_ENABLED - ble_hrs - Heart Rate Service
439
440
441#ifndef BLE_HRS_ENABLED
442#define BLE_HRS_ENABLED 0
443#endif
444
445// <q> BLE_HTS_ENABLED - ble_hts - Health Thermometer Service
446
447
448#ifndef BLE_HTS_ENABLED
449#define BLE_HTS_ENABLED 0
450#endif
451
452// <q> BLE_IAS_C_ENABLED - ble_ias_c - Immediate Alert Service Client
453
454
455#ifndef BLE_IAS_C_ENABLED
456#define BLE_IAS_C_ENABLED 0
457#endif
458
459// <e> BLE_IAS_ENABLED - ble_ias - Immediate Alert Service
460//==========================================================
461#ifndef BLE_IAS_ENABLED
462#define BLE_IAS_ENABLED 0
463#endif
464// <e> BLE_IAS_CONFIG_LOG_ENABLED - Enables logging in the module.
465//==========================================================
466#ifndef BLE_IAS_CONFIG_LOG_ENABLED
467#define BLE_IAS_CONFIG_LOG_ENABLED 0
468#endif
469// <o> BLE_IAS_CONFIG_LOG_LEVEL - Default Severity level
470
471// <0=> Off
472// <1=> Error
473// <2=> Warning
474// <3=> Info
475// <4=> Debug
476
477#ifndef BLE_IAS_CONFIG_LOG_LEVEL
478#define BLE_IAS_CONFIG_LOG_LEVEL 3
479#endif
480
481// <o> BLE_IAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
482
483// <0=> Default
484// <1=> Black
485// <2=> Red
486// <3=> Green
487// <4=> Yellow
488// <5=> Blue
489// <6=> Magenta
490// <7=> Cyan
491// <8=> White
492
493#ifndef BLE_IAS_CONFIG_INFO_COLOR
494#define BLE_IAS_CONFIG_INFO_COLOR 0
495#endif
496
497// <o> BLE_IAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
498
499// <0=> Default
500// <1=> Black
501// <2=> Red
502// <3=> Green
503// <4=> Yellow
504// <5=> Blue
505// <6=> Magenta
506// <7=> Cyan
507// <8=> White
508
509#ifndef BLE_IAS_CONFIG_DEBUG_COLOR
510#define BLE_IAS_CONFIG_DEBUG_COLOR 0
511#endif
512
513// </e>
514
515// </e>
516
517// <q> BLE_LBS_C_ENABLED - ble_lbs_c - Nordic LED Button Service Client
518
519
520#ifndef BLE_LBS_C_ENABLED
521#define BLE_LBS_C_ENABLED 0
522#endif
523
524// <q> BLE_LBS_ENABLED - ble_lbs - LED Button Service
525
526
527#ifndef BLE_LBS_ENABLED
528#define BLE_LBS_ENABLED 0
529#endif
530
531// <q> BLE_LLS_ENABLED - ble_lls - Link Loss Service
532
533
534#ifndef BLE_LLS_ENABLED
535#define BLE_LLS_ENABLED 0
536#endif
537
538// <q> BLE_NUS_C_ENABLED - ble_nus_c - Nordic UART Central Service
539
540
541#ifndef BLE_NUS_C_ENABLED
542#define BLE_NUS_C_ENABLED 0
543#endif
544
545// <e> BLE_NUS_ENABLED - ble_nus - Nordic UART Service
546//==========================================================
547#ifndef BLE_NUS_ENABLED
548#define BLE_NUS_ENABLED 0
549#endif
550// <e> BLE_NUS_CONFIG_LOG_ENABLED - Enables logging in the module.
551//==========================================================
552#ifndef BLE_NUS_CONFIG_LOG_ENABLED
553#define BLE_NUS_CONFIG_LOG_ENABLED 0
554#endif
555// <o> BLE_NUS_CONFIG_LOG_LEVEL - Default Severity level
556
557// <0=> Off
558// <1=> Error
559// <2=> Warning
560// <3=> Info
561// <4=> Debug
562
563#ifndef BLE_NUS_CONFIG_LOG_LEVEL
564#define BLE_NUS_CONFIG_LOG_LEVEL 3
565#endif
566
567// <o> BLE_NUS_CONFIG_INFO_COLOR - ANSI escape code prefix.
568
569// <0=> Default
570// <1=> Black
571// <2=> Red
572// <3=> Green
573// <4=> Yellow
574// <5=> Blue
575// <6=> Magenta
576// <7=> Cyan
577// <8=> White
578
579#ifndef BLE_NUS_CONFIG_INFO_COLOR
580#define BLE_NUS_CONFIG_INFO_COLOR 0
581#endif
582
583// <o> BLE_NUS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
584
585// <0=> Default
586// <1=> Black
587// <2=> Red
588// <3=> Green
589// <4=> Yellow
590// <5=> Blue
591// <6=> Magenta
592// <7=> Cyan
593// <8=> White
594
595#ifndef BLE_NUS_CONFIG_DEBUG_COLOR
596#define BLE_NUS_CONFIG_DEBUG_COLOR 0
597#endif
598
599// </e>
600
601// </e>
602
603// <q> BLE_RSCS_C_ENABLED - ble_rscs_c - Running Speed and Cadence Client
604
605
606#ifndef BLE_RSCS_C_ENABLED
607#define BLE_RSCS_C_ENABLED 0
608#endif
609
610// <q> BLE_RSCS_ENABLED - ble_rscs - Running Speed and Cadence Service
611
612
613#ifndef BLE_RSCS_ENABLED
614#define BLE_RSCS_ENABLED 0
615#endif
616
617// <q> BLE_TPS_ENABLED - ble_tps - TX Power Service
618
619
620#ifndef BLE_TPS_ENABLED
621#define BLE_TPS_ENABLED 0
622#endif
623
624// </h>
625//==========================================================
626
627// <h> nRF_Core
628
629//==========================================================
630// <e> NRF_MPU_LIB_ENABLED - nrf_mpu_lib - Module for MPU
631//==========================================================
632#ifndef NRF_MPU_LIB_ENABLED
633#define NRF_MPU_LIB_ENABLED 0
634#endif
635// <q> NRF_MPU_LIB_CLI_CMDS - Enable CLI commands specific to the module.
636
637
638#ifndef NRF_MPU_LIB_CLI_CMDS
639#define NRF_MPU_LIB_CLI_CMDS 0
640#endif
641
642// </e>
643
644// <e> NRF_STACK_GUARD_ENABLED - nrf_stack_guard - Stack guard
645//==========================================================
646#ifndef NRF_STACK_GUARD_ENABLED
647#define NRF_STACK_GUARD_ENABLED 0
648#endif
649// <o> NRF_STACK_GUARD_CONFIG_SIZE - Size of the stack guard.
650
651// <5=> 32 bytes
652// <6=> 64 bytes
653// <7=> 128 bytes
654// <8=> 256 bytes
655// <9=> 512 bytes
656// <10=> 1024 bytes
657// <11=> 2048 bytes
658// <12=> 4096 bytes
659
660#ifndef NRF_STACK_GUARD_CONFIG_SIZE
661#define NRF_STACK_GUARD_CONFIG_SIZE 7
662#endif
663
664// </e>
665
666// </h>
667//==========================================================
668
669// <h> nRF_Crypto
670
671//==========================================================
672// <e> NRF_CRYPTO_ENABLED - nrf_crypto - Cryptography library.
673//==========================================================
674#ifndef NRF_CRYPTO_ENABLED
675#define NRF_CRYPTO_ENABLED 1
676#endif
677// <o> NRF_CRYPTO_ALLOCATOR - Memory allocator
678
679
680// <i> Choose memory allocator used by nrf_crypto. Default is alloca if possible or nrf_malloc otherwise. If 'User macros' are selected, the user has to create 'nrf_crypto_allocator.h' file that contains NRF_CRYPTO_ALLOC, NRF_CRYPTO_FREE, and NRF_CRYPTO_ALLOC_ON_STACK.
681// <0=> Default
682// <1=> User macros
683// <2=> On stack (alloca)
684// <3=> C dynamic memory (malloc)
685// <4=> SDK Memory Manager (nrf_malloc)
686
687#ifndef NRF_CRYPTO_ALLOCATOR
688#define NRF_CRYPTO_ALLOCATOR 0
689#endif
690
691// <e> NRF_CRYPTO_BACKEND_CC310_BL_ENABLED - Enable the ARM Cryptocell CC310 reduced backend.
692
693// <i> The CC310 hardware-accelerated cryptography backend with reduced functionality and footprint (only available on nRF52840).
694//==========================================================
695#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ENABLED
696#define NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 0
697#endif
698// <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310_BL.
699
700
701#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED
702#define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 0
703#endif
704
705// <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310_BL.
706
707
708#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED
709#define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 1
710#endif
711
712// <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED - CC310_BL SHA-256 hash functionality.
713
714
715// <i> CC310_BL backend implementation for hardware-accelerated SHA-256.
716
717#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED
718#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 1
719#endif
720
721// <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED - nrf_cc310_bl buffers to RAM before running hash operation
722
723
724// <i> Enabling this makes hashing of addresses in FLASH range possible. Size of buffer allocated for hashing is set by NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
725
726#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED
727#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 0
728#endif
729
730// <o> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE - nrf_cc310_bl hash outputs digests in little endian
731// <i> Makes the nrf_cc310_bl hash functions output digests in little endian format. Only for use in nRF SDK DFU!
732
733#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
734#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 4096
735#endif
736
737// <q> NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310 bl.
738
739
740// <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
741
742#ifndef NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED
743#define NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 1
744#endif
745
746// </e>
747
748// <e> NRF_CRYPTO_BACKEND_CC310_ENABLED - Enable the ARM Cryptocell CC310 backend.
749
750// <i> The CC310 hardware-accelerated cryptography backend (only available on nRF52840).
751//==========================================================
752#ifndef NRF_CRYPTO_BACKEND_CC310_ENABLED
753#define NRF_CRYPTO_BACKEND_CC310_ENABLED 0
754#endif
755// <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED - Enable the AES CBC mode using CC310.
756
757
758#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED
759#define NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 1
760#endif
761
762// <q> NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED - Enable the AES CTR mode using CC310.
763
764
765#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED
766#define NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 1
767#endif
768
769// <q> NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED - Enable the AES ECB mode using CC310.
770
771
772#ifndef NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED
773#define NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 1
774#endif
775
776// <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED - Enable the AES CBC_MAC mode using CC310.
777
778
779#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED
780#define NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 1
781#endif
782
783// <q> NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED - Enable the AES CMAC mode using CC310.
784
785
786#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED
787#define NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 1
788#endif
789
790// <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED - Enable the AES CCM mode using CC310.
791
792
793#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED
794#define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1
795#endif
796
797// <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED - Enable the AES CCM* mode using CC310.
798
799
800#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED
801#define NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 1
802#endif
803
804// <q> NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using CC310.
805
806
807#ifndef NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED
808#define NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 1
809#endif
810
811// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED - Enable the secp160r1 elliptic curve support using CC310.
812
813
814#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED
815#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 1
816#endif
817
818// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED - Enable the secp160r2 elliptic curve support using CC310.
819
820
821#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED
822#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 1
823#endif
824
825// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED - Enable the secp192r1 elliptic curve support using CC310.
826
827
828#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED
829#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 1
830#endif
831
832// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310.
833
834
835#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED
836#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 1
837#endif
838
839// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310.
840
841
842#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED
843#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1
844#endif
845
846// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED - Enable the secp384r1 elliptic curve support using CC310.
847
848
849#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED
850#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 1
851#endif
852
853// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED - Enable the secp521r1 elliptic curve support using CC310.
854
855
856#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED
857#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 1
858#endif
859
860// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED - Enable the secp160k1 elliptic curve support using CC310.
861
862
863#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED
864#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 1
865#endif
866
867// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED - Enable the secp192k1 elliptic curve support using CC310.
868
869
870#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED
871#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 1
872#endif
873
874// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED - Enable the secp224k1 elliptic curve support using CC310.
875
876
877#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED
878#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 1
879#endif
880
881// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED - Enable the secp256k1 elliptic curve support using CC310.
882
883
884#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED
885#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 1
886#endif
887
888// <q> NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED - Enable the Curve25519 curve support using CC310.
889
890
891#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED
892#define NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 1
893#endif
894
895// <q> NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED - Enable the Ed25519 curve support using CC310.
896
897
898#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED
899#define NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 1
900#endif
901
902// <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED - CC310 SHA-256 hash functionality.
903
904
905// <i> CC310 backend implementation for hardware-accelerated SHA-256.
906
907#ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED
908#define NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 1
909#endif
910
911// <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED - CC310 SHA-512 hash functionality
912
913
914// <i> CC310 backend implementation for SHA-512 (in software).
915
916#ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED
917#define NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 1
918#endif
919
920// <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED - CC310 HMAC using SHA-256
921
922
923// <i> CC310 backend implementation for HMAC using hardware-accelerated SHA-256.
924
925#ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED
926#define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 1
927#endif
928
929// <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED - CC310 HMAC using SHA-512
930
931
932// <i> CC310 backend implementation for HMAC using SHA-512 (in software).
933
934#ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED
935#define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 1
936#endif
937
938// <q> NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED - Enable RNG support using CC310.
939
940
941#ifndef NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED
942#define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1
943#endif
944
945// <q> NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310.
946
947
948// <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
949
950#ifndef NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED
951#define NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 1
952#endif
953
954// </e>
955
956// <e> NRF_CRYPTO_BACKEND_CIFRA_ENABLED - Enable the Cifra backend.
957//==========================================================
958#ifndef NRF_CRYPTO_BACKEND_CIFRA_ENABLED
959#define NRF_CRYPTO_BACKEND_CIFRA_ENABLED 0
960#endif
961// <q> NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED - Enable the AES EAX mode using Cifra.
962
963
964#ifndef NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED
965#define NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 1
966#endif
967
968// </e>
969
970// <e> NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED - Enable the mbed TLS backend.
971//==========================================================
972#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED
973#define NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 0
974#endif
975// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED - Enable the AES CBC mode mbed TLS.
976
977
978#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED
979#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 1
980#endif
981
982// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED - Enable the AES CTR mode using mbed TLS.
983
984
985#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED
986#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 1
987#endif
988
989// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED - Enable the AES CFB mode using mbed TLS.
990
991
992#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED
993#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 1
994#endif
995
996// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED - Enable the AES ECB mode using mbed TLS.
997
998
999#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED
1000#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 1
1001#endif
1002
1003// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED - Enable the AES CBC MAC mode using mbed TLS.
1004
1005
1006#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED
1007#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 1
1008#endif
1009
1010// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED - Enable the AES CMAC mode using mbed TLS.
1011
1012
1013#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED
1014#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 1
1015#endif
1016
1017// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED - Enable the AES CCM mode using mbed TLS.
1018
1019
1020#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED
1021#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 1
1022#endif
1023
1024// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED - Enable the AES GCM mode using mbed TLS.
1025
1026
1027#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED
1028#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 1
1029#endif
1030
1031// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
1032
1033
1034// <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using MBEDTLS
1035
1036#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED
1037#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 1
1038#endif
1039
1040// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
1041
1042
1043// <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using MBEDTLS
1044
1045#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED
1046#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 1
1047#endif
1048
1049// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
1050
1051
1052// <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using MBEDTLS
1053
1054#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED
1055#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 1
1056#endif
1057
1058// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED - Enable secp384r1 (NIST 384-bit) curve
1059
1060
1061// <i> Enable this setting if you need secp384r1 (NIST 384-bit) support using MBEDTLS
1062
1063#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED
1064#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 1
1065#endif
1066
1067// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED - Enable secp521r1 (NIST 521-bit) curve
1068
1069
1070// <i> Enable this setting if you need secp521r1 (NIST 521-bit) support using MBEDTLS
1071
1072#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED
1073#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 1
1074#endif
1075
1076// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED - Enable secp192k1 (Koblitz 192-bit) curve
1077
1078
1079// <i> Enable this setting if you need secp192k1 (Koblitz 192-bit) support using MBEDTLS
1080
1081#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED
1082#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 1
1083#endif
1084
1085// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED - Enable secp224k1 (Koblitz 224-bit) curve
1086
1087
1088// <i> Enable this setting if you need secp224k1 (Koblitz 224-bit) support using MBEDTLS
1089
1090#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED
1091#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 1
1092#endif
1093
1094// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
1095
1096
1097// <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using MBEDTLS
1098
1099#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED
1100#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 1
1101#endif
1102
1103// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED - Enable bp256r1 (Brainpool 256-bit) curve
1104
1105
1106// <i> Enable this setting if you need bp256r1 (Brainpool 256-bit) support using MBEDTLS
1107
1108#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED
1109#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 1
1110#endif
1111
1112// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED - Enable bp384r1 (Brainpool 384-bit) curve
1113
1114
1115// <i> Enable this setting if you need bp384r1 (Brainpool 384-bit) support using MBEDTLS
1116
1117#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED
1118#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 1
1119#endif
1120
1121// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED - Enable bp512r1 (Brainpool 512-bit) curve
1122
1123
1124// <i> Enable this setting if you need bp512r1 (Brainpool 512-bit) support using MBEDTLS
1125
1126#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED
1127#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 1
1128#endif
1129
1130// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED - Enable Curve25519 curve
1131
1132
1133// <i> Enable this setting if you need Curve25519 support using MBEDTLS
1134
1135#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED
1136#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 1
1137#endif
1138
1139// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED - Enable mbed TLS SHA-256 hash functionality.
1140
1141
1142// <i> mbed TLS backend implementation for SHA-256.
1143
1144#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED
1145#define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 1
1146#endif
1147
1148// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED - Enable mbed TLS SHA-512 hash functionality.
1149
1150
1151// <i> mbed TLS backend implementation for SHA-512.
1152
1153#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED
1154#define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 1
1155#endif
1156
1157// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED - Enable mbed TLS HMAC using SHA-256.
1158
1159
1160// <i> mbed TLS backend implementation for HMAC using SHA-256.
1161
1162#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED
1163#define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 1
1164#endif
1165
1166// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED - Enable mbed TLS HMAC using SHA-512.
1167
1168
1169// <i> mbed TLS backend implementation for HMAC using SHA-512.
1170
1171#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED
1172#define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 1
1173#endif
1174
1175// </e>
1176
1177// <e> NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED - Enable the micro-ecc backend.
1178//==========================================================
1179#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED
1180#define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 0
1181#endif
1182// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
1183
1184
1185// <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using micro-ecc
1186
1187#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED
1188#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 1
1189#endif
1190
1191// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
1192
1193
1194// <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using micro-ecc
1195
1196#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED
1197#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 1
1198#endif
1199
1200// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
1201
1202
1203// <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using micro-ecc
1204
1205#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED
1206#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 1
1207#endif
1208
1209// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
1210
1211
1212// <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using micro-ecc
1213
1214#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED
1215#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 1
1216#endif
1217
1218// </e>
1219
1220// <e> NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED - Enable the nRF HW RNG backend.
1221
1222// <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices.
1223//==========================================================
1224#ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED
1225#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 1
1226#endif
1227// <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm.
1228
1229
1230// <i> Enable mbed TLS CTR-DRBG standardized by NIST (NIST SP 800-90A Rev. 1). The nRF HW RNG is used as an entropy source for seeding.
1231
1232#ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED
1233#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 1
1234#endif
1235
1236// </e>
1237
1238// <e> NRF_CRYPTO_BACKEND_NRF_SW_ENABLED - Enable the legacy nRFx sw for crypto.
1239
1240// <i> The nRF SW cryptography backend (only used in bootloader context).
1241//==========================================================
1242#ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED
1243#define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 0
1244#endif
1245// <q> NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED - nRF SW hash backend support for SHA-256
1246
1247
1248// <i> The nRF SW backend provide access to nRF SDK legacy hash implementation of SHA-256.
1249
1250#ifndef NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED
1251#define NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 1
1252#endif
1253
1254// </e>
1255
1256// <e> NRF_CRYPTO_BACKEND_OBERON_ENABLED - Enable the Oberon backend
1257
1258// <i> The Oberon backend
1259//==========================================================
1260#ifndef NRF_CRYPTO_BACKEND_OBERON_ENABLED
1261#define NRF_CRYPTO_BACKEND_OBERON_ENABLED 1
1262#endif
1263// <q> NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using Oberon.
1264
1265
1266#ifndef NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED
1267#define NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 1
1268#endif
1269
1270// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED - Enable secp256r1 curve
1271
1272
1273// <i> Enable this setting if you need secp256r1 curve support using Oberon library
1274
1275#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED
1276#define NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 1
1277#endif
1278
1279// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED - Enable Curve25519 ECDH
1280
1281
1282// <i> Enable this setting if you need Curve25519 ECDH support using Oberon library
1283
1284#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED
1285#define NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 1
1286#endif
1287
1288// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED - Enable Ed25519 signature scheme
1289
1290
1291// <i> Enable this setting if you need Ed25519 support using Oberon library
1292
1293#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED
1294#define NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 1
1295#endif
1296
1297// <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED - Oberon SHA-256 hash functionality
1298
1299
1300// <i> Oberon backend implementation for SHA-256.
1301
1302#ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED
1303#define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 1
1304#endif
1305
1306// <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED - Oberon SHA-512 hash functionality
1307
1308
1309// <i> Oberon backend implementation for SHA-512.
1310
1311#ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED
1312#define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 1
1313#endif
1314
1315// <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED - Oberon HMAC using SHA-256
1316
1317
1318// <i> Oberon backend implementation for HMAC using SHA-256.
1319
1320#ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED
1321#define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 1
1322#endif
1323
1324// <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED - Oberon HMAC using SHA-512
1325
1326
1327// <i> Oberon backend implementation for HMAC using SHA-512.
1328
1329#ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED
1330#define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 1
1331#endif
1332
1333// </e>
1334
1335// <e> NRF_CRYPTO_BACKEND_OPTIGA_ENABLED - Enable the nrf_crypto Optiga Trust X backend.
1336
1337// <i> Enables the nrf_crypto backend for Optiga Trust X devices.
1338//==========================================================
1339#ifndef NRF_CRYPTO_BACKEND_OPTIGA_ENABLED
1340#define NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 0
1341#endif
1342// <q> NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED - Optiga backend support for RNG
1343
1344
1345// <i> The Optiga backend provide external chip RNG.
1346
1347#ifndef NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED
1348#define NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 0
1349#endif
1350
1351// <q> NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED - Optiga backend support for ECC secp256r1
1352
1353
1354// <i> The Optiga backend provide external chip ECC using secp256r1.
1355
1356#ifndef NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED
1357#define NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 1
1358#endif
1359
1360// </e>
1361
1362// <q> NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED - Big-endian byte order in raw Curve25519 data
1363
1364
1365// <i> Enable big-endian byte order in Curve25519 API, if set to 1. Use little-endian, if set to 0.
1366
1367#ifndef NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED
1368#define NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 0
1369#endif
1370
1371// </e>
1372
1373// <h> nrf_crypto_rng - RNG Configuration
1374
1375//==========================================================
1376// <q> NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED - Use static memory buffers for context and temporary init buffer.
1377
1378
1379// <i> Always recommended when using the nRF HW RNG as the context and temporary buffers are small. Consider disabling if using the CC310 RNG in a RAM constrained application. In this case, memory must be provided to nrf_crypto_rng_init, or it can be allocated internally provided that NRF_CRYPTO_ALLOCATOR does not allocate memory on the stack.
1380
1381#ifndef NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED
1382#define NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED 1
1383#endif
1384
1385// <q> NRF_CRYPTO_RNG_AUTO_INIT_ENABLED - Initialize the RNG module automatically when nrf_crypto is initialized.
1386
1387
1388// <i> Automatic initialization is only supported with static or internally allocated context and temporary memory.
1389
1390#ifndef NRF_CRYPTO_RNG_AUTO_INIT_ENABLED
1391#define NRF_CRYPTO_RNG_AUTO_INIT_ENABLED 1
1392#endif
1393
1394// </e>
1395
1396// </h>
1397//==========================================================
1398
1399// <h> nRF_DFU
1400
1401//==========================================================
1402// <h> DFU security - nrf_dfu_validation - DFU validation
1403
1404//==========================================================
1405// <q> NRF_DFU_APP_ACCEPT_SAME_VERSION - Whether to accept application upgrades with the same version as the current application.
1406
1407
1408// <i> This applies to application updates, and possibly to SoftDevice updates.
1409// <i> Bootloader upgrades always require higher versions. SoftDevice upgrades
1410// <i> look at the sd_req field independently of this config.
1411// <i> Disabling this protects against replay attacks wearing out the flash of the device.
1412// <i> This config only has an effect when NRF_DFU_APP_DOWNGRADE_PREVENTION is enabled.
1413
1414#ifndef NRF_DFU_APP_ACCEPT_SAME_VERSION
1415#define NRF_DFU_APP_ACCEPT_SAME_VERSION 1
1416#endif
1417
1418// <q> NRF_DFU_APP_DOWNGRADE_PREVENTION - Check the firmware version and SoftDevice requirements of application (and SoftDevice) updates.
1419
1420
1421// <i> Whether to check the incoming version against the version of the existing app and/or
1422// <i> the incoming SoftDevice requirements against the existing SoftDevice.
1423// <i> This applies to application updates, and possibly to SoftDevice updates.
1424// <i> Disabling this causes the checks to always ignore the incoming firmware version and
1425// <i> to ignore the SoftDevice requirements if the first requirement is 0.
1426// <i> This does not apply the bootloader updates. If the bootloader depends on the SoftDevice
1427// <i> e.g. for BLE transport, this does not apply to SoftDevice updates.
1428// <i> See @ref lib_bootloader_dfu_validation for more information.
1429// <i> When signed updates are required, version checking should always be enabled.
1430
1431#ifndef NRF_DFU_APP_DOWNGRADE_PREVENTION
1432#define NRF_DFU_APP_DOWNGRADE_PREVENTION 1
1433#endif
1434
1435// <q> NRF_DFU_EXTERNAL_APP_VERSIONING - Require versioning for external applications.
1436
1437
1438// <i> This configuration is only used if NRF_DFU_SUPPORTS_EXTERNAL_APP is set to 1.
1439// <i> Setting this will require that any FW images using the FW upgrade type
1440// <i> DFU_FW_TYPE_EXTERNAL_APPLICATION must follow a monotonic versioning scheme
1441// <i> where the FW version of an upgrade must always be larger than the previously stored
1442// <i> FW version.
1443
1444#ifndef NRF_DFU_EXTERNAL_APP_VERSIONING
1445#define NRF_DFU_EXTERNAL_APP_VERSIONING 1
1446#endif
1447
1448// <q> NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES - Accept only dual-bank application updates.
1449
1450
1451// <i> If not enabled then if there is not enough space to perform dual-bank update
1452// <i> application is deleted and single-bank update is performed. In case it is considered
1453// <i> security concern user can prefer to discard update request rather than overwrite
1454// <i> current application.
1455
1456#ifndef NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES
1457#define NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES 0
1458#endif
1459
1460// <o> NRF_DFU_HW_VERSION - Device hardware version.
1461// <i> This is used to determine if given update is targeting the device.
1462// <i> It is checked against the hw_version value in the init packet
1463
1464#ifndef NRF_DFU_HW_VERSION
1465#define NRF_DFU_HW_VERSION 52
1466#endif
1467
1468// <q> NRF_DFU_REQUIRE_SIGNED_APP_UPDATE - Require a valid signature to update the application or SoftDevice.
1469
1470
1471#ifndef NRF_DFU_REQUIRE_SIGNED_APP_UPDATE
1472#define NRF_DFU_REQUIRE_SIGNED_APP_UPDATE 0
1473#endif
1474
1475// <q> NRF_DFU_SINGLE_BANK_APP_UPDATES - Place the application and the SoftDevice directly where they are supposed to be.
1476
1477
1478// <i> Note that this creates security concerns when signing and version checks
1479// <i> are enabled. An attacker will be able to delete (but not replace)
1480// <i> the current app or SoftDevice without knowing the signature key.
1481
1482#ifndef NRF_DFU_SINGLE_BANK_APP_UPDATES
1483#define NRF_DFU_SINGLE_BANK_APP_UPDATES 0
1484#endif
1485
1486// </h>
1487//==========================================================
1488
1489// <q> NRF_DFU_SETTINGS_COMPATIBILITY_MODE - nrf_dfu_settings - DFU Settings
1490
1491
1492#ifndef NRF_DFU_SETTINGS_COMPATIBILITY_MODE
1493#define NRF_DFU_SETTINGS_COMPATIBILITY_MODE 1
1494#endif
1495
1496// <h> nrf_dfu - Device Firmware Upgrade
1497
1498//==========================================================
1499// <h> DFU transport
1500
1501//==========================================================
1502// <e> NRF_DFU_TRANSPORT_ANT - ANT transport settings
1503//==========================================================
1504#ifndef NRF_DFU_TRANSPORT_ANT
1505#define NRF_DFU_TRANSPORT_ANT 0
1506#endif
1507// <o> NRF_DFU_ANT_MTU - MTU size used for firmware bursts.
1508// <i> Sets the maximum burst size used for DFU write commands.
1509
1510#ifndef NRF_DFU_ANT_MTU
1511#define NRF_DFU_ANT_MTU 1024
1512#endif
1513
1514// <h> ANT DFU buffers
1515
1516//==========================================================
1517// <e> NRF_DFU_ANT_BUFFERS_OVERRIDE
1518
1519// <i> Check this option to override the default number of buffers.
1520//==========================================================
1521#ifndef NRF_DFU_ANT_BUFFERS_OVERRIDE
1522#define NRF_DFU_ANT_BUFFERS_OVERRIDE 0
1523#endif
1524// <o> NRF_DFU_ANT_BUFFERS - Number of buffers in the ANT transport.
1525// <i> Number of buffers to store incoming data while it is being written to flash.
1526// <i> Reduce this value to save RAM. If this value is too low, the DFU process will fail.
1527
1528#ifndef NRF_DFU_ANT_BUFFERS
1529#define NRF_DFU_ANT_BUFFERS 8
1530#endif
1531
1532// </e>
1533
1534// </h>
1535//==========================================================
1536
1537// <h> ANT DFU Channel Configuration
1538
1539//==========================================================
1540// <o> NRF_DFU_ANT_RF_FREQ - DFU RF channel.
1541#ifndef NRF_DFU_ANT_RF_FREQ
1542#define NRF_DFU_ANT_RF_FREQ 66
1543#endif
1544
1545// <o> NRF_DFU_ANT_DEV_TYPE - Device type field to use for DFU channel id.
1546#ifndef NRF_DFU_ANT_DEV_TYPE
1547#define NRF_DFU_ANT_DEV_TYPE 10
1548#endif
1549
1550// <o> NRF_DFU_ANT_CHANNEL_PERIOD - Channel period of DFU ANT channel.
1551#ifndef NRF_DFU_ANT_CHANNEL_PERIOD
1552#define NRF_DFU_ANT_CHANNEL_PERIOD 2048
1553#endif
1554
1555// </h>
1556//==========================================================
1557
1558// </e>
1559
1560// <e> NRF_DFU_TRANSPORT_BLE - BLE transport settings
1561//==========================================================
1562#ifndef NRF_DFU_TRANSPORT_BLE
1563#define NRF_DFU_TRANSPORT_BLE 0
1564#endif
1565// <q> NRF_DFU_BLE_SKIP_SD_INIT - Skip the SoftDevice and interrupt vector table initialization.
1566
1567
1568#ifndef NRF_DFU_BLE_SKIP_SD_INIT
1569#define NRF_DFU_BLE_SKIP_SD_INIT 0
1570#endif
1571
1572// <s> NRF_DFU_BLE_ADV_NAME - Default advertising name.
1573#ifndef NRF_DFU_BLE_ADV_NAME
1574#define NRF_DFU_BLE_ADV_NAME "DfuTarg"
1575#endif
1576
1577// <o> NRF_DFU_BLE_ADV_INTERVAL - Advertising interval (in units of 0.625 ms)
1578#ifndef NRF_DFU_BLE_ADV_INTERVAL
1579#define NRF_DFU_BLE_ADV_INTERVAL 40
1580#endif
1581
1582// <h> BLE DFU security
1583
1584//==========================================================
1585// <q> NRF_DFU_BLE_REQUIRES_BONDS - Require bond with peer.
1586
1587
1588#ifndef NRF_DFU_BLE_REQUIRES_BONDS
1589#define NRF_DFU_BLE_REQUIRES_BONDS 0
1590#endif
1591
1592// </h>
1593//==========================================================
1594
1595// <h> BLE DFU connection
1596
1597//==========================================================
1598// <o> NRF_DFU_BLE_MIN_CONN_INTERVAL - Minimum connection interval (units).
1599// <i> Minimum GAP connection interval, in 1.25 ms units.
1600
1601#ifndef NRF_DFU_BLE_MIN_CONN_INTERVAL
1602#define NRF_DFU_BLE_MIN_CONN_INTERVAL 12
1603#endif
1604
1605// <o> NRF_DFU_BLE_MAX_CONN_INTERVAL - Maximum connection interval (units).
1606// <i> Maximum GAP connection interval, in 1.25 ms units.
1607
1608#ifndef NRF_DFU_BLE_MAX_CONN_INTERVAL
1609#define NRF_DFU_BLE_MAX_CONN_INTERVAL 12
1610#endif
1611
1612// <o> NRF_DFU_BLE_CONN_SUP_TIMEOUT_MS - Supervision timeout (ms).
1613// <i> GAP connection supervision timeout, in milliseconds.
1614
1615#ifndef NRF_DFU_BLE_CONN_SUP_TIMEOUT_MS
1616#define NRF_DFU_BLE_CONN_SUP_TIMEOUT_MS 6000
1617#endif
1618
1619// </h>
1620//==========================================================
1621
1622// <h> BLE DFU buffers
1623
1624//==========================================================
1625// <e> NRF_DFU_BLE_BUFFERS_OVERRIDE
1626
1627// <i> Check this option to override the default number of buffers.
1628//==========================================================
1629#ifndef NRF_DFU_BLE_BUFFERS_OVERRIDE
1630#define NRF_DFU_BLE_BUFFERS_OVERRIDE 0
1631#endif
1632// <o> NRF_DFU_BLE_BUFFERS - Number of buffers in the BLE transport.
1633// <i> Number of buffers to store incoming data while it is being written to flash.
1634// <i> Reduce this value to save RAM. If this value is too low, the DFU process will fail.
1635
1636#ifndef NRF_DFU_BLE_BUFFERS
1637#define NRF_DFU_BLE_BUFFERS 8
1638#endif
1639
1640// </e>
1641
1642// </h>
1643//==========================================================
1644
1645// </h>
1646//==========================================================
1647
1648// <h> Misc DFU settings
1649
1650//==========================================================
1651// <o> NRF_DFU_APP_DATA_AREA_SIZE - The size (in bytes) of the flash area reserved for application data.
1652// <i> This area is found at the end of the application area, next to the start of
1653// <i> the bootloader. This area will not be erased by the bootloader during a
1654// <i> firmware upgrade. The size must be a multiple of the flash page size.
1655
1656#ifndef NRF_DFU_APP_DATA_AREA_SIZE
1657#define NRF_DFU_APP_DATA_AREA_SIZE 16384
1658#endif
1659
1660// <q> NRF_DFU_IN_APP - Specifies that this code is in the app, not the bootloader, so some settings are off-limits.
1661
1662
1663// <i> Enable this to disable writing to areas of the settings that are protected
1664// <i> by the bootlader. If this is not enabled in the app, certain settings write
1665// <i> operations will cause HardFaults or will be ignored. Enabling this option
1666// <i> also causes postvalidation to be disabled since this is meant to be done
1667// <i> in the bootloader. NRF_BL_DFU_ALLOW_UPDATE_FROM_APP must be enabled in the bootloader.
1668
1669#ifndef NRF_DFU_IN_APP
1670#define NRF_DFU_IN_APP 1
1671#endif
1672
1673// <q> NRF_DFU_SAVE_PROGRESS_IN_FLASH - Save DFU progress in flash.
1674
1675
1676// <i> Save DFU progress to flash so that it can be resumed if interrupted, instead of being restarted.
1677// <i> Keep this setting disabled to maximize transfer speed and minimize flash wear.
1678// <i> The init packet is always saved in flash, regardless of this setting.
1679
1680#ifndef NRF_DFU_SAVE_PROGRESS_IN_FLASH
1681#define NRF_DFU_SAVE_PROGRESS_IN_FLASH 0
1682#endif
1683
1684// <q> NRF_DFU_SUPPORTS_EXTERNAL_APP - [Experimental] Support for external app.
1685
1686
1687// <i> External apps are apps that will not be activated. They can
1688// <i> e.g. be apps to be sent to a third party. External app updates
1689// <i> are verified upon reception, but will remain in bank 1, and
1690// <i> will never be booted. An external app will be overwritten if
1691// <i> a new DFU procedure is performed. Note: This functionality is
1692// <i> experimental and not yet used in any examples.
1693
1694#ifndef NRF_DFU_SUPPORTS_EXTERNAL_APP
1695#define NRF_DFU_SUPPORTS_EXTERNAL_APP 0
1696#endif
1697
1698// </h>
1699//==========================================================
1700
1701
1702
1703// </h>
1704//==========================================================
1705
1706// <h> nRF_Drivers
1707
1708//==========================================================
1709// <e> COMP_ENABLED - nrf_drv_comp - COMP peripheral driver - legacy layer
1710//==========================================================
1711#ifndef COMP_ENABLED
1712#define COMP_ENABLED 0
1713#endif
1714// <o> COMP_CONFIG_REF - Reference voltage
1715
1716// <0=> Internal 1.2V
1717// <1=> Internal 1.8V
1718// <2=> Internal 2.4V
1719// <4=> VDD
1720// <7=> ARef
1721
1722#ifndef COMP_CONFIG_REF
1723#define COMP_CONFIG_REF 1
1724#endif
1725
1726// <o> COMP_CONFIG_MAIN_MODE - Main mode
1727
1728// <0=> Single ended
1729// <1=> Differential
1730
1731#ifndef COMP_CONFIG_MAIN_MODE
1732#define COMP_CONFIG_MAIN_MODE 0
1733#endif
1734
1735// <o> COMP_CONFIG_SPEED_MODE - Speed mode
1736
1737// <0=> Low power
1738// <1=> Normal
1739// <2=> High speed
1740
1741#ifndef COMP_CONFIG_SPEED_MODE
1742#define COMP_CONFIG_SPEED_MODE 2
1743#endif
1744
1745// <o> COMP_CONFIG_HYST - Hystheresis
1746
1747// <0=> No
1748// <1=> 50mV
1749
1750#ifndef COMP_CONFIG_HYST
1751#define COMP_CONFIG_HYST 0
1752#endif
1753
1754// <o> COMP_CONFIG_ISOURCE - Current Source
1755
1756// <0=> Off
1757// <1=> 2.5 uA
1758// <2=> 5 uA
1759// <3=> 10 uA
1760
1761#ifndef COMP_CONFIG_ISOURCE
1762#define COMP_CONFIG_ISOURCE 0
1763#endif
1764
1765// <o> COMP_CONFIG_INPUT - Analog input
1766
1767// <0=> 0
1768// <1=> 1
1769// <2=> 2
1770// <3=> 3
1771// <4=> 4
1772// <5=> 5
1773// <6=> 6
1774// <7=> 7
1775
1776#ifndef COMP_CONFIG_INPUT
1777#define COMP_CONFIG_INPUT 0
1778#endif
1779
1780// <o> COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
1781
1782
1783// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1784// <0=> 0 (highest)
1785// <1=> 1
1786// <2=> 2
1787// <3=> 3
1788// <4=> 4
1789// <5=> 5
1790// <6=> 6
1791// <7=> 7
1792
1793#ifndef COMP_CONFIG_IRQ_PRIORITY
1794#define COMP_CONFIG_IRQ_PRIORITY 6
1795#endif
1796
1797// </e>
1798
1799// <q> EGU_ENABLED - nrf_drv_swi - SWI(EGU) peripheral driver - legacy layer
1800
1801
1802#ifndef EGU_ENABLED
1803#define EGU_ENABLED 0
1804#endif
1805
1806// <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer
1807//==========================================================
1808#ifndef GPIOTE_ENABLED
1809#define GPIOTE_ENABLED 1
1810#endif
1811// <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
1812#ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
1813#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
1814#endif
1815
1816// <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
1817
1818
1819// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1820// <0=> 0 (highest)
1821// <1=> 1
1822// <2=> 2
1823// <3=> 3
1824// <4=> 4
1825// <5=> 5
1826// <6=> 6
1827// <7=> 7
1828
1829#ifndef GPIOTE_CONFIG_IRQ_PRIORITY
1830#define GPIOTE_CONFIG_IRQ_PRIORITY 6
1831#endif
1832
1833// </e>
1834
1835// <e> I2S_ENABLED - nrf_drv_i2s - I2S peripheral driver - legacy layer
1836//==========================================================
1837#ifndef I2S_ENABLED
1838#define I2S_ENABLED 0
1839#endif
1840// <o> I2S_CONFIG_SCK_PIN - SCK pin <0-31>
1841
1842
1843#ifndef I2S_CONFIG_SCK_PIN
1844#define I2S_CONFIG_SCK_PIN 31
1845#endif
1846
1847// <o> I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
1848
1849
1850#ifndef I2S_CONFIG_LRCK_PIN
1851#define I2S_CONFIG_LRCK_PIN 30
1852#endif
1853
1854// <o> I2S_CONFIG_MCK_PIN - MCK pin
1855#ifndef I2S_CONFIG_MCK_PIN
1856#define I2S_CONFIG_MCK_PIN 255
1857#endif
1858
1859// <o> I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
1860
1861
1862#ifndef I2S_CONFIG_SDOUT_PIN
1863#define I2S_CONFIG_SDOUT_PIN 29
1864#endif
1865
1866// <o> I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
1867
1868
1869#ifndef I2S_CONFIG_SDIN_PIN
1870#define I2S_CONFIG_SDIN_PIN 28
1871#endif
1872
1873// <o> I2S_CONFIG_MASTER - Mode
1874
1875// <0=> Master
1876// <1=> Slave
1877
1878#ifndef I2S_CONFIG_MASTER
1879#define I2S_CONFIG_MASTER 0
1880#endif
1881
1882// <o> I2S_CONFIG_FORMAT - Format
1883
1884// <0=> I2S
1885// <1=> Aligned
1886
1887#ifndef I2S_CONFIG_FORMAT
1888#define I2S_CONFIG_FORMAT 0
1889#endif
1890
1891// <o> I2S_CONFIG_ALIGN - Alignment
1892
1893// <0=> Left
1894// <1=> Right
1895
1896#ifndef I2S_CONFIG_ALIGN
1897#define I2S_CONFIG_ALIGN 0
1898#endif
1899
1900// <o> I2S_CONFIG_SWIDTH - Sample width (bits)
1901
1902// <0=> 8
1903// <1=> 16
1904// <2=> 24
1905
1906#ifndef I2S_CONFIG_SWIDTH
1907#define I2S_CONFIG_SWIDTH 1
1908#endif
1909
1910// <o> I2S_CONFIG_CHANNELS - Channels
1911
1912// <0=> Stereo
1913// <1=> Left
1914// <2=> Right
1915
1916#ifndef I2S_CONFIG_CHANNELS
1917#define I2S_CONFIG_CHANNELS 1
1918#endif
1919
1920// <o> I2S_CONFIG_MCK_SETUP - MCK behavior
1921
1922// <0=> Disabled
1923// <2147483648=> 32MHz/2
1924// <1342177280=> 32MHz/3
1925// <1073741824=> 32MHz/4
1926// <805306368=> 32MHz/5
1927// <671088640=> 32MHz/6
1928// <536870912=> 32MHz/8
1929// <402653184=> 32MHz/10
1930// <369098752=> 32MHz/11
1931// <285212672=> 32MHz/15
1932// <268435456=> 32MHz/16
1933// <201326592=> 32MHz/21
1934// <184549376=> 32MHz/23
1935// <142606336=> 32MHz/30
1936// <138412032=> 32MHz/31
1937// <134217728=> 32MHz/32
1938// <100663296=> 32MHz/42
1939// <68157440=> 32MHz/63
1940// <34340864=> 32MHz/125
1941
1942#ifndef I2S_CONFIG_MCK_SETUP
1943#define I2S_CONFIG_MCK_SETUP 536870912
1944#endif
1945
1946// <o> I2S_CONFIG_RATIO - MCK/LRCK ratio
1947
1948// <0=> 32x
1949// <1=> 48x
1950// <2=> 64x
1951// <3=> 96x
1952// <4=> 128x
1953// <5=> 192x
1954// <6=> 256x
1955// <7=> 384x
1956// <8=> 512x
1957
1958#ifndef I2S_CONFIG_RATIO
1959#define I2S_CONFIG_RATIO 2000
1960#endif
1961
1962// <o> I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
1963
1964
1965// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1966// <0=> 0 (highest)
1967// <1=> 1
1968// <2=> 2
1969// <3=> 3
1970// <4=> 4
1971// <5=> 5
1972// <6=> 6
1973// <7=> 7
1974
1975#ifndef I2S_CONFIG_IRQ_PRIORITY
1976#define I2S_CONFIG_IRQ_PRIORITY 6
1977#endif
1978
1979// <e> I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
1980//==========================================================
1981#ifndef I2S_CONFIG_LOG_ENABLED
1982#define I2S_CONFIG_LOG_ENABLED 0
1983#endif
1984// <o> I2S_CONFIG_LOG_LEVEL - Default Severity level
1985
1986// <0=> Off
1987// <1=> Error
1988// <2=> Warning
1989// <3=> Info
1990// <4=> Debug
1991
1992#ifndef I2S_CONFIG_LOG_LEVEL
1993#define I2S_CONFIG_LOG_LEVEL 3
1994#endif
1995
1996// <o> I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
1997
1998// <0=> Default
1999// <1=> Black
2000// <2=> Red
2001// <3=> Green
2002// <4=> Yellow
2003// <5=> Blue
2004// <6=> Magenta
2005// <7=> Cyan
2006// <8=> White
2007
2008#ifndef I2S_CONFIG_INFO_COLOR
2009#define I2S_CONFIG_INFO_COLOR 0
2010#endif
2011
2012// <o> I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2013
2014// <0=> Default
2015// <1=> Black
2016// <2=> Red
2017// <3=> Green
2018// <4=> Yellow
2019// <5=> Blue
2020// <6=> Magenta
2021// <7=> Cyan
2022// <8=> White
2023
2024#ifndef I2S_CONFIG_DEBUG_COLOR
2025#define I2S_CONFIG_DEBUG_COLOR 0
2026#endif
2027
2028// </e>
2029
2030// </e>
2031
2032// <e> LPCOMP_ENABLED - nrf_drv_lpcomp - LPCOMP peripheral driver - legacy layer
2033//==========================================================
2034#ifndef LPCOMP_ENABLED
2035#define LPCOMP_ENABLED 0
2036#endif
2037// <o> LPCOMP_CONFIG_REFERENCE - Reference voltage
2038
2039// <0=> Supply 1/8
2040// <1=> Supply 2/8
2041// <2=> Supply 3/8
2042// <3=> Supply 4/8
2043// <4=> Supply 5/8
2044// <5=> Supply 6/8
2045// <6=> Supply 7/8
2046// <8=> Supply 1/16 (nRF52)
2047// <9=> Supply 3/16 (nRF52)
2048// <10=> Supply 5/16 (nRF52)
2049// <11=> Supply 7/16 (nRF52)
2050// <12=> Supply 9/16 (nRF52)
2051// <13=> Supply 11/16 (nRF52)
2052// <14=> Supply 13/16 (nRF52)
2053// <15=> Supply 15/16 (nRF52)
2054// <7=> External Ref 0
2055// <65543=> External Ref 1
2056
2057#ifndef LPCOMP_CONFIG_REFERENCE
2058#define LPCOMP_CONFIG_REFERENCE 3
2059#endif
2060
2061// <o> LPCOMP_CONFIG_DETECTION - Detection
2062
2063// <0=> Crossing
2064// <1=> Up
2065// <2=> Down
2066
2067#ifndef LPCOMP_CONFIG_DETECTION
2068#define LPCOMP_CONFIG_DETECTION 2
2069#endif
2070
2071// <o> LPCOMP_CONFIG_INPUT - Analog input
2072
2073// <0=> 0
2074// <1=> 1
2075// <2=> 2
2076// <3=> 3
2077// <4=> 4
2078// <5=> 5
2079// <6=> 6
2080// <7=> 7
2081
2082#ifndef LPCOMP_CONFIG_INPUT
2083#define LPCOMP_CONFIG_INPUT 0
2084#endif
2085
2086// <q> LPCOMP_CONFIG_HYST - Hysteresis
2087
2088
2089#ifndef LPCOMP_CONFIG_HYST
2090#define LPCOMP_CONFIG_HYST 0
2091#endif
2092
2093// <o> LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
2094
2095
2096// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
2097// <0=> 0 (highest)
2098// <1=> 1
2099// <2=> 2
2100// <3=> 3
2101// <4=> 4
2102// <5=> 5
2103// <6=> 6
2104// <7=> 7
2105
2106#ifndef LPCOMP_CONFIG_IRQ_PRIORITY
2107#define LPCOMP_CONFIG_IRQ_PRIORITY 6
2108#endif
2109
2110// </e>
2111
2112// <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
2113//==========================================================
2114#ifndef NRFX_CLOCK_ENABLED
2115#define NRFX_CLOCK_ENABLED 1
2116#endif
2117// <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
2118
2119// <0=> RC
2120// <1=> XTAL
2121// <2=> Synth
2122// <131073=> External Low Swing
2123// <196609=> External Full Swing
2124
2125#ifndef NRFX_CLOCK_CONFIG_LF_SRC
2126#define NRFX_CLOCK_CONFIG_LF_SRC 1
2127#endif
2128
2129// <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
2130
2131// <0=> 0 (highest)
2132// <1=> 1
2133// <2=> 2
2134// <3=> 3
2135// <4=> 4
2136// <5=> 5
2137// <6=> 6
2138// <7=> 7
2139
2140#ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
2141#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
2142#endif
2143
2144// </e>
2145
2146// <e> NRFX_TEMP_ENABLED - nrfx_temp - Temperature driver
2147//==========================================================
2148#ifndef NRFX_TEMP_ENABLED
2149#define NRFX_TEMP_ENABLED 1
2150#endif
2151
2152// <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
2153
2154// <0=> 0 (highest)
2155// <1=> 1
2156// <2=> 2
2157// <3=> 3
2158// <4=> 4
2159// <5=> 5
2160// <6=> 6
2161// <7=> 7
2162
2163#ifndef NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY
2164#define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 6
2165#endif
2166
2167// <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
2168//==========================================================
2169#ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
2170#define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
2171#endif
2172// <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
2173
2174// <0=> Off
2175// <1=> Error
2176// <2=> Warning
2177// <3=> Info
2178// <4=> Debug
2179
2180#ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
2181#define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
2182#endif
2183
2184// <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
2185
2186// <0=> Default
2187// <1=> Black
2188// <2=> Red
2189// <3=> Green
2190// <4=> Yellow
2191// <5=> Blue
2192// <6=> Magenta
2193// <7=> Cyan
2194// <8=> White
2195
2196#ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
2197#define NRFX_CLOCK_CONFIG_INFO_COLOR 0
2198#endif
2199
2200// <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2201
2202// <0=> Default
2203// <1=> Black
2204// <2=> Red
2205// <3=> Green
2206// <4=> Yellow
2207// <5=> Blue
2208// <6=> Magenta
2209// <7=> Cyan
2210// <8=> White
2211
2212#ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
2213#define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
2214#endif
2215
2216// </e>
2217
2218// </e>
2219
2220// <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
2221//==========================================================
2222#ifndef NRFX_COMP_ENABLED
2223#define NRFX_COMP_ENABLED 0
2224#endif
2225// <o> NRFX_COMP_CONFIG_REF - Reference voltage
2226
2227// <0=> Internal 1.2V
2228// <1=> Internal 1.8V
2229// <2=> Internal 2.4V
2230// <4=> VDD
2231// <7=> ARef
2232
2233#ifndef NRFX_COMP_CONFIG_REF
2234#define NRFX_COMP_CONFIG_REF 1
2235#endif
2236
2237// <o> NRFX_COMP_CONFIG_MAIN_MODE - Main mode
2238
2239// <0=> Single ended
2240// <1=> Differential
2241
2242#ifndef NRFX_COMP_CONFIG_MAIN_MODE
2243#define NRFX_COMP_CONFIG_MAIN_MODE 0
2244#endif
2245
2246// <o> NRFX_COMP_CONFIG_SPEED_MODE - Speed mode
2247
2248// <0=> Low power
2249// <1=> Normal
2250// <2=> High speed
2251
2252#ifndef NRFX_COMP_CONFIG_SPEED_MODE
2253#define NRFX_COMP_CONFIG_SPEED_MODE 2
2254#endif
2255
2256// <o> NRFX_COMP_CONFIG_HYST - Hystheresis
2257
2258// <0=> No
2259// <1=> 50mV
2260
2261#ifndef NRFX_COMP_CONFIG_HYST
2262#define NRFX_COMP_CONFIG_HYST 0
2263#endif
2264
2265// <o> NRFX_COMP_CONFIG_ISOURCE - Current Source
2266
2267// <0=> Off
2268// <1=> 2.5 uA
2269// <2=> 5 uA
2270// <3=> 10 uA
2271
2272#ifndef NRFX_COMP_CONFIG_ISOURCE
2273#define NRFX_COMP_CONFIG_ISOURCE 0
2274#endif
2275
2276// <o> NRFX_COMP_CONFIG_INPUT - Analog input
2277
2278// <0=> 0
2279// <1=> 1
2280// <2=> 2
2281// <3=> 3
2282// <4=> 4
2283// <5=> 5
2284// <6=> 6
2285// <7=> 7
2286
2287#ifndef NRFX_COMP_CONFIG_INPUT
2288#define NRFX_COMP_CONFIG_INPUT 0
2289#endif
2290
2291// <o> NRFX_COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
2292
2293// <0=> 0 (highest)
2294// <1=> 1
2295// <2=> 2
2296// <3=> 3
2297// <4=> 4
2298// <5=> 5
2299// <6=> 6
2300// <7=> 7
2301
2302#ifndef NRFX_COMP_CONFIG_IRQ_PRIORITY
2303#define NRFX_COMP_CONFIG_IRQ_PRIORITY 6
2304#endif
2305
2306// <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
2307//==========================================================
2308#ifndef NRFX_COMP_CONFIG_LOG_ENABLED
2309#define NRFX_COMP_CONFIG_LOG_ENABLED 0
2310#endif
2311// <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level
2312
2313// <0=> Off
2314// <1=> Error
2315// <2=> Warning
2316// <3=> Info
2317// <4=> Debug
2318
2319#ifndef NRFX_COMP_CONFIG_LOG_LEVEL
2320#define NRFX_COMP_CONFIG_LOG_LEVEL 3
2321#endif
2322
2323// <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
2324
2325// <0=> Default
2326// <1=> Black
2327// <2=> Red
2328// <3=> Green
2329// <4=> Yellow
2330// <5=> Blue
2331// <6=> Magenta
2332// <7=> Cyan
2333// <8=> White
2334
2335#ifndef NRFX_COMP_CONFIG_INFO_COLOR
2336#define NRFX_COMP_CONFIG_INFO_COLOR 0
2337#endif
2338
2339// <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2340
2341// <0=> Default
2342// <1=> Black
2343// <2=> Red
2344// <3=> Green
2345// <4=> Yellow
2346// <5=> Blue
2347// <6=> Magenta
2348// <7=> Cyan
2349// <8=> White
2350
2351#ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
2352#define NRFX_COMP_CONFIG_DEBUG_COLOR 0
2353#endif
2354
2355// </e>
2356
2357// </e>
2358
2359// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
2360//==========================================================
2361#ifndef NRFX_GPIOTE_ENABLED
2362#define NRFX_GPIOTE_ENABLED 1
2363#endif
2364// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
2365#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
2366#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
2367#endif
2368
2369// <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
2370
2371// <0=> 0 (highest)
2372// <1=> 1
2373// <2=> 2
2374// <3=> 3
2375// <4=> 4
2376// <5=> 5
2377// <6=> 6
2378// <7=> 7
2379
2380#ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
2381#define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6
2382#endif
2383
2384// <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
2385//==========================================================
2386#ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
2387#define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
2388#endif
2389// <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
2390
2391// <0=> Off
2392// <1=> Error
2393// <2=> Warning
2394// <3=> Info
2395// <4=> Debug
2396
2397#ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
2398#define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
2399#endif
2400
2401// <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
2402
2403// <0=> Default
2404// <1=> Black
2405// <2=> Red
2406// <3=> Green
2407// <4=> Yellow
2408// <5=> Blue
2409// <6=> Magenta
2410// <7=> Cyan
2411// <8=> White
2412
2413#ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
2414#define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
2415#endif
2416
2417// <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2418
2419// <0=> Default
2420// <1=> Black
2421// <2=> Red
2422// <3=> Green
2423// <4=> Yellow
2424// <5=> Blue
2425// <6=> Magenta
2426// <7=> Cyan
2427// <8=> White
2428
2429#ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
2430#define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
2431#endif
2432
2433// </e>
2434
2435// </e>
2436
2437// <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver
2438//==========================================================
2439#ifndef NRFX_I2S_ENABLED
2440#define NRFX_I2S_ENABLED 0
2441#endif
2442// <o> NRFX_I2S_CONFIG_SCK_PIN - SCK pin <0-31>
2443
2444
2445#ifndef NRFX_I2S_CONFIG_SCK_PIN
2446#define NRFX_I2S_CONFIG_SCK_PIN 31
2447#endif
2448
2449// <o> NRFX_I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
2450
2451
2452#ifndef NRFX_I2S_CONFIG_LRCK_PIN
2453#define NRFX_I2S_CONFIG_LRCK_PIN 30
2454#endif
2455
2456// <o> NRFX_I2S_CONFIG_MCK_PIN - MCK pin
2457#ifndef NRFX_I2S_CONFIG_MCK_PIN
2458#define NRFX_I2S_CONFIG_MCK_PIN 255
2459#endif
2460
2461// <o> NRFX_I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
2462
2463
2464#ifndef NRFX_I2S_CONFIG_SDOUT_PIN
2465#define NRFX_I2S_CONFIG_SDOUT_PIN 29
2466#endif
2467
2468// <o> NRFX_I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
2469
2470
2471#ifndef NRFX_I2S_CONFIG_SDIN_PIN
2472#define NRFX_I2S_CONFIG_SDIN_PIN 28
2473#endif
2474
2475// <o> NRFX_I2S_CONFIG_MASTER - Mode
2476
2477// <0=> Master
2478// <1=> Slave
2479
2480#ifndef NRFX_I2S_CONFIG_MASTER
2481#define NRFX_I2S_CONFIG_MASTER 0
2482#endif
2483
2484// <o> NRFX_I2S_CONFIG_FORMAT - Format
2485
2486// <0=> I2S
2487// <1=> Aligned
2488
2489#ifndef NRFX_I2S_CONFIG_FORMAT
2490#define NRFX_I2S_CONFIG_FORMAT 0
2491#endif
2492
2493// <o> NRFX_I2S_CONFIG_ALIGN - Alignment
2494
2495// <0=> Left
2496// <1=> Right
2497
2498#ifndef NRFX_I2S_CONFIG_ALIGN
2499#define NRFX_I2S_CONFIG_ALIGN 0
2500#endif
2501
2502// <o> NRFX_I2S_CONFIG_SWIDTH - Sample width (bits)
2503
2504// <0=> 8
2505// <1=> 16
2506// <2=> 24
2507
2508#ifndef NRFX_I2S_CONFIG_SWIDTH
2509#define NRFX_I2S_CONFIG_SWIDTH 1
2510#endif
2511
2512// <o> NRFX_I2S_CONFIG_CHANNELS - Channels
2513
2514// <0=> Stereo
2515// <1=> Left
2516// <2=> Right
2517
2518#ifndef NRFX_I2S_CONFIG_CHANNELS
2519#define NRFX_I2S_CONFIG_CHANNELS 1
2520#endif
2521
2522// <o> NRFX_I2S_CONFIG_MCK_SETUP - MCK behavior
2523
2524// <0=> Disabled
2525// <2147483648=> 32MHz/2
2526// <1342177280=> 32MHz/3
2527// <1073741824=> 32MHz/4
2528// <805306368=> 32MHz/5
2529// <671088640=> 32MHz/6
2530// <536870912=> 32MHz/8
2531// <402653184=> 32MHz/10
2532// <369098752=> 32MHz/11
2533// <285212672=> 32MHz/15
2534// <268435456=> 32MHz/16
2535// <201326592=> 32MHz/21
2536// <184549376=> 32MHz/23
2537// <142606336=> 32MHz/30
2538// <138412032=> 32MHz/31
2539// <134217728=> 32MHz/32
2540// <100663296=> 32MHz/42
2541// <68157440=> 32MHz/63
2542// <34340864=> 32MHz/125
2543
2544#ifndef NRFX_I2S_CONFIG_MCK_SETUP
2545#define NRFX_I2S_CONFIG_MCK_SETUP 536870912
2546#endif
2547
2548// <o> NRFX_I2S_CONFIG_RATIO - MCK/LRCK ratio
2549
2550// <0=> 32x
2551// <1=> 48x
2552// <2=> 64x
2553// <3=> 96x
2554// <4=> 128x
2555// <5=> 192x
2556// <6=> 256x
2557// <7=> 384x
2558// <8=> 512x
2559
2560#ifndef NRFX_I2S_CONFIG_RATIO
2561#define NRFX_I2S_CONFIG_RATIO 2000
2562#endif
2563
2564// <o> NRFX_I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
2565
2566// <0=> 0 (highest)
2567// <1=> 1
2568// <2=> 2
2569// <3=> 3
2570// <4=> 4
2571// <5=> 5
2572// <6=> 6
2573// <7=> 7
2574
2575#ifndef NRFX_I2S_CONFIG_IRQ_PRIORITY
2576#define NRFX_I2S_CONFIG_IRQ_PRIORITY 6
2577#endif
2578
2579// <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
2580//==========================================================
2581#ifndef NRFX_I2S_CONFIG_LOG_ENABLED
2582#define NRFX_I2S_CONFIG_LOG_ENABLED 0
2583#endif
2584// <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default Severity level
2585
2586// <0=> Off
2587// <1=> Error
2588// <2=> Warning
2589// <3=> Info
2590// <4=> Debug
2591
2592#ifndef NRFX_I2S_CONFIG_LOG_LEVEL
2593#define NRFX_I2S_CONFIG_LOG_LEVEL 3
2594#endif
2595
2596// <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
2597
2598// <0=> Default
2599// <1=> Black
2600// <2=> Red
2601// <3=> Green
2602// <4=> Yellow
2603// <5=> Blue
2604// <6=> Magenta
2605// <7=> Cyan
2606// <8=> White
2607
2608#ifndef NRFX_I2S_CONFIG_INFO_COLOR
2609#define NRFX_I2S_CONFIG_INFO_COLOR 0
2610#endif
2611
2612// <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2613
2614// <0=> Default
2615// <1=> Black
2616// <2=> Red
2617// <3=> Green
2618// <4=> Yellow
2619// <5=> Blue
2620// <6=> Magenta
2621// <7=> Cyan
2622// <8=> White
2623
2624#ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
2625#define NRFX_I2S_CONFIG_DEBUG_COLOR 0
2626#endif
2627
2628// </e>
2629
2630// </e>
2631
2632// <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
2633//==========================================================
2634#ifndef NRFX_LPCOMP_ENABLED
2635#define NRFX_LPCOMP_ENABLED 0
2636#endif
2637// <o> NRFX_LPCOMP_CONFIG_REFERENCE - Reference voltage
2638
2639// <0=> Supply 1/8
2640// <1=> Supply 2/8
2641// <2=> Supply 3/8
2642// <3=> Supply 4/8
2643// <4=> Supply 5/8
2644// <5=> Supply 6/8
2645// <6=> Supply 7/8
2646// <8=> Supply 1/16 (nRF52)
2647// <9=> Supply 3/16 (nRF52)
2648// <10=> Supply 5/16 (nRF52)
2649// <11=> Supply 7/16 (nRF52)
2650// <12=> Supply 9/16 (nRF52)
2651// <13=> Supply 11/16 (nRF52)
2652// <14=> Supply 13/16 (nRF52)
2653// <15=> Supply 15/16 (nRF52)
2654// <7=> External Ref 0
2655// <65543=> External Ref 1
2656
2657#ifndef NRFX_LPCOMP_CONFIG_REFERENCE
2658#define NRFX_LPCOMP_CONFIG_REFERENCE 3
2659#endif
2660
2661// <o> NRFX_LPCOMP_CONFIG_DETECTION - Detection
2662
2663// <0=> Crossing
2664// <1=> Up
2665// <2=> Down
2666
2667#ifndef NRFX_LPCOMP_CONFIG_DETECTION
2668#define NRFX_LPCOMP_CONFIG_DETECTION 2
2669#endif
2670
2671// <o> NRFX_LPCOMP_CONFIG_INPUT - Analog input
2672
2673// <0=> 0
2674// <1=> 1
2675// <2=> 2
2676// <3=> 3
2677// <4=> 4
2678// <5=> 5
2679// <6=> 6
2680// <7=> 7
2681
2682#ifndef NRFX_LPCOMP_CONFIG_INPUT
2683#define NRFX_LPCOMP_CONFIG_INPUT 0
2684#endif
2685
2686// <q> NRFX_LPCOMP_CONFIG_HYST - Hysteresis
2687
2688
2689#ifndef NRFX_LPCOMP_CONFIG_HYST
2690#define NRFX_LPCOMP_CONFIG_HYST 0
2691#endif
2692
2693// <o> NRFX_LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
2694
2695// <0=> 0 (highest)
2696// <1=> 1
2697// <2=> 2
2698// <3=> 3
2699// <4=> 4
2700// <5=> 5
2701// <6=> 6
2702// <7=> 7
2703
2704#ifndef NRFX_LPCOMP_CONFIG_IRQ_PRIORITY
2705#define NRFX_LPCOMP_CONFIG_IRQ_PRIORITY 6
2706#endif
2707
2708// <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
2709//==========================================================
2710#ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
2711#define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
2712#endif
2713// <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
2714
2715// <0=> Off
2716// <1=> Error
2717// <2=> Warning
2718// <3=> Info
2719// <4=> Debug
2720
2721#ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
2722#define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
2723#endif
2724
2725// <o> NRFX_LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
2726
2727// <0=> Default
2728// <1=> Black
2729// <2=> Red
2730// <3=> Green
2731// <4=> Yellow
2732// <5=> Blue
2733// <6=> Magenta
2734// <7=> Cyan
2735// <8=> White
2736
2737#ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
2738#define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
2739#endif
2740
2741// <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2742
2743// <0=> Default
2744// <1=> Black
2745// <2=> Red
2746// <3=> Green
2747// <4=> Yellow
2748// <5=> Blue
2749// <6=> Magenta
2750// <7=> Cyan
2751// <8=> White
2752
2753#ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
2754#define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
2755#endif
2756
2757// </e>
2758
2759// </e>
2760
2761// <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
2762//==========================================================
2763#ifndef NRFX_NFCT_ENABLED
2764#define NRFX_NFCT_ENABLED 0
2765#endif
2766// <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority
2767
2768// <0=> 0 (highest)
2769// <1=> 1
2770// <2=> 2
2771// <3=> 3
2772// <4=> 4
2773// <5=> 5
2774// <6=> 6
2775// <7=> 7
2776
2777#ifndef NRFX_NFCT_CONFIG_IRQ_PRIORITY
2778#define NRFX_NFCT_CONFIG_IRQ_PRIORITY 6
2779#endif
2780
2781// <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
2782//==========================================================
2783#ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
2784#define NRFX_NFCT_CONFIG_LOG_ENABLED 0
2785#endif
2786// <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level
2787
2788// <0=> Off
2789// <1=> Error
2790// <2=> Warning
2791// <3=> Info
2792// <4=> Debug
2793
2794#ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
2795#define NRFX_NFCT_CONFIG_LOG_LEVEL 3
2796#endif
2797
2798// <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix.
2799
2800// <0=> Default
2801// <1=> Black
2802// <2=> Red
2803// <3=> Green
2804// <4=> Yellow
2805// <5=> Blue
2806// <6=> Magenta
2807// <7=> Cyan
2808// <8=> White
2809
2810#ifndef NRFX_NFCT_CONFIG_INFO_COLOR
2811#define NRFX_NFCT_CONFIG_INFO_COLOR 0
2812#endif
2813
2814// <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2815
2816// <0=> Default
2817// <1=> Black
2818// <2=> Red
2819// <3=> Green
2820// <4=> Yellow
2821// <5=> Blue
2822// <6=> Magenta
2823// <7=> Cyan
2824// <8=> White
2825
2826#ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
2827#define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
2828#endif
2829
2830// </e>
2831
2832// </e>
2833
2834// <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver
2835//==========================================================
2836#ifndef NRFX_PDM_ENABLED
2837#define NRFX_PDM_ENABLED 1
2838#endif
2839// <o> NRFX_PDM_CONFIG_MODE - Mode
2840
2841// <0=> Stereo
2842// <1=> Mono
2843
2844#ifndef NRFX_PDM_CONFIG_MODE
2845#define NRFX_PDM_CONFIG_MODE 1
2846#endif
2847
2848// <o> NRFX_PDM_CONFIG_EDGE - Edge
2849
2850// <0=> Left falling
2851// <1=> Left rising
2852
2853#ifndef NRFX_PDM_CONFIG_EDGE
2854#define NRFX_PDM_CONFIG_EDGE 0
2855#endif
2856
2857// <o> NRFX_PDM_CONFIG_CLOCK_FREQ - Clock frequency
2858
2859// <134217728=> 1000k
2860// <138412032=> 1032k (default)
2861// <142606336=> 1067k
2862
2863#ifndef NRFX_PDM_CONFIG_CLOCK_FREQ
2864#define NRFX_PDM_CONFIG_CLOCK_FREQ 138412032
2865#endif
2866
2867// <o> NRFX_PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
2868
2869// <0=> 0 (highest)
2870// <1=> 1
2871// <2=> 2
2872// <3=> 3
2873// <4=> 4
2874// <5=> 5
2875// <6=> 6
2876// <7=> 7
2877
2878#ifndef NRFX_PDM_CONFIG_IRQ_PRIORITY
2879#define NRFX_PDM_CONFIG_IRQ_PRIORITY 6
2880#endif
2881
2882// <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
2883//==========================================================
2884#ifndef NRFX_PDM_CONFIG_LOG_ENABLED
2885#define NRFX_PDM_CONFIG_LOG_ENABLED 0
2886#endif
2887// <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default Severity level
2888
2889// <0=> Off
2890// <1=> Error
2891// <2=> Warning
2892// <3=> Info
2893// <4=> Debug
2894
2895#ifndef NRFX_PDM_CONFIG_LOG_LEVEL
2896#define NRFX_PDM_CONFIG_LOG_LEVEL 3
2897#endif
2898
2899// <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
2900
2901// <0=> Default
2902// <1=> Black
2903// <2=> Red
2904// <3=> Green
2905// <4=> Yellow
2906// <5=> Blue
2907// <6=> Magenta
2908// <7=> Cyan
2909// <8=> White
2910
2911#ifndef NRFX_PDM_CONFIG_INFO_COLOR
2912#define NRFX_PDM_CONFIG_INFO_COLOR 0
2913#endif
2914
2915// <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2916
2917// <0=> Default
2918// <1=> Black
2919// <2=> Red
2920// <3=> Green
2921// <4=> Yellow
2922// <5=> Blue
2923// <6=> Magenta
2924// <7=> Cyan
2925// <8=> White
2926
2927#ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
2928#define NRFX_PDM_CONFIG_DEBUG_COLOR 0
2929#endif
2930
2931// </e>
2932
2933// </e>
2934
2935// <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
2936//==========================================================
2937#ifndef NRFX_POWER_ENABLED
2938#define NRFX_POWER_ENABLED 1
2939#endif
2940// <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
2941
2942// <0=> 0 (highest)
2943// <1=> 1
2944// <2=> 2
2945// <3=> 3
2946// <4=> 4
2947// <5=> 5
2948// <6=> 6
2949// <7=> 7
2950
2951#ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
2952#define NRFX_POWER_CONFIG_IRQ_PRIORITY 6
2953#endif
2954
2955// <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
2956
2957
2958// <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
2959
2960#ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
2961#define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 1
2962#endif
2963
2964// <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
2965
2966
2967// <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
2968
2969#ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
2970#define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
2971#endif
2972
2973// </e>
2974
2975// <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator
2976//==========================================================
2977#ifndef NRFX_PPI_ENABLED
2978#define NRFX_PPI_ENABLED 1
2979#endif
2980// <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
2981//==========================================================
2982#ifndef NRFX_PPI_CONFIG_LOG_ENABLED
2983#define NRFX_PPI_CONFIG_LOG_ENABLED 0
2984#endif
2985// <o> NRFX_PPI_CONFIG_LOG_LEVEL - Default Severity level
2986
2987// <0=> Off
2988// <1=> Error
2989// <2=> Warning
2990// <3=> Info
2991// <4=> Debug
2992
2993#ifndef NRFX_PPI_CONFIG_LOG_LEVEL
2994#define NRFX_PPI_CONFIG_LOG_LEVEL 3
2995#endif
2996
2997// <o> NRFX_PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
2998
2999// <0=> Default
3000// <1=> Black
3001// <2=> Red
3002// <3=> Green
3003// <4=> Yellow
3004// <5=> Blue
3005// <6=> Magenta
3006// <7=> Cyan
3007// <8=> White
3008
3009#ifndef NRFX_PPI_CONFIG_INFO_COLOR
3010#define NRFX_PPI_CONFIG_INFO_COLOR 0
3011#endif
3012
3013// <o> NRFX_PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3014
3015// <0=> Default
3016// <1=> Black
3017// <2=> Red
3018// <3=> Green
3019// <4=> Yellow
3020// <5=> Blue
3021// <6=> Magenta
3022// <7=> Cyan
3023// <8=> White
3024
3025#ifndef NRFX_PPI_CONFIG_DEBUG_COLOR
3026#define NRFX_PPI_CONFIG_DEBUG_COLOR 0
3027#endif
3028
3029// </e>
3030
3031// </e>
3032
3033// <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
3034//==========================================================
3035#ifndef NRFX_PRS_ENABLED
3036#define NRFX_PRS_ENABLED 1
3037#endif
3038// <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
3039
3040
3041#ifndef NRFX_PRS_BOX_0_ENABLED
3042#define NRFX_PRS_BOX_0_ENABLED 0
3043#endif
3044
3045// <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
3046
3047
3048#ifndef NRFX_PRS_BOX_1_ENABLED
3049#define NRFX_PRS_BOX_1_ENABLED 0
3050#endif
3051
3052// <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
3053
3054
3055#ifndef NRFX_PRS_BOX_2_ENABLED
3056#define NRFX_PRS_BOX_2_ENABLED 0
3057#endif
3058
3059// <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
3060
3061
3062#ifndef NRFX_PRS_BOX_3_ENABLED
3063#define NRFX_PRS_BOX_3_ENABLED 0
3064#endif
3065
3066// <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
3067
3068
3069#ifndef NRFX_PRS_BOX_4_ENABLED
3070#define NRFX_PRS_BOX_4_ENABLED 1
3071#endif
3072
3073// <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
3074//==========================================================
3075#ifndef NRFX_PRS_CONFIG_LOG_ENABLED
3076#define NRFX_PRS_CONFIG_LOG_ENABLED 0
3077#endif
3078// <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level
3079
3080// <0=> Off
3081// <1=> Error
3082// <2=> Warning
3083// <3=> Info
3084// <4=> Debug
3085
3086#ifndef NRFX_PRS_CONFIG_LOG_LEVEL
3087#define NRFX_PRS_CONFIG_LOG_LEVEL 3
3088#endif
3089
3090// <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
3091
3092// <0=> Default
3093// <1=> Black
3094// <2=> Red
3095// <3=> Green
3096// <4=> Yellow
3097// <5=> Blue
3098// <6=> Magenta
3099// <7=> Cyan
3100// <8=> White
3101
3102#ifndef NRFX_PRS_CONFIG_INFO_COLOR
3103#define NRFX_PRS_CONFIG_INFO_COLOR 0
3104#endif
3105
3106// <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3107
3108// <0=> Default
3109// <1=> Black
3110// <2=> Red
3111// <3=> Green
3112// <4=> Yellow
3113// <5=> Blue
3114// <6=> Magenta
3115// <7=> Cyan
3116// <8=> White
3117
3118#ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
3119#define NRFX_PRS_CONFIG_DEBUG_COLOR 0
3120#endif
3121
3122// </e>
3123
3124// </e>
3125
3126// <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver
3127//==========================================================
3128#ifndef NRFX_PWM_ENABLED
3129#define NRFX_PWM_ENABLED 1
3130#endif
3131// <q> NRFX_PWM0_ENABLED - Enable PWM0 instance
3132
3133
3134#ifndef NRFX_PWM0_ENABLED
3135#define NRFX_PWM0_ENABLED 0
3136#endif
3137
3138// <q> NRFX_PWM1_ENABLED - Enable PWM1 instance
3139
3140
3141#ifndef NRFX_PWM1_ENABLED
3142#define NRFX_PWM1_ENABLED 1
3143#endif
3144
3145// <q> NRFX_PWM2_ENABLED - Enable PWM2 instance
3146
3147
3148#ifndef NRFX_PWM2_ENABLED
3149#define NRFX_PWM2_ENABLED 1
3150#endif
3151
3152// <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
3153
3154
3155#ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN
3156#define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 31
3157#endif
3158
3159// <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
3160
3161
3162#ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN
3163#define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 31
3164#endif
3165
3166// <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
3167
3168
3169#ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN
3170#define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 31
3171#endif
3172
3173// <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
3174
3175
3176#ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN
3177#define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 31
3178#endif
3179
3180// <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
3181
3182// <0=> 16 MHz
3183// <1=> 8 MHz
3184// <2=> 4 MHz
3185// <3=> 2 MHz
3186// <4=> 1 MHz
3187// <5=> 500 kHz
3188// <6=> 250 kHz
3189// <7=> 125 kHz
3190
3191#ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK
3192#define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4
3193#endif
3194
3195// <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
3196
3197// <0=> Up
3198// <1=> Up and Down
3199
3200#ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE
3201#define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0
3202#endif
3203
3204// <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
3205#ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE
3206#define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000
3207#endif
3208
3209// <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
3210
3211// <0=> Common
3212// <1=> Grouped
3213// <2=> Individual
3214// <3=> Waveform
3215
3216#ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE
3217#define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0
3218#endif
3219
3220// <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
3221
3222// <0=> Auto
3223// <1=> Triggered
3224
3225#ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE
3226#define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0
3227#endif
3228
3229// <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3230
3231// <0=> 0 (highest)
3232// <1=> 1
3233// <2=> 2
3234// <3=> 3
3235// <4=> 4
3236// <5=> 5
3237// <6=> 6
3238// <7=> 7
3239
3240#ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
3241#define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
3242#endif
3243
3244// <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
3245//==========================================================
3246#ifndef NRFX_PWM_CONFIG_LOG_ENABLED
3247#define NRFX_PWM_CONFIG_LOG_ENABLED 0
3248#endif
3249// <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default Severity level
3250
3251// <0=> Off
3252// <1=> Error
3253// <2=> Warning
3254// <3=> Info
3255// <4=> Debug
3256
3257#ifndef NRFX_PWM_CONFIG_LOG_LEVEL
3258#define NRFX_PWM_CONFIG_LOG_LEVEL 3
3259#endif
3260
3261// <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3262
3263// <0=> Default
3264// <1=> Black
3265// <2=> Red
3266// <3=> Green
3267// <4=> Yellow
3268// <5=> Blue
3269// <6=> Magenta
3270// <7=> Cyan
3271// <8=> White
3272
3273#ifndef NRFX_PWM_CONFIG_INFO_COLOR
3274#define NRFX_PWM_CONFIG_INFO_COLOR 0
3275#endif
3276
3277// <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3278
3279// <0=> Default
3280// <1=> Black
3281// <2=> Red
3282// <3=> Green
3283// <4=> Yellow
3284// <5=> Blue
3285// <6=> Magenta
3286// <7=> Cyan
3287// <8=> White
3288
3289#ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
3290#define NRFX_PWM_CONFIG_DEBUG_COLOR 0
3291#endif
3292
3293// </e>
3294
3295// <e> NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for PWM.
3296
3297// <i> The workaround uses interrupts to wake up the CPU and ensure
3298// <i> it is active when PWM is about to start a DMA transfer. For
3299// <i> initial transfer, done when a playback is started via PPI,
3300// <i> a specific EGU instance is used to generate the interrupt.
3301// <i> During the playback, the PWM interrupt triggered on SEQEND
3302// <i> event of a preceding sequence is used to protect the transfer
3303// <i> done for the next sequence to be played.
3304//==========================================================
3305#ifndef NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
3306#define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
3307#endif
3308// <o> NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE - EGU instance used by the nRF52 Anomaly 109 workaround for PWM.
3309
3310// <0=> EGU0
3311// <1=> EGU1
3312// <2=> EGU2
3313// <3=> EGU3
3314// <4=> EGU4
3315// <5=> EGU5
3316
3317#ifndef NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE
3318#define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5
3319#endif
3320
3321// </e>
3322
3323// </e>
3324
3325// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
3326//==========================================================
3327#ifndef NRFX_QDEC_ENABLED
3328#define NRFX_QDEC_ENABLED 0
3329#endif
3330// <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
3331
3332// <0=> 10 Samples
3333// <1=> 40 Samples
3334// <2=> 80 Samples
3335// <3=> 120 Samples
3336// <4=> 160 Samples
3337// <5=> 200 Samples
3338// <6=> 240 Samples
3339// <7=> 280 Samples
3340
3341#ifndef NRFX_QDEC_CONFIG_REPORTPER
3342#define NRFX_QDEC_CONFIG_REPORTPER 0
3343#endif
3344
3345// <o> NRFX_QDEC_CONFIG_SAMPLEPER - Sample period
3346
3347// <0=> 128 us
3348// <1=> 256 us
3349// <2=> 512 us
3350// <3=> 1024 us
3351// <4=> 2048 us
3352// <5=> 4096 us
3353// <6=> 8192 us
3354// <7=> 16384 us
3355
3356#ifndef NRFX_QDEC_CONFIG_SAMPLEPER
3357#define NRFX_QDEC_CONFIG_SAMPLEPER 7
3358#endif
3359
3360// <o> NRFX_QDEC_CONFIG_PIO_A - A pin <0-31>
3361
3362
3363#ifndef NRFX_QDEC_CONFIG_PIO_A
3364#define NRFX_QDEC_CONFIG_PIO_A 31
3365#endif
3366
3367// <o> NRFX_QDEC_CONFIG_PIO_B - B pin <0-31>
3368
3369
3370#ifndef NRFX_QDEC_CONFIG_PIO_B
3371#define NRFX_QDEC_CONFIG_PIO_B 31
3372#endif
3373
3374// <o> NRFX_QDEC_CONFIG_PIO_LED - LED pin <0-31>
3375
3376
3377#ifndef NRFX_QDEC_CONFIG_PIO_LED
3378#define NRFX_QDEC_CONFIG_PIO_LED 31
3379#endif
3380
3381// <o> NRFX_QDEC_CONFIG_LEDPRE - LED pre
3382#ifndef NRFX_QDEC_CONFIG_LEDPRE
3383#define NRFX_QDEC_CONFIG_LEDPRE 511
3384#endif
3385
3386// <o> NRFX_QDEC_CONFIG_LEDPOL - LED polarity
3387
3388// <0=> Active low
3389// <1=> Active high
3390
3391#ifndef NRFX_QDEC_CONFIG_LEDPOL
3392#define NRFX_QDEC_CONFIG_LEDPOL 1
3393#endif
3394
3395// <q> NRFX_QDEC_CONFIG_DBFEN - Debouncing enable
3396
3397
3398#ifndef NRFX_QDEC_CONFIG_DBFEN
3399#define NRFX_QDEC_CONFIG_DBFEN 0
3400#endif
3401
3402// <q> NRFX_QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
3403
3404
3405#ifndef NRFX_QDEC_CONFIG_SAMPLE_INTEN
3406#define NRFX_QDEC_CONFIG_SAMPLE_INTEN 0
3407#endif
3408
3409// <o> NRFX_QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
3410
3411// <0=> 0 (highest)
3412// <1=> 1
3413// <2=> 2
3414// <3=> 3
3415// <4=> 4
3416// <5=> 5
3417// <6=> 6
3418// <7=> 7
3419
3420#ifndef NRFX_QDEC_CONFIG_IRQ_PRIORITY
3421#define NRFX_QDEC_CONFIG_IRQ_PRIORITY 6
3422#endif
3423
3424// <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
3425//==========================================================
3426#ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
3427#define NRFX_QDEC_CONFIG_LOG_ENABLED 0
3428#endif
3429// <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level
3430
3431// <0=> Off
3432// <1=> Error
3433// <2=> Warning
3434// <3=> Info
3435// <4=> Debug
3436
3437#ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
3438#define NRFX_QDEC_CONFIG_LOG_LEVEL 3
3439#endif
3440
3441// <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3442
3443// <0=> Default
3444// <1=> Black
3445// <2=> Red
3446// <3=> Green
3447// <4=> Yellow
3448// <5=> Blue
3449// <6=> Magenta
3450// <7=> Cyan
3451// <8=> White
3452
3453#ifndef NRFX_QDEC_CONFIG_INFO_COLOR
3454#define NRFX_QDEC_CONFIG_INFO_COLOR 0
3455#endif
3456
3457// <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3458
3459// <0=> Default
3460// <1=> Black
3461// <2=> Red
3462// <3=> Green
3463// <4=> Yellow
3464// <5=> Blue
3465// <6=> Magenta
3466// <7=> Cyan
3467// <8=> White
3468
3469#ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
3470#define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
3471#endif
3472
3473// </e>
3474
3475// </e>
3476
3477// <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
3478//==========================================================
3479#ifndef NRFX_RNG_ENABLED
3480#define NRFX_RNG_ENABLED 1
3481#endif
3482// <q> NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction
3483
3484
3485#ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
3486#define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
3487#endif
3488
3489// <o> NRFX_RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
3490
3491// <0=> 0 (highest)
3492// <1=> 1
3493// <2=> 2
3494// <3=> 3
3495// <4=> 4
3496// <5=> 5
3497// <6=> 6
3498// <7=> 7
3499
3500#ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
3501#define NRFX_RNG_CONFIG_IRQ_PRIORITY 6
3502#endif
3503
3504// <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
3505//==========================================================
3506#ifndef NRFX_RNG_CONFIG_LOG_ENABLED
3507#define NRFX_RNG_CONFIG_LOG_ENABLED 0
3508#endif
3509// <o> NRFX_RNG_CONFIG_LOG_LEVEL - Default Severity level
3510
3511// <0=> Off
3512// <1=> Error
3513// <2=> Warning
3514// <3=> Info
3515// <4=> Debug
3516
3517#ifndef NRFX_RNG_CONFIG_LOG_LEVEL
3518#define NRFX_RNG_CONFIG_LOG_LEVEL 3
3519#endif
3520
3521// <o> NRFX_RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
3522
3523// <0=> Default
3524// <1=> Black
3525// <2=> Red
3526// <3=> Green
3527// <4=> Yellow
3528// <5=> Blue
3529// <6=> Magenta
3530// <7=> Cyan
3531// <8=> White
3532
3533#ifndef NRFX_RNG_CONFIG_INFO_COLOR
3534#define NRFX_RNG_CONFIG_INFO_COLOR 0
3535#endif
3536
3537// <o> NRFX_RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3538
3539// <0=> Default
3540// <1=> Black
3541// <2=> Red
3542// <3=> Green
3543// <4=> Yellow
3544// <5=> Blue
3545// <6=> Magenta
3546// <7=> Cyan
3547// <8=> White
3548
3549#ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
3550#define NRFX_RNG_CONFIG_DEBUG_COLOR 0
3551#endif
3552
3553// </e>
3554
3555// </e>
3556
3557// <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
3558//==========================================================
3559#ifndef NRFX_RTC_ENABLED
3560#define NRFX_RTC_ENABLED 0
3561#endif
3562// <q> NRFX_RTC0_ENABLED - Enable RTC0 instance
3563
3564
3565#ifndef NRFX_RTC0_ENABLED
3566#define NRFX_RTC0_ENABLED 0
3567#endif
3568
3569// <q> NRFX_RTC1_ENABLED - Enable RTC1 instance
3570
3571
3572#ifndef NRFX_RTC1_ENABLED
3573#define NRFX_RTC1_ENABLED 0
3574#endif
3575
3576// <q> NRFX_RTC2_ENABLED - Enable RTC2 instance
3577
3578
3579#ifndef NRFX_RTC2_ENABLED
3580#define NRFX_RTC2_ENABLED 0
3581#endif
3582
3583// <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
3584#ifndef NRFX_RTC_MAXIMUM_LATENCY_US
3585#define NRFX_RTC_MAXIMUM_LATENCY_US 2000
3586#endif
3587
3588// <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
3589
3590
3591#ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
3592#define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
3593#endif
3594
3595// <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
3596
3597
3598#ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
3599#define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
3600#endif
3601
3602// <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3603
3604// <0=> 0 (highest)
3605// <1=> 1
3606// <2=> 2
3607// <3=> 3
3608// <4=> 4
3609// <5=> 5
3610// <6=> 6
3611// <7=> 7
3612
3613#ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
3614#define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
3615#endif
3616
3617// <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
3618//==========================================================
3619#ifndef NRFX_RTC_CONFIG_LOG_ENABLED
3620#define NRFX_RTC_CONFIG_LOG_ENABLED 0
3621#endif
3622// <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default Severity level
3623
3624// <0=> Off
3625// <1=> Error
3626// <2=> Warning
3627// <3=> Info
3628// <4=> Debug
3629
3630#ifndef NRFX_RTC_CONFIG_LOG_LEVEL
3631#define NRFX_RTC_CONFIG_LOG_LEVEL 3
3632#endif
3633
3634// <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3635
3636// <0=> Default
3637// <1=> Black
3638// <2=> Red
3639// <3=> Green
3640// <4=> Yellow
3641// <5=> Blue
3642// <6=> Magenta
3643// <7=> Cyan
3644// <8=> White
3645
3646#ifndef NRFX_RTC_CONFIG_INFO_COLOR
3647#define NRFX_RTC_CONFIG_INFO_COLOR 0
3648#endif
3649
3650// <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3651
3652// <0=> Default
3653// <1=> Black
3654// <2=> Red
3655// <3=> Green
3656// <4=> Yellow
3657// <5=> Blue
3658// <6=> Magenta
3659// <7=> Cyan
3660// <8=> White
3661
3662#ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
3663#define NRFX_RTC_CONFIG_DEBUG_COLOR 0
3664#endif
3665
3666// </e>
3667
3668// </e>
3669
3670// <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver
3671//==========================================================
3672#ifndef NRFX_SAADC_ENABLED
3673#define NRFX_SAADC_ENABLED 0
3674#endif
3675// <o> NRFX_SAADC_CONFIG_RESOLUTION - Resolution
3676
3677// <0=> 8 bit
3678// <1=> 10 bit
3679// <2=> 12 bit
3680// <3=> 14 bit
3681
3682#ifndef NRFX_SAADC_CONFIG_RESOLUTION
3683#define NRFX_SAADC_CONFIG_RESOLUTION 1
3684#endif
3685
3686// <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period
3687
3688// <0=> Disabled
3689// <1=> 2x
3690// <2=> 4x
3691// <3=> 8x
3692// <4=> 16x
3693// <5=> 32x
3694// <6=> 64x
3695// <7=> 128x
3696// <8=> 256x
3697
3698#ifndef NRFX_SAADC_CONFIG_OVERSAMPLE
3699#define NRFX_SAADC_CONFIG_OVERSAMPLE 0
3700#endif
3701
3702// <q> NRFX_SAADC_CONFIG_LP_MODE - Enabling low power mode
3703
3704
3705#ifndef NRFX_SAADC_CONFIG_LP_MODE
3706#define NRFX_SAADC_CONFIG_LP_MODE 0
3707#endif
3708
3709// <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
3710
3711// <0=> 0 (highest)
3712// <1=> 1
3713// <2=> 2
3714// <3=> 3
3715// <4=> 4
3716// <5=> 5
3717// <6=> 6
3718// <7=> 7
3719
3720#ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
3721#define NRFX_SAADC_CONFIG_IRQ_PRIORITY 6
3722#endif
3723
3724// <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
3725//==========================================================
3726#ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
3727#define NRFX_SAADC_CONFIG_LOG_ENABLED 0
3728#endif
3729// <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default Severity level
3730
3731// <0=> Off
3732// <1=> Error
3733// <2=> Warning
3734// <3=> Info
3735// <4=> Debug
3736
3737#ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
3738#define NRFX_SAADC_CONFIG_LOG_LEVEL 3
3739#endif
3740
3741// <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3742
3743// <0=> Default
3744// <1=> Black
3745// <2=> Red
3746// <3=> Green
3747// <4=> Yellow
3748// <5=> Blue
3749// <6=> Magenta
3750// <7=> Cyan
3751// <8=> White
3752
3753#ifndef NRFX_SAADC_CONFIG_INFO_COLOR
3754#define NRFX_SAADC_CONFIG_INFO_COLOR 0
3755#endif
3756
3757// <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3758
3759// <0=> Default
3760// <1=> Black
3761// <2=> Red
3762// <3=> Green
3763// <4=> Yellow
3764// <5=> Blue
3765// <6=> Magenta
3766// <7=> Cyan
3767// <8=> White
3768
3769#ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
3770#define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
3771#endif
3772
3773// </e>
3774
3775// </e>
3776
3777// <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver
3778//==========================================================
3779#ifndef NRFX_SPIM_ENABLED
3780#define NRFX_SPIM_ENABLED 1
3781#endif
3782// <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance
3783
3784
3785#ifndef NRFX_SPIM0_ENABLED
3786#define NRFX_SPIM0_ENABLED 0
3787#endif
3788
3789// <q> NRFX_SPIM1_ENABLED - Enable SPIM1 instance
3790
3791
3792#ifndef NRFX_SPIM1_ENABLED
3793#define NRFX_SPIM1_ENABLED 1
3794#endif
3795
3796// <q> NRFX_SPIM2_ENABLED - Enable SPIM2 instance
3797
3798
3799#ifndef NRFX_SPIM2_ENABLED
3800#define NRFX_SPIM2_ENABLED 0
3801#endif
3802
3803// <o> NRFX_SPIM_MISO_PULL_CFG - MISO pin pull configuration.
3804
3805// <0=> NRF_GPIO_PIN_NOPULL
3806// <1=> NRF_GPIO_PIN_PULLDOWN
3807// <3=> NRF_GPIO_PIN_PULLUP
3808
3809#ifndef NRFX_SPIM_MISO_PULL_CFG
3810#define NRFX_SPIM_MISO_PULL_CFG 1
3811#endif
3812
3813// <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3814
3815// <0=> 0 (highest)
3816// <1=> 1
3817// <2=> 2
3818// <3=> 3
3819// <4=> 4
3820// <5=> 5
3821// <6=> 6
3822// <7=> 7
3823
3824#ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
3825#define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
3826#endif
3827
3828// <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
3829//==========================================================
3830#ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
3831#define NRFX_SPIM_CONFIG_LOG_ENABLED 0
3832#endif
3833// <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level
3834
3835// <0=> Off
3836// <1=> Error
3837// <2=> Warning
3838// <3=> Info
3839// <4=> Debug
3840
3841#ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
3842#define NRFX_SPIM_CONFIG_LOG_LEVEL 3
3843#endif
3844
3845// <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3846
3847// <0=> Default
3848// <1=> Black
3849// <2=> Red
3850// <3=> Green
3851// <4=> Yellow
3852// <5=> Blue
3853// <6=> Magenta
3854// <7=> Cyan
3855// <8=> White
3856
3857#ifndef NRFX_SPIM_CONFIG_INFO_COLOR
3858#define NRFX_SPIM_CONFIG_INFO_COLOR 0
3859#endif
3860
3861// <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3862
3863// <0=> Default
3864// <1=> Black
3865// <2=> Red
3866// <3=> Green
3867// <4=> Yellow
3868// <5=> Blue
3869// <6=> Magenta
3870// <7=> Cyan
3871// <8=> White
3872
3873#ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
3874#define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
3875#endif
3876
3877// </e>
3878
3879// <q> NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for SPIM.
3880
3881
3882// <i> The workaround uses interrupts to wake up the CPU by catching
3883// <i> a start event of zero-length transmission to start the clock. This
3884// <i> ensures that the DMA transfer will be executed without issues and
3885// <i> that the proper transfer will be started. See more in the Errata
3886// <i> document or Anomaly 109 Addendum located at
3887// <i> https://infocenter.nordicsemi.com/
3888
3889#ifndef NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
3890#define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
3891#endif
3892
3893// </e>
3894
3895// <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver
3896//==========================================================
3897#ifndef NRFX_SPIS_ENABLED
3898#define NRFX_SPIS_ENABLED 0
3899#endif
3900// <q> NRFX_SPIS0_ENABLED - Enable SPIS0 instance
3901
3902
3903#ifndef NRFX_SPIS0_ENABLED
3904#define NRFX_SPIS0_ENABLED 0
3905#endif
3906
3907// <q> NRFX_SPIS1_ENABLED - Enable SPIS1 instance
3908
3909
3910#ifndef NRFX_SPIS1_ENABLED
3911#define NRFX_SPIS1_ENABLED 0
3912#endif
3913
3914// <q> NRFX_SPIS2_ENABLED - Enable SPIS2 instance
3915
3916
3917#ifndef NRFX_SPIS2_ENABLED
3918#define NRFX_SPIS2_ENABLED 0
3919#endif
3920
3921// <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
3922
3923// <0=> 0 (highest)
3924// <1=> 1
3925// <2=> 2
3926// <3=> 3
3927// <4=> 4
3928// <5=> 5
3929// <6=> 6
3930// <7=> 7
3931
3932#ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
3933#define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
3934#endif
3935
3936// <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
3937
3938
3939#ifndef NRFX_SPIS_DEFAULT_DEF
3940#define NRFX_SPIS_DEFAULT_DEF 255
3941#endif
3942
3943// <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
3944
3945
3946#ifndef NRFX_SPIS_DEFAULT_ORC
3947#define NRFX_SPIS_DEFAULT_ORC 255
3948#endif
3949
3950// <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
3951//==========================================================
3952#ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
3953#define NRFX_SPIS_CONFIG_LOG_ENABLED 0
3954#endif
3955// <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default Severity level
3956
3957// <0=> Off
3958// <1=> Error
3959// <2=> Warning
3960// <3=> Info
3961// <4=> Debug
3962
3963#ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
3964#define NRFX_SPIS_CONFIG_LOG_LEVEL 3
3965#endif
3966
3967// <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
3968
3969// <0=> Default
3970// <1=> Black
3971// <2=> Red
3972// <3=> Green
3973// <4=> Yellow
3974// <5=> Blue
3975// <6=> Magenta
3976// <7=> Cyan
3977// <8=> White
3978
3979#ifndef NRFX_SPIS_CONFIG_INFO_COLOR
3980#define NRFX_SPIS_CONFIG_INFO_COLOR 0
3981#endif
3982
3983// <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3984
3985// <0=> Default
3986// <1=> Black
3987// <2=> Red
3988// <3=> Green
3989// <4=> Yellow
3990// <5=> Blue
3991// <6=> Magenta
3992// <7=> Cyan
3993// <8=> White
3994
3995#ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
3996#define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
3997#endif
3998
3999// </e>
4000
4001// <q> NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS.
4002
4003
4004// <i> The workaround uses a GPIOTE channel to generate interrupts
4005// <i> on falling edges detected on the CSN line. This will make
4006// <i> the CPU active for the moment when SPIS starts DMA transfers,
4007// <i> and this way the transfers will be protected.
4008// <i> This workaround uses GPIOTE driver, so this driver must be
4009// <i> enabled as well.
4010
4011#ifndef NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED
4012#define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
4013#endif
4014
4015// </e>
4016
4017// <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver
4018//==========================================================
4019#ifndef NRFX_SPI_ENABLED
4020#define NRFX_SPI_ENABLED 1
4021#endif
4022// <q> NRFX_SPI0_ENABLED - Enable SPI0 instance
4023
4024
4025#ifndef NRFX_SPI0_ENABLED
4026#define NRFX_SPI0_ENABLED 0
4027#endif
4028
4029// <q> NRFX_SPI1_ENABLED - Enable SPI1 instance
4030
4031
4032#ifndef NRFX_SPI1_ENABLED
4033#define NRFX_SPI1_ENABLED 1
4034#endif
4035
4036// <q> NRFX_SPI2_ENABLED - Enable SPI2 instance
4037
4038
4039#ifndef NRFX_SPI2_ENABLED
4040#define NRFX_SPI2_ENABLED 0
4041#endif
4042
4043// <o> NRFX_SPI_MISO_PULL_CFG - MISO pin pull configuration.
4044
4045// <0=> NRF_GPIO_PIN_NOPULL
4046// <1=> NRF_GPIO_PIN_PULLDOWN
4047// <3=> NRF_GPIO_PIN_PULLUP
4048
4049#ifndef NRFX_SPI_MISO_PULL_CFG
4050#define NRFX_SPI_MISO_PULL_CFG 1
4051#endif
4052
4053// <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4054
4055// <0=> 0 (highest)
4056// <1=> 1
4057// <2=> 2
4058// <3=> 3
4059// <4=> 4
4060// <5=> 5
4061// <6=> 6
4062// <7=> 7
4063
4064#ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
4065#define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
4066#endif
4067
4068// <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
4069//==========================================================
4070#ifndef NRFX_SPI_CONFIG_LOG_ENABLED
4071#define NRFX_SPI_CONFIG_LOG_ENABLED 0
4072#endif
4073// <o> NRFX_SPI_CONFIG_LOG_LEVEL - Default Severity level
4074
4075// <0=> Off
4076// <1=> Error
4077// <2=> Warning
4078// <3=> Info
4079// <4=> Debug
4080
4081#ifndef NRFX_SPI_CONFIG_LOG_LEVEL
4082#define NRFX_SPI_CONFIG_LOG_LEVEL 3
4083#endif
4084
4085// <o> NRFX_SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
4086
4087// <0=> Default
4088// <1=> Black
4089// <2=> Red
4090// <3=> Green
4091// <4=> Yellow
4092// <5=> Blue
4093// <6=> Magenta
4094// <7=> Cyan
4095// <8=> White
4096
4097#ifndef NRFX_SPI_CONFIG_INFO_COLOR
4098#define NRFX_SPI_CONFIG_INFO_COLOR 0
4099#endif
4100
4101// <o> NRFX_SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4102
4103// <0=> Default
4104// <1=> Black
4105// <2=> Red
4106// <3=> Green
4107// <4=> Yellow
4108// <5=> Blue
4109// <6=> Magenta
4110// <7=> Cyan
4111// <8=> White
4112
4113#ifndef NRFX_SPI_CONFIG_DEBUG_COLOR
4114#define NRFX_SPI_CONFIG_DEBUG_COLOR 0
4115#endif
4116
4117// </e>
4118
4119// </e>
4120
4121// <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator
4122//==========================================================
4123#ifndef NRFX_SWI_ENABLED
4124#define NRFX_SWI_ENABLED 0
4125#endif
4126// <q> NRFX_EGU_ENABLED - Enable EGU support
4127
4128
4129#ifndef NRFX_EGU_ENABLED
4130#define NRFX_EGU_ENABLED 0
4131#endif
4132
4133// <q> NRFX_SWI0_DISABLED - Exclude SWI0 from being utilized by the driver
4134
4135
4136#ifndef NRFX_SWI0_DISABLED
4137#define NRFX_SWI0_DISABLED 0
4138#endif
4139
4140// <q> NRFX_SWI1_DISABLED - Exclude SWI1 from being utilized by the driver
4141
4142
4143#ifndef NRFX_SWI1_DISABLED
4144#define NRFX_SWI1_DISABLED 0
4145#endif
4146
4147// <q> NRFX_SWI2_DISABLED - Exclude SWI2 from being utilized by the driver
4148
4149
4150#ifndef NRFX_SWI2_DISABLED
4151#define NRFX_SWI2_DISABLED 0
4152#endif
4153
4154// <q> NRFX_SWI3_DISABLED - Exclude SWI3 from being utilized by the driver
4155
4156
4157#ifndef NRFX_SWI3_DISABLED
4158#define NRFX_SWI3_DISABLED 0
4159#endif
4160
4161// <q> NRFX_SWI4_DISABLED - Exclude SWI4 from being utilized by the driver
4162
4163
4164#ifndef NRFX_SWI4_DISABLED
4165#define NRFX_SWI4_DISABLED 0
4166#endif
4167
4168// <q> NRFX_SWI5_DISABLED - Exclude SWI5 from being utilized by the driver
4169
4170
4171#ifndef NRFX_SWI5_DISABLED
4172#define NRFX_SWI5_DISABLED 0
4173#endif
4174
4175// <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
4176//==========================================================
4177#ifndef NRFX_SWI_CONFIG_LOG_ENABLED
4178#define NRFX_SWI_CONFIG_LOG_ENABLED 0
4179#endif
4180// <o> NRFX_SWI_CONFIG_LOG_LEVEL - Default Severity level
4181
4182// <0=> Off
4183// <1=> Error
4184// <2=> Warning
4185// <3=> Info
4186// <4=> Debug
4187
4188#ifndef NRFX_SWI_CONFIG_LOG_LEVEL
4189#define NRFX_SWI_CONFIG_LOG_LEVEL 3
4190#endif
4191
4192// <o> NRFX_SWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
4193
4194// <0=> Default
4195// <1=> Black
4196// <2=> Red
4197// <3=> Green
4198// <4=> Yellow
4199// <5=> Blue
4200// <6=> Magenta
4201// <7=> Cyan
4202// <8=> White
4203
4204#ifndef NRFX_SWI_CONFIG_INFO_COLOR
4205#define NRFX_SWI_CONFIG_INFO_COLOR 0
4206#endif
4207
4208// <o> NRFX_SWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4209
4210// <0=> Default
4211// <1=> Black
4212// <2=> Red
4213// <3=> Green
4214// <4=> Yellow
4215// <5=> Blue
4216// <6=> Magenta
4217// <7=> Cyan
4218// <8=> White
4219
4220#ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
4221#define NRFX_SWI_CONFIG_DEBUG_COLOR 0
4222#endif
4223
4224// </e>
4225
4226// </e>
4227
4228// <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver
4229//==========================================================
4230#ifndef NRFX_TIMER_ENABLED
4231#define NRFX_TIMER_ENABLED 1
4232#endif
4233// <q> NRFX_TIMER0_ENABLED - Enable TIMER0 instance
4234
4235
4236#ifndef NRFX_TIMER0_ENABLED
4237#define NRFX_TIMER0_ENABLED 0
4238#endif
4239
4240// <q> NRFX_TIMER1_ENABLED - Enable TIMER1 instance
4241
4242
4243#ifndef NRFX_TIMER1_ENABLED
4244#define NRFX_TIMER1_ENABLED 1
4245#endif
4246
4247// <q> NRFX_TIMER2_ENABLED - Enable TIMER2 instance
4248
4249
4250#ifndef NRFX_TIMER2_ENABLED
4251#define NRFX_TIMER2_ENABLED 1
4252#endif
4253
4254// <q> NRFX_TIMER3_ENABLED - Enable TIMER3 instance
4255
4256
4257#ifndef NRFX_TIMER3_ENABLED
4258#define NRFX_TIMER3_ENABLED 1
4259#endif
4260
4261// <q> NRFX_TIMER4_ENABLED - Enable TIMER4 instance
4262
4263
4264#ifndef NRFX_TIMER4_ENABLED
4265#define NRFX_TIMER4_ENABLED 1
4266#endif
4267
4268// <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
4269
4270// <0=> 16 MHz
4271// <1=> 8 MHz
4272// <2=> 4 MHz
4273// <3=> 2 MHz
4274// <4=> 1 MHz
4275// <5=> 500 kHz
4276// <6=> 250 kHz
4277// <7=> 125 kHz
4278// <8=> 62.5 kHz
4279// <9=> 31.25 kHz
4280
4281#ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
4282#define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
4283#endif
4284
4285// <o> NRFX_TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
4286
4287// <0=> Timer
4288// <1=> Counter
4289
4290#ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
4291#define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
4292#endif
4293
4294// <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
4295
4296// <0=> 16 bit
4297// <1=> 8 bit
4298// <2=> 24 bit
4299// <3=> 32 bit
4300
4301#ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
4302#define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
4303#endif
4304
4305// <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4306
4307// <0=> 0 (highest)
4308// <1=> 1
4309// <2=> 2
4310// <3=> 3
4311// <4=> 4
4312// <5=> 5
4313// <6=> 6
4314// <7=> 7
4315
4316#ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
4317#define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
4318#endif
4319
4320// <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
4321//==========================================================
4322#ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
4323#define NRFX_TIMER_CONFIG_LOG_ENABLED 0
4324#endif
4325// <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default Severity level
4326
4327// <0=> Off
4328// <1=> Error
4329// <2=> Warning
4330// <3=> Info
4331// <4=> Debug
4332
4333#ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
4334#define NRFX_TIMER_CONFIG_LOG_LEVEL 3
4335#endif
4336
4337// <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
4338
4339// <0=> Default
4340// <1=> Black
4341// <2=> Red
4342// <3=> Green
4343// <4=> Yellow
4344// <5=> Blue
4345// <6=> Magenta
4346// <7=> Cyan
4347// <8=> White
4348
4349#ifndef NRFX_TIMER_CONFIG_INFO_COLOR
4350#define NRFX_TIMER_CONFIG_INFO_COLOR 0
4351#endif
4352
4353// <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4354
4355// <0=> Default
4356// <1=> Black
4357// <2=> Red
4358// <3=> Green
4359// <4=> Yellow
4360// <5=> Blue
4361// <6=> Magenta
4362// <7=> Cyan
4363// <8=> White
4364
4365#ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
4366#define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
4367#endif
4368
4369// </e>
4370
4371// </e>
4372
4373// <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver
4374//==========================================================
4375#ifndef NRFX_TWIM_ENABLED
4376#define NRFX_TWIM_ENABLED 1
4377#endif
4378// <q> NRFX_TWIM0_ENABLED - Enable TWIM0 instance
4379
4380
4381#ifndef NRFX_TWIM0_ENABLED
4382#define NRFX_TWIM0_ENABLED 1
4383#endif
4384
4385// <q> NRFX_TWIM1_ENABLED - Enable TWIM1 instance
4386
4387
4388#ifndef NRFX_TWIM1_ENABLED
4389#define NRFX_TWIM1_ENABLED 0
4390#endif
4391
4392// <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY - Frequency
4393
4394// <26738688=> 100k
4395// <67108864=> 250k
4396// <104857600=> 400k
4397
4398#ifndef NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY
4399#define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY 26738688
4400#endif
4401
4402// <q> NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
4403
4404
4405#ifndef NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT
4406#define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
4407#endif
4408
4409// <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4410
4411// <0=> 0 (highest)
4412// <1=> 1
4413// <2=> 2
4414// <3=> 3
4415// <4=> 4
4416// <5=> 5
4417// <6=> 6
4418// <7=> 7
4419
4420#ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
4421#define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
4422#endif
4423
4424// <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
4425//==========================================================
4426#ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
4427#define NRFX_TWIM_CONFIG_LOG_ENABLED 0
4428#endif
4429// <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default Severity level
4430
4431// <0=> Off
4432// <1=> Error
4433// <2=> Warning
4434// <3=> Info
4435// <4=> Debug
4436
4437#ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
4438#define NRFX_TWIM_CONFIG_LOG_LEVEL 3
4439#endif
4440
4441// <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
4442
4443// <0=> Default
4444// <1=> Black
4445// <2=> Red
4446// <3=> Green
4447// <4=> Yellow
4448// <5=> Blue
4449// <6=> Magenta
4450// <7=> Cyan
4451// <8=> White
4452
4453#ifndef NRFX_TWIM_CONFIG_INFO_COLOR
4454#define NRFX_TWIM_CONFIG_INFO_COLOR 0
4455#endif
4456
4457// <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4458
4459// <0=> Default
4460// <1=> Black
4461// <2=> Red
4462// <3=> Green
4463// <4=> Yellow
4464// <5=> Blue
4465// <6=> Magenta
4466// <7=> Cyan
4467// <8=> White
4468
4469#ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
4470#define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
4471#endif
4472
4473// </e>
4474
4475// <q> NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for TWIM.
4476
4477
4478// <i> The workaround uses interrupts to wake up the CPU by catching
4479// <i> the start event of zero-frequency transmission, clear the
4480// <i> peripheral, set desired frequency, start the peripheral, and
4481// <i> the proper transmission. See more in the Errata document or
4482// <i> Anomaly 109 Addendum located at https://infocenter.nordicsemi.com/
4483
4484#ifndef NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
4485#define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
4486#endif
4487
4488// </e>
4489
4490// <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver
4491//==========================================================
4492#ifndef NRFX_TWIS_ENABLED
4493#define NRFX_TWIS_ENABLED 0
4494#endif
4495// <q> NRFX_TWIS0_ENABLED - Enable TWIS0 instance
4496
4497
4498#ifndef NRFX_TWIS0_ENABLED
4499#define NRFX_TWIS0_ENABLED 0
4500#endif
4501
4502// <q> NRFX_TWIS1_ENABLED - Enable TWIS1 instance
4503
4504
4505#ifndef NRFX_TWIS1_ENABLED
4506#define NRFX_TWIS1_ENABLED 0
4507#endif
4508
4509// <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
4510
4511
4512// <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
4513
4514#ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
4515#define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
4516#endif
4517
4518// <q> NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode
4519
4520
4521// <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
4522
4523#ifndef NRFX_TWIS_NO_SYNC_MODE
4524#define NRFX_TWIS_NO_SYNC_MODE 0
4525#endif
4526
4527// <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR0 - Address0
4528#ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR0
4529#define NRFX_TWIS_DEFAULT_CONFIG_ADDR0 0
4530#endif
4531
4532// <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR1 - Address1
4533#ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR1
4534#define NRFX_TWIS_DEFAULT_CONFIG_ADDR1 0
4535#endif
4536
4537// <o> NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
4538
4539// <0=> Disabled
4540// <1=> Pull down
4541// <3=> Pull up
4542
4543#ifndef NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL
4544#define NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL 0
4545#endif
4546
4547// <o> NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
4548
4549// <0=> Disabled
4550// <1=> Pull down
4551// <3=> Pull up
4552
4553#ifndef NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL
4554#define NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL 0
4555#endif
4556
4557// <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4558
4559// <0=> 0 (highest)
4560// <1=> 1
4561// <2=> 2
4562// <3=> 3
4563// <4=> 4
4564// <5=> 5
4565// <6=> 6
4566// <7=> 7
4567
4568#ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
4569#define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
4570#endif
4571
4572// <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
4573//==========================================================
4574#ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
4575#define NRFX_TWIS_CONFIG_LOG_ENABLED 0
4576#endif
4577// <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default Severity level
4578
4579// <0=> Off
4580// <1=> Error
4581// <2=> Warning
4582// <3=> Info
4583// <4=> Debug
4584
4585#ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
4586#define NRFX_TWIS_CONFIG_LOG_LEVEL 3
4587#endif
4588
4589// <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
4590
4591// <0=> Default
4592// <1=> Black
4593// <2=> Red
4594// <3=> Green
4595// <4=> Yellow
4596// <5=> Blue
4597// <6=> Magenta
4598// <7=> Cyan
4599// <8=> White
4600
4601#ifndef NRFX_TWIS_CONFIG_INFO_COLOR
4602#define NRFX_TWIS_CONFIG_INFO_COLOR 0
4603#endif
4604
4605// <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4606
4607// <0=> Default
4608// <1=> Black
4609// <2=> Red
4610// <3=> Green
4611// <4=> Yellow
4612// <5=> Blue
4613// <6=> Magenta
4614// <7=> Cyan
4615// <8=> White
4616
4617#ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
4618#define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
4619#endif
4620
4621// </e>
4622
4623// </e>
4624
4625// <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
4626//==========================================================
4627#ifndef NRFX_TWI_ENABLED
4628#define NRFX_TWI_ENABLED 1
4629#endif
4630// <q> NRFX_TWI0_ENABLED - Enable TWI0 instance
4631
4632
4633#ifndef NRFX_TWI0_ENABLED
4634#define NRFX_TWI0_ENABLED 1
4635#endif
4636
4637// <q> NRFX_TWI1_ENABLED - Enable TWI1 instance
4638
4639
4640#ifndef NRFX_TWI1_ENABLED
4641#define NRFX_TWI1_ENABLED 0
4642#endif
4643
4644// <o> NRFX_TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
4645
4646// <26738688=> 100k
4647// <67108864=> 250k
4648// <104857600=> 400k
4649
4650#ifndef NRFX_TWI_DEFAULT_CONFIG_FREQUENCY
4651#define NRFX_TWI_DEFAULT_CONFIG_FREQUENCY 26738688
4652#endif
4653
4654// <q> NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
4655
4656
4657#ifndef NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
4658#define NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
4659#endif
4660
4661// <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4662
4663// <0=> 0 (highest)
4664// <1=> 1
4665// <2=> 2
4666// <3=> 3
4667// <4=> 4
4668// <5=> 5
4669// <6=> 6
4670// <7=> 7
4671
4672#ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
4673#define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
4674#endif
4675
4676// <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
4677//==========================================================
4678#ifndef NRFX_TWI_CONFIG_LOG_ENABLED
4679#define NRFX_TWI_CONFIG_LOG_ENABLED 0
4680#endif
4681// <o> NRFX_TWI_CONFIG_LOG_LEVEL - Default Severity level
4682
4683// <0=> Off
4684// <1=> Error
4685// <2=> Warning
4686// <3=> Info
4687// <4=> Debug
4688
4689#ifndef NRFX_TWI_CONFIG_LOG_LEVEL
4690#define NRFX_TWI_CONFIG_LOG_LEVEL 3
4691#endif
4692
4693// <o> NRFX_TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
4694
4695// <0=> Default
4696// <1=> Black
4697// <2=> Red
4698// <3=> Green
4699// <4=> Yellow
4700// <5=> Blue
4701// <6=> Magenta
4702// <7=> Cyan
4703// <8=> White
4704
4705#ifndef NRFX_TWI_CONFIG_INFO_COLOR
4706#define NRFX_TWI_CONFIG_INFO_COLOR 0
4707#endif
4708
4709// <o> NRFX_TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4710
4711// <0=> Default
4712// <1=> Black
4713// <2=> Red
4714// <3=> Green
4715// <4=> Yellow
4716// <5=> Blue
4717// <6=> Magenta
4718// <7=> Cyan
4719// <8=> White
4720
4721#ifndef NRFX_TWI_CONFIG_DEBUG_COLOR
4722#define NRFX_TWI_CONFIG_DEBUG_COLOR 0
4723#endif
4724
4725// </e>
4726
4727// </e>
4728
4729// <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
4730//==========================================================
4731#ifndef NRFX_UARTE_ENABLED
4732#define NRFX_UARTE_ENABLED 1
4733#endif
4734// <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
4735#ifndef NRFX_UARTE0_ENABLED
4736#define NRFX_UARTE0_ENABLED 0
4737#endif
4738
4739// <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control
4740
4741// <0=> Disabled
4742// <1=> Enabled
4743
4744#ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
4745#define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
4746#endif
4747
4748// <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity
4749
4750// <0=> Excluded
4751// <14=> Included
4752
4753#ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
4754#define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
4755#endif
4756
4757// <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
4758
4759// <323584=> 1200 baud
4760// <643072=> 2400 baud
4761// <1290240=> 4800 baud
4762// <2576384=> 9600 baud
4763// <3862528=> 14400 baud
4764// <5152768=> 19200 baud
4765// <7716864=> 28800 baud
4766// <8388608=> 31250 baud
4767// <10289152=> 38400 baud
4768// <15007744=> 56000 baud
4769// <15400960=> 57600 baud
4770// <20615168=> 76800 baud
4771// <30801920=> 115200 baud
4772// <61865984=> 230400 baud
4773// <67108864=> 250000 baud
4774// <121634816=> 460800 baud
4775// <251658240=> 921600 baud
4776// <268435456=> 1000000 baud
4777
4778#ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
4779#define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
4780#endif
4781
4782// <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4783
4784// <0=> 0 (highest)
4785// <1=> 1
4786// <2=> 2
4787// <3=> 3
4788// <4=> 4
4789// <5=> 5
4790// <6=> 6
4791// <7=> 7
4792
4793#ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
4794#define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 6
4795#endif
4796
4797// <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
4798//==========================================================
4799#ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
4800#define NRFX_UARTE_CONFIG_LOG_ENABLED 0
4801#endif
4802// <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level
4803
4804// <0=> Off
4805// <1=> Error
4806// <2=> Warning
4807// <3=> Info
4808// <4=> Debug
4809
4810#ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
4811#define NRFX_UARTE_CONFIG_LOG_LEVEL 3
4812#endif
4813
4814// <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
4815
4816// <0=> Default
4817// <1=> Black
4818// <2=> Red
4819// <3=> Green
4820// <4=> Yellow
4821// <5=> Blue
4822// <6=> Magenta
4823// <7=> Cyan
4824// <8=> White
4825
4826#ifndef NRFX_UARTE_CONFIG_INFO_COLOR
4827#define NRFX_UARTE_CONFIG_INFO_COLOR 0
4828#endif
4829
4830// <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4831
4832// <0=> Default
4833// <1=> Black
4834// <2=> Red
4835// <3=> Green
4836// <4=> Yellow
4837// <5=> Blue
4838// <6=> Magenta
4839// <7=> Cyan
4840// <8=> White
4841
4842#ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
4843#define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
4844#endif
4845
4846// </e>
4847
4848// </e>
4849
4850// <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
4851//==========================================================
4852#ifndef NRFX_UART_ENABLED
4853#define NRFX_UART_ENABLED 1
4854#endif
4855// <o> NRFX_UART0_ENABLED - Enable UART0 instance
4856#ifndef NRFX_UART0_ENABLED
4857#define NRFX_UART0_ENABLED 0
4858#endif
4859
4860// <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
4861
4862// <0=> Disabled
4863// <1=> Enabled
4864
4865#ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
4866#define NRFX_UART_DEFAULT_CONFIG_HWFC 0
4867#endif
4868
4869// <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity
4870
4871// <0=> Excluded
4872// <14=> Included
4873
4874#ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
4875#define NRFX_UART_DEFAULT_CONFIG_PARITY 0
4876#endif
4877
4878// <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
4879
4880// <323584=> 1200 baud
4881// <643072=> 2400 baud
4882// <1290240=> 4800 baud
4883// <2576384=> 9600 baud
4884// <3866624=> 14400 baud
4885// <5152768=> 19200 baud
4886// <7729152=> 28800 baud
4887// <8388608=> 31250 baud
4888// <10309632=> 38400 baud
4889// <15007744=> 56000 baud
4890// <15462400=> 57600 baud
4891// <20615168=> 76800 baud
4892// <30924800=> 115200 baud
4893// <61845504=> 230400 baud
4894// <67108864=> 250000 baud
4895// <123695104=> 460800 baud
4896// <247386112=> 921600 baud
4897// <268435456=> 1000000 baud
4898
4899#ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
4900#define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
4901#endif
4902
4903// <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
4904
4905// <0=> 0 (highest)
4906// <1=> 1
4907// <2=> 2
4908// <3=> 3
4909// <4=> 4
4910// <5=> 5
4911// <6=> 6
4912// <7=> 7
4913
4914#ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
4915#define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
4916#endif
4917
4918// <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
4919//==========================================================
4920#ifndef NRFX_UART_CONFIG_LOG_ENABLED
4921#define NRFX_UART_CONFIG_LOG_ENABLED 0
4922#endif
4923// <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level
4924
4925// <0=> Off
4926// <1=> Error
4927// <2=> Warning
4928// <3=> Info
4929// <4=> Debug
4930
4931#ifndef NRFX_UART_CONFIG_LOG_LEVEL
4932#define NRFX_UART_CONFIG_LOG_LEVEL 3
4933#endif
4934
4935// <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
4936
4937// <0=> Default
4938// <1=> Black
4939// <2=> Red
4940// <3=> Green
4941// <4=> Yellow
4942// <5=> Blue
4943// <6=> Magenta
4944// <7=> Cyan
4945// <8=> White
4946
4947#ifndef NRFX_UART_CONFIG_INFO_COLOR
4948#define NRFX_UART_CONFIG_INFO_COLOR 0
4949#endif
4950
4951// <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4952
4953// <0=> Default
4954// <1=> Black
4955// <2=> Red
4956// <3=> Green
4957// <4=> Yellow
4958// <5=> Blue
4959// <6=> Magenta
4960// <7=> Cyan
4961// <8=> White
4962
4963#ifndef NRFX_UART_CONFIG_DEBUG_COLOR
4964#define NRFX_UART_CONFIG_DEBUG_COLOR 0
4965#endif
4966
4967// </e>
4968
4969// </e>
4970
4971// <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver
4972//==========================================================
4973#ifndef NRFX_WDT_ENABLED
4974#define NRFX_WDT_ENABLED 1
4975#endif
4976// <o> NRFX_WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
4977
4978// <1=> Run in SLEEP, Pause in HALT
4979// <8=> Pause in SLEEP, Run in HALT
4980// <9=> Run in SLEEP and HALT
4981// <0=> Pause in SLEEP and HALT
4982
4983#ifndef NRFX_WDT_CONFIG_BEHAVIOUR
4984#define NRFX_WDT_CONFIG_BEHAVIOUR 9
4985#endif
4986
4987// <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
4988
4989
4990#ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
4991#define NRFX_WDT_CONFIG_RELOAD_VALUE 4000
4992#endif
4993
4994// <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
4995
4996// <0=> Include WDT IRQ handling
4997// <1=> Remove WDT IRQ handling
4998
4999#ifndef NRFX_WDT_CONFIG_NO_IRQ
5000#define NRFX_WDT_CONFIG_NO_IRQ 1
5001#define NRFX_WDT_CONFIG_NO_IRQ 1
5002#endif
5003
5004// <o> NRFX_WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
5005
5006// <0=> 0 (highest)
5007// <1=> 1
5008// <2=> 2
5009// <3=> 3
5010// <4=> 4
5011// <5=> 5
5012// <6=> 6
5013// <7=> 7
5014
5015#ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
5016#define NRFX_WDT_CONFIG_IRQ_PRIORITY 6
5017#endif
5018
5019// <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
5020//==========================================================
5021#ifndef NRFX_WDT_CONFIG_LOG_ENABLED
5022#define NRFX_WDT_CONFIG_LOG_ENABLED 0
5023#endif
5024// <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default Severity level
5025
5026// <0=> Off
5027// <1=> Error
5028// <2=> Warning
5029// <3=> Info
5030// <4=> Debug
5031
5032#ifndef NRFX_WDT_CONFIG_LOG_LEVEL
5033#define NRFX_WDT_CONFIG_LOG_LEVEL 3
5034#endif
5035
5036// <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
5037
5038// <0=> Default
5039// <1=> Black
5040// <2=> Red
5041// <3=> Green
5042// <4=> Yellow
5043// <5=> Blue
5044// <6=> Magenta
5045// <7=> Cyan
5046// <8=> White
5047
5048#ifndef NRFX_WDT_CONFIG_INFO_COLOR
5049#define NRFX_WDT_CONFIG_INFO_COLOR 0
5050#endif
5051
5052// <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5053
5054// <0=> Default
5055// <1=> Black
5056// <2=> Red
5057// <3=> Green
5058// <4=> Yellow
5059// <5=> Blue
5060// <6=> Magenta
5061// <7=> Cyan
5062// <8=> White
5063
5064#ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
5065#define NRFX_WDT_CONFIG_DEBUG_COLOR 0
5066#endif
5067
5068// </e>
5069
5070// </e>
5071
5072// <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
5073//==========================================================
5074#ifndef NRF_CLOCK_ENABLED
5075#define NRF_CLOCK_ENABLED 1
5076#endif
5077// <o> CLOCK_CONFIG_LF_SRC - LF Clock Source
5078
5079// <0=> RC
5080// <1=> XTAL
5081// <2=> Synth
5082// <131073=> External Low Swing
5083// <196609=> External Full Swing
5084
5085#ifndef CLOCK_CONFIG_LF_SRC
5086#define CLOCK_CONFIG_LF_SRC 1
5087#endif
5088
5089// <q> CLOCK_CONFIG_LF_CAL_ENABLED - Calibration enable for LF Clock Source
5090
5091
5092#ifndef CLOCK_CONFIG_LF_CAL_ENABLED
5093#define CLOCK_CONFIG_LF_CAL_ENABLED 0
5094#endif
5095
5096// <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
5097
5098
5099// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5100// <0=> 0 (highest)
5101// <1=> 1
5102// <2=> 2
5103// <3=> 3
5104// <4=> 4
5105// <5=> 5
5106// <6=> 6
5107// <7=> 7
5108
5109#ifndef CLOCK_CONFIG_IRQ_PRIORITY
5110#define CLOCK_CONFIG_IRQ_PRIORITY 6
5111#endif
5112
5113// </e>
5114
5115// <e> PDM_ENABLED - nrf_drv_pdm - PDM peripheral driver - legacy layer
5116//==========================================================
5117#ifndef PDM_ENABLED
5118#define PDM_ENABLED 1
5119#endif
5120// <o> PDM_CONFIG_MODE - Mode
5121
5122// <0=> Stereo
5123// <1=> Mono
5124
5125#ifndef PDM_CONFIG_MODE
5126#define PDM_CONFIG_MODE 1
5127#endif
5128
5129// <o> PDM_CONFIG_EDGE - Edge
5130
5131// <0=> Left falling
5132// <1=> Left rising
5133
5134#ifndef PDM_CONFIG_EDGE
5135#define PDM_CONFIG_EDGE 0
5136#endif
5137
5138// <o> PDM_CONFIG_CLOCK_FREQ - Clock frequency
5139
5140// <134217728=> 1000k
5141// <138412032=> 1032k (default)
5142// <142606336=> 1067k
5143
5144#ifndef PDM_CONFIG_CLOCK_FREQ
5145#define PDM_CONFIG_CLOCK_FREQ 138412032
5146#endif
5147
5148// <o> PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
5149
5150
5151// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5152// <0=> 0 (highest)
5153// <1=> 1
5154// <2=> 2
5155// <3=> 3
5156// <4=> 4
5157// <5=> 5
5158// <6=> 6
5159// <7=> 7
5160
5161#ifndef PDM_CONFIG_IRQ_PRIORITY
5162#define PDM_CONFIG_IRQ_PRIORITY 6
5163#endif
5164
5165// </e>
5166
5167// <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer
5168//==========================================================
5169#ifndef POWER_ENABLED
5170#define POWER_ENABLED 1
5171#endif
5172// <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
5173
5174
5175// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5176// <0=> 0 (highest)
5177// <1=> 1
5178// <2=> 2
5179// <3=> 3
5180// <4=> 4
5181// <5=> 5
5182// <6=> 6
5183// <7=> 7
5184
5185#ifndef POWER_CONFIG_IRQ_PRIORITY
5186#define POWER_CONFIG_IRQ_PRIORITY 6
5187#endif
5188
5189// <q> POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
5190
5191
5192// <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
5193
5194#ifndef POWER_CONFIG_DEFAULT_DCDCEN
5195#define POWER_CONFIG_DEFAULT_DCDCEN 1
5196#endif
5197
5198// <q> POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
5199
5200
5201// <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
5202
5203#ifndef POWER_CONFIG_DEFAULT_DCDCENHV
5204#define POWER_CONFIG_DEFAULT_DCDCENHV 0
5205#endif
5206
5207// </e>
5208
5209// <q> PPI_ENABLED - nrf_drv_ppi - PPI peripheral driver - legacy layer
5210
5211
5212#ifndef PPI_ENABLED
5213#define PPI_ENABLED 1
5214#endif
5215
5216// <e> PWM_ENABLED - nrf_drv_pwm - PWM peripheral driver - legacy layer
5217//==========================================================
5218#ifndef PWM_ENABLED
5219#define PWM_ENABLED 1
5220#endif
5221// <o> PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
5222
5223
5224#ifndef PWM_DEFAULT_CONFIG_OUT0_PIN
5225#define PWM_DEFAULT_CONFIG_OUT0_PIN 31
5226#endif
5227
5228// <o> PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
5229
5230
5231#ifndef PWM_DEFAULT_CONFIG_OUT1_PIN
5232#define PWM_DEFAULT_CONFIG_OUT1_PIN 31
5233#endif
5234
5235// <o> PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
5236
5237
5238#ifndef PWM_DEFAULT_CONFIG_OUT2_PIN
5239#define PWM_DEFAULT_CONFIG_OUT2_PIN 31
5240#endif
5241
5242// <o> PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
5243
5244
5245#ifndef PWM_DEFAULT_CONFIG_OUT3_PIN
5246#define PWM_DEFAULT_CONFIG_OUT3_PIN 31
5247#endif
5248
5249// <o> PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
5250
5251// <0=> 16 MHz
5252// <1=> 8 MHz
5253// <2=> 4 MHz
5254// <3=> 2 MHz
5255// <4=> 1 MHz
5256// <5=> 500 kHz
5257// <6=> 250 kHz
5258// <7=> 125 kHz
5259
5260#ifndef PWM_DEFAULT_CONFIG_BASE_CLOCK
5261#define PWM_DEFAULT_CONFIG_BASE_CLOCK 4
5262#endif
5263
5264// <o> PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
5265
5266// <0=> Up
5267// <1=> Up and Down
5268
5269#ifndef PWM_DEFAULT_CONFIG_COUNT_MODE
5270#define PWM_DEFAULT_CONFIG_COUNT_MODE 0
5271#endif
5272
5273// <o> PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
5274#ifndef PWM_DEFAULT_CONFIG_TOP_VALUE
5275#define PWM_DEFAULT_CONFIG_TOP_VALUE 1000
5276#endif
5277
5278// <o> PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
5279
5280// <0=> Common
5281// <1=> Grouped
5282// <2=> Individual
5283// <3=> Waveform
5284
5285#ifndef PWM_DEFAULT_CONFIG_LOAD_MODE
5286#define PWM_DEFAULT_CONFIG_LOAD_MODE 0
5287#endif
5288
5289// <o> PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
5290
5291// <0=> Auto
5292// <1=> Triggered
5293
5294#ifndef PWM_DEFAULT_CONFIG_STEP_MODE
5295#define PWM_DEFAULT_CONFIG_STEP_MODE 0
5296#endif
5297
5298// <o> PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5299
5300
5301// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5302// <0=> 0 (highest)
5303// <1=> 1
5304// <2=> 2
5305// <3=> 3
5306// <4=> 4
5307// <5=> 5
5308// <6=> 6
5309// <7=> 7
5310
5311#ifndef PWM_DEFAULT_CONFIG_IRQ_PRIORITY
5312#define PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
5313#endif
5314
5315// <q> PWM0_ENABLED - Enable PWM0 instance
5316
5317
5318#ifndef PWM0_ENABLED
5319#define PWM0_ENABLED 1
5320#endif
5321
5322// <q> PWM1_ENABLED - Enable PWM1 instance
5323
5324
5325#ifndef PWM1_ENABLED
5326#define PWM1_ENABLED 1
5327#endif
5328
5329// <q> PWM2_ENABLED - Enable PWM2 instance
5330
5331
5332#ifndef PWM2_ENABLED
5333#define PWM2_ENABLED 1
5334#endif
5335
5336// <e> PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for PWM.
5337
5338// <i> The workaround uses interrupts to wake up the CPU and ensure
5339// <i> it is active when PWM is about to start a DMA transfer. For
5340// <i> initial transfer, done when a playback is started via PPI,
5341// <i> a specific EGU instance is used to generate the interrupt.
5342// <i> During the playback, the PWM interrupt triggered on SEQEND
5343// <i> event of a preceding sequence is used to protect the transfer
5344// <i> done for the next sequence to be played.
5345//==========================================================
5346#ifndef PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5347#define PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
5348#endif
5349// <o> PWM_NRF52_ANOMALY_109_EGU_INSTANCE - EGU instance used by the nRF52 Anomaly 109 workaround for PWM.
5350
5351// <0=> EGU0
5352// <1=> EGU1
5353// <2=> EGU2
5354// <3=> EGU3
5355// <4=> EGU4
5356// <5=> EGU5
5357
5358#ifndef PWM_NRF52_ANOMALY_109_EGU_INSTANCE
5359#define PWM_NRF52_ANOMALY_109_EGU_INSTANCE 5
5360#endif
5361
5362// </e>
5363
5364// </e>
5365
5366// <e> QDEC_ENABLED - nrf_drv_qdec - QDEC peripheral driver - legacy layer
5367//==========================================================
5368#ifndef QDEC_ENABLED
5369#define QDEC_ENABLED 0
5370#endif
5371// <o> QDEC_CONFIG_REPORTPER - Report period
5372
5373// <0=> 10 Samples
5374// <1=> 40 Samples
5375// <2=> 80 Samples
5376// <3=> 120 Samples
5377// <4=> 160 Samples
5378// <5=> 200 Samples
5379// <6=> 240 Samples
5380// <7=> 280 Samples
5381
5382#ifndef QDEC_CONFIG_REPORTPER
5383#define QDEC_CONFIG_REPORTPER 0
5384#endif
5385
5386// <o> QDEC_CONFIG_SAMPLEPER - Sample period
5387
5388// <0=> 128 us
5389// <1=> 256 us
5390// <2=> 512 us
5391// <3=> 1024 us
5392// <4=> 2048 us
5393// <5=> 4096 us
5394// <6=> 8192 us
5395// <7=> 16384 us
5396
5397#ifndef QDEC_CONFIG_SAMPLEPER
5398#define QDEC_CONFIG_SAMPLEPER 7
5399#endif
5400
5401// <o> QDEC_CONFIG_PIO_A - A pin <0-31>
5402
5403
5404#ifndef QDEC_CONFIG_PIO_A
5405#define QDEC_CONFIG_PIO_A 31
5406#endif
5407
5408// <o> QDEC_CONFIG_PIO_B - B pin <0-31>
5409
5410
5411#ifndef QDEC_CONFIG_PIO_B
5412#define QDEC_CONFIG_PIO_B 31
5413#endif
5414
5415// <o> QDEC_CONFIG_PIO_LED - LED pin <0-31>
5416
5417
5418#ifndef QDEC_CONFIG_PIO_LED
5419#define QDEC_CONFIG_PIO_LED 31
5420#endif
5421
5422// <o> QDEC_CONFIG_LEDPRE - LED pre
5423#ifndef QDEC_CONFIG_LEDPRE
5424#define QDEC_CONFIG_LEDPRE 511
5425#endif
5426
5427// <o> QDEC_CONFIG_LEDPOL - LED polarity
5428
5429// <0=> Active low
5430// <1=> Active high
5431
5432#ifndef QDEC_CONFIG_LEDPOL
5433#define QDEC_CONFIG_LEDPOL 1
5434#endif
5435
5436// <q> QDEC_CONFIG_DBFEN - Debouncing enable
5437
5438
5439#ifndef QDEC_CONFIG_DBFEN
5440#define QDEC_CONFIG_DBFEN 0
5441#endif
5442
5443// <q> QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
5444
5445
5446#ifndef QDEC_CONFIG_SAMPLE_INTEN
5447#define QDEC_CONFIG_SAMPLE_INTEN 0
5448#endif
5449
5450// <o> QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
5451
5452
5453// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5454// <0=> 0 (highest)
5455// <1=> 1
5456// <2=> 2
5457// <3=> 3
5458// <4=> 4
5459// <5=> 5
5460// <6=> 6
5461// <7=> 7
5462
5463#ifndef QDEC_CONFIG_IRQ_PRIORITY
5464#define QDEC_CONFIG_IRQ_PRIORITY 6
5465#endif
5466
5467// </e>
5468
5469// <e> QSPI_ENABLED - nrf_drv_qspi - QSPI peripheral driver - legacy layer
5470//==========================================================
5471#ifndef QSPI_ENABLED
5472#define QSPI_ENABLED 0
5473#endif
5474// <o> QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255>
5475
5476
5477#ifndef QSPI_CONFIG_SCK_DELAY
5478#define QSPI_CONFIG_SCK_DELAY 1
5479#endif
5480
5481// <o> QSPI_CONFIG_XIP_OFFSET - Address offset in the external memory for Execute in Place operation.
5482#ifndef QSPI_CONFIG_XIP_OFFSET
5483#define QSPI_CONFIG_XIP_OFFSET 0
5484#endif
5485
5486// <o> QSPI_CONFIG_READOC - Number of data lines and opcode used for reading.
5487
5488// <0=> FastRead
5489// <1=> Read2O
5490// <2=> Read2IO
5491// <3=> Read4O
5492// <4=> Read4IO
5493
5494#ifndef QSPI_CONFIG_READOC
5495#define QSPI_CONFIG_READOC 0
5496#endif
5497
5498// <o> QSPI_CONFIG_WRITEOC - Number of data lines and opcode used for writing.
5499
5500// <0=> PP
5501// <1=> PP2O
5502// <2=> PP4O
5503// <3=> PP4IO
5504
5505#ifndef QSPI_CONFIG_WRITEOC
5506#define QSPI_CONFIG_WRITEOC 0
5507#endif
5508
5509// <o> QSPI_CONFIG_ADDRMODE - Addressing mode.
5510
5511// <0=> 24bit
5512// <1=> 32bit
5513
5514#ifndef QSPI_CONFIG_ADDRMODE
5515#define QSPI_CONFIG_ADDRMODE 0
5516#endif
5517
5518// <o> QSPI_CONFIG_MODE - SPI mode.
5519
5520// <0=> Mode 0
5521// <1=> Mode 1
5522
5523#ifndef QSPI_CONFIG_MODE
5524#define QSPI_CONFIG_MODE 0
5525#endif
5526
5527// <o> QSPI_CONFIG_FREQUENCY - Frequency divider.
5528
5529// <0=> 32MHz/1
5530// <1=> 32MHz/2
5531// <2=> 32MHz/3
5532// <3=> 32MHz/4
5533// <4=> 32MHz/5
5534// <5=> 32MHz/6
5535// <6=> 32MHz/7
5536// <7=> 32MHz/8
5537// <8=> 32MHz/9
5538// <9=> 32MHz/10
5539// <10=> 32MHz/11
5540// <11=> 32MHz/12
5541// <12=> 32MHz/13
5542// <13=> 32MHz/14
5543// <14=> 32MHz/15
5544// <15=> 32MHz/16
5545
5546#ifndef QSPI_CONFIG_FREQUENCY
5547#define QSPI_CONFIG_FREQUENCY 15
5548#endif
5549
5550// <s> QSPI_PIN_SCK - SCK pin value.
5551#ifndef QSPI_PIN_SCK
5552#define QSPI_PIN_SCK NRF_QSPI_PIN_NOT_CONNECTED
5553#endif
5554
5555// <s> QSPI_PIN_CSN - CSN pin value.
5556#ifndef QSPI_PIN_CSN
5557#define QSPI_PIN_CSN NRF_QSPI_PIN_NOT_CONNECTED
5558#endif
5559
5560// <s> QSPI_PIN_IO0 - IO0 pin value.
5561#ifndef QSPI_PIN_IO0
5562#define QSPI_PIN_IO0 NRF_QSPI_PIN_NOT_CONNECTED
5563#endif
5564
5565// <s> QSPI_PIN_IO1 - IO1 pin value.
5566#ifndef QSPI_PIN_IO1
5567#define QSPI_PIN_IO1 NRF_QSPI_PIN_NOT_CONNECTED
5568#endif
5569
5570// <s> QSPI_PIN_IO2 - IO2 pin value.
5571#ifndef QSPI_PIN_IO2
5572#define QSPI_PIN_IO2 NRF_QSPI_PIN_NOT_CONNECTED
5573#endif
5574
5575// <s> QSPI_PIN_IO3 - IO3 pin value.
5576#ifndef QSPI_PIN_IO3
5577#define QSPI_PIN_IO3 NRF_QSPI_PIN_NOT_CONNECTED
5578#endif
5579
5580// <o> QSPI_CONFIG_IRQ_PRIORITY - Interrupt priority
5581
5582
5583// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5584// <0=> 0 (highest)
5585// <1=> 1
5586// <2=> 2
5587// <3=> 3
5588// <4=> 4
5589// <5=> 5
5590// <6=> 6
5591// <7=> 7
5592
5593#ifndef QSPI_CONFIG_IRQ_PRIORITY
5594#define QSPI_CONFIG_IRQ_PRIORITY 6
5595#endif
5596
5597// </e>
5598
5599// <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
5600//==========================================================
5601#ifndef RNG_ENABLED
5602#define RNG_ENABLED 1
5603#endif
5604// <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
5605
5606
5607#ifndef RNG_CONFIG_ERROR_CORRECTION
5608#define RNG_CONFIG_ERROR_CORRECTION 1
5609#endif
5610
5611// <o> RNG_CONFIG_POOL_SIZE - Pool size
5612#ifndef RNG_CONFIG_POOL_SIZE
5613#define RNG_CONFIG_POOL_SIZE 64
5614#endif
5615
5616// <o> RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
5617
5618
5619// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5620// <0=> 0 (highest)
5621// <1=> 1
5622// <2=> 2
5623// <3=> 3
5624// <4=> 4
5625// <5=> 5
5626// <6=> 6
5627// <7=> 7
5628
5629#ifndef RNG_CONFIG_IRQ_PRIORITY
5630#define RNG_CONFIG_IRQ_PRIORITY 6
5631#endif
5632
5633// </e>
5634
5635// <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver - legacy layer
5636//==========================================================
5637#ifndef RTC_ENABLED
5638#define RTC_ENABLED 0
5639#endif
5640// <o> RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
5641
5642
5643#ifndef RTC_DEFAULT_CONFIG_FREQUENCY
5644#define RTC_DEFAULT_CONFIG_FREQUENCY 32768
5645#endif
5646
5647// <q> RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
5648
5649
5650#ifndef RTC_DEFAULT_CONFIG_RELIABLE
5651#define RTC_DEFAULT_CONFIG_RELIABLE 0
5652#endif
5653
5654// <o> RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5655
5656
5657// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5658// <0=> 0 (highest)
5659// <1=> 1
5660// <2=> 2
5661// <3=> 3
5662// <4=> 4
5663// <5=> 5
5664// <6=> 6
5665// <7=> 7
5666
5667#ifndef RTC_DEFAULT_CONFIG_IRQ_PRIORITY
5668#define RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
5669#endif
5670
5671// <q> RTC0_ENABLED - Enable RTC0 instance
5672
5673
5674#ifndef RTC0_ENABLED
5675#define RTC0_ENABLED 0
5676#endif
5677
5678// <q> RTC1_ENABLED - Enable RTC1 instance
5679
5680
5681#ifndef RTC1_ENABLED
5682#define RTC1_ENABLED 0
5683#endif
5684
5685// <q> RTC2_ENABLED - Enable RTC2 instance
5686
5687
5688#ifndef RTC2_ENABLED
5689#define RTC2_ENABLED 0
5690#endif
5691
5692// <o> NRF_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
5693#ifndef NRF_MAXIMUM_LATENCY_US
5694#define NRF_MAXIMUM_LATENCY_US 2000
5695#endif
5696
5697// </e>
5698
5699// <e> SAADC_ENABLED - nrf_drv_saadc - SAADC peripheral driver - legacy layer
5700//==========================================================
5701#ifndef SAADC_ENABLED
5702#define SAADC_ENABLED 0
5703#endif
5704// <o> SAADC_CONFIG_RESOLUTION - Resolution
5705
5706// <0=> 8 bit
5707// <1=> 10 bit
5708// <2=> 12 bit
5709// <3=> 14 bit
5710
5711#ifndef SAADC_CONFIG_RESOLUTION
5712#define SAADC_CONFIG_RESOLUTION 1
5713#endif
5714
5715// <o> SAADC_CONFIG_OVERSAMPLE - Sample period
5716
5717// <0=> Disabled
5718// <1=> 2x
5719// <2=> 4x
5720// <3=> 8x
5721// <4=> 16x
5722// <5=> 32x
5723// <6=> 64x
5724// <7=> 128x
5725// <8=> 256x
5726
5727#ifndef SAADC_CONFIG_OVERSAMPLE
5728#define SAADC_CONFIG_OVERSAMPLE 0
5729#endif
5730
5731// <q> SAADC_CONFIG_LP_MODE - Enabling low power mode
5732
5733
5734#ifndef SAADC_CONFIG_LP_MODE
5735#define SAADC_CONFIG_LP_MODE 0
5736#endif
5737
5738// <o> SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
5739
5740
5741// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5742// <0=> 0 (highest)
5743// <1=> 1
5744// <2=> 2
5745// <3=> 3
5746// <4=> 4
5747// <5=> 5
5748// <6=> 6
5749// <7=> 7
5750
5751#ifndef SAADC_CONFIG_IRQ_PRIORITY
5752#define SAADC_CONFIG_IRQ_PRIORITY 6
5753#endif
5754
5755// </e>
5756
5757// <e> SPIS_ENABLED - nrf_drv_spis - SPIS peripheral driver - legacy layer
5758//==========================================================
5759#ifndef SPIS_ENABLED
5760#define SPIS_ENABLED 0
5761#endif
5762// <o> SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5763
5764
5765// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5766// <0=> 0 (highest)
5767// <1=> 1
5768// <2=> 2
5769// <3=> 3
5770// <4=> 4
5771// <5=> 5
5772// <6=> 6
5773// <7=> 7
5774
5775#ifndef SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
5776#define SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
5777#endif
5778
5779// <o> SPIS_DEFAULT_MODE - Mode
5780
5781// <0=> MODE_0
5782// <1=> MODE_1
5783// <2=> MODE_2
5784// <3=> MODE_3
5785
5786#ifndef SPIS_DEFAULT_MODE
5787#define SPIS_DEFAULT_MODE 0
5788#endif
5789
5790// <o> SPIS_DEFAULT_BIT_ORDER - SPIS default bit order
5791
5792// <0=> MSB first
5793// <1=> LSB first
5794
5795#ifndef SPIS_DEFAULT_BIT_ORDER
5796#define SPIS_DEFAULT_BIT_ORDER 0
5797#endif
5798
5799// <o> SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
5800
5801
5802#ifndef SPIS_DEFAULT_DEF
5803#define SPIS_DEFAULT_DEF 255
5804#endif
5805
5806// <o> SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
5807
5808
5809#ifndef SPIS_DEFAULT_ORC
5810#define SPIS_DEFAULT_ORC 255
5811#endif
5812
5813// <q> SPIS0_ENABLED - Enable SPIS0 instance
5814
5815
5816#ifndef SPIS0_ENABLED
5817#define SPIS0_ENABLED 0
5818#endif
5819
5820// <q> SPIS1_ENABLED - Enable SPIS1 instance
5821
5822
5823#ifndef SPIS1_ENABLED
5824#define SPIS1_ENABLED 0
5825#endif
5826
5827// <q> SPIS2_ENABLED - Enable SPIS2 instance
5828
5829
5830#ifndef SPIS2_ENABLED
5831#define SPIS2_ENABLED 0
5832#endif
5833
5834// <q> SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 Anomaly 109 workaround for SPIS.
5835
5836
5837// <i> The workaround uses a GPIOTE channel to generate interrupts
5838// <i> on falling edges detected on the CSN line. This will make
5839// <i> the CPU active for the moment when SPIS starts DMA transfers,
5840// <i> and this way the transfers will be protected.
5841// <i> This workaround uses GPIOTE driver, so this driver must be
5842// <i> enabled as well.
5843
5844#ifndef SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5845#define SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
5846#endif
5847
5848// </e>
5849
5850// <e> SPI_ENABLED - nrf_drv_spi - SPI/SPIM peripheral driver - legacy layer
5851//==========================================================
5852#ifndef SPI_ENABLED
5853#define SPI_ENABLED 1
5854#endif
5855// <o> SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5856
5857
5858// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5859// <0=> 0 (highest)
5860// <1=> 1
5861// <2=> 2
5862// <3=> 3
5863// <4=> 4
5864// <5=> 5
5865// <6=> 6
5866// <7=> 7
5867
5868#ifndef SPI_DEFAULT_CONFIG_IRQ_PRIORITY
5869#define SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
5870#endif
5871
5872// <o> NRF_SPI_DRV_MISO_PULLUP_CFG - MISO PIN pull-up configuration.
5873
5874// <0=> NRF_GPIO_PIN_NOPULL
5875// <1=> NRF_GPIO_PIN_PULLDOWN
5876// <3=> NRF_GPIO_PIN_PULLUP
5877
5878#ifndef NRF_SPI_DRV_MISO_PULLUP_CFG
5879#define NRF_SPI_DRV_MISO_PULLUP_CFG 1
5880#endif
5881
5882// <e> SPI0_ENABLED - Enable SPI0 instance
5883//==========================================================
5884#ifndef SPI0_ENABLED
5885#define SPI0_ENABLED 0
5886#endif
5887// <q> SPI0_USE_EASY_DMA - Use EasyDMA
5888
5889
5890#ifndef SPI0_USE_EASY_DMA
5891#define SPI0_USE_EASY_DMA 1
5892#endif
5893
5894// </e>
5895
5896// <e> SPI1_ENABLED - Enable SPI1 instance
5897//==========================================================
5898#ifndef SPI1_ENABLED
5899#define SPI1_ENABLED 1
5900#endif
5901// <q> SPI1_USE_EASY_DMA - Use EasyDMA
5902
5903
5904#ifndef SPI1_USE_EASY_DMA
5905#define SPI1_USE_EASY_DMA 1
5906#endif
5907
5908// </e>
5909
5910// <e> SPI2_ENABLED - Enable SPI2 instance
5911//==========================================================
5912#ifndef SPI2_ENABLED
5913#define SPI2_ENABLED 0
5914#endif
5915// <q> SPI2_USE_EASY_DMA - Use EasyDMA
5916
5917
5918#ifndef SPI2_USE_EASY_DMA
5919#define SPI2_USE_EASY_DMA 1
5920#endif
5921
5922// </e>
5923
5924// <q> SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for SPIM.
5925
5926
5927// <i> The workaround uses interrupts to wake up the CPU by catching
5928// <i> a start event of zero-length transmission to start the clock. This
5929// <i> ensures that the DMA transfer will be executed without issues and
5930// <i> that the proper transfer will be started. See more in the Errata
5931// <i> document or Anomaly 109 Addendum located at
5932// <i> https://infocenter.nordicsemi.com/
5933
5934#ifndef SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
5935#define SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
5936#endif
5937
5938// </e>
5939
5940// <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer
5941//==========================================================
5942#ifndef TIMER_ENABLED
5943#define TIMER_ENABLED 1
5944#endif
5945// <o> TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
5946
5947// <0=> 16 MHz
5948// <1=> 8 MHz
5949// <2=> 4 MHz
5950// <3=> 2 MHz
5951// <4=> 1 MHz
5952// <5=> 500 kHz
5953// <6=> 250 kHz
5954// <7=> 125 kHz
5955// <8=> 62.5 kHz
5956// <9=> 31.25 kHz
5957
5958#ifndef TIMER_DEFAULT_CONFIG_FREQUENCY
5959#define TIMER_DEFAULT_CONFIG_FREQUENCY 0
5960#endif
5961
5962// <o> TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
5963
5964// <0=> Timer
5965// <1=> Counter
5966
5967#ifndef TIMER_DEFAULT_CONFIG_MODE
5968#define TIMER_DEFAULT_CONFIG_MODE 0
5969#endif
5970
5971// <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
5972
5973// <0=> 16 bit
5974// <1=> 8 bit
5975// <2=> 24 bit
5976// <3=> 32 bit
5977
5978#ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH
5979#define TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
5980#endif
5981
5982// <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
5983
5984
5985// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
5986// <0=> 0 (highest)
5987// <1=> 1
5988// <2=> 2
5989// <3=> 3
5990// <4=> 4
5991// <5=> 5
5992// <6=> 6
5993// <7=> 7
5994
5995#ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
5996#define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
5997#endif
5998
5999// <q> TIMER0_ENABLED - Enable TIMER0 instance
6000
6001
6002#ifndef TIMER0_ENABLED
6003#define TIMER0_ENABLED 0
6004#endif
6005
6006// <q> TIMER1_ENABLED - Enable TIMER1 instance
6007
6008
6009#ifndef TIMER1_ENABLED
6010#define TIMER1_ENABLED 1
6011#endif
6012
6013// <q> TIMER2_ENABLED - Enable TIMER2 instance
6014
6015
6016#ifndef TIMER2_ENABLED
6017#define TIMER2_ENABLED 1
6018#endif
6019
6020// <q> TIMER3_ENABLED - Enable TIMER3 instance
6021
6022
6023#ifndef TIMER3_ENABLED
6024#define TIMER3_ENABLED 1
6025#endif
6026
6027// <q> TIMER4_ENABLED - Enable TIMER4 instance
6028
6029
6030#ifndef TIMER4_ENABLED
6031#define TIMER4_ENABLED 1
6032#endif
6033
6034// </e>
6035
6036// <e> TWIS_ENABLED - nrf_drv_twis - TWIS peripheral driver - legacy layer
6037//==========================================================
6038#ifndef TWIS_ENABLED
6039#define TWIS_ENABLED 0
6040#endif
6041// <q> TWIS0_ENABLED - Enable TWIS0 instance
6042
6043
6044#ifndef TWIS0_ENABLED
6045#define TWIS0_ENABLED 0
6046#endif
6047
6048// <q> TWIS1_ENABLED - Enable TWIS1 instance
6049
6050
6051#ifndef TWIS1_ENABLED
6052#define TWIS1_ENABLED 0
6053#endif
6054
6055// <q> TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
6056
6057
6058// <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
6059
6060#ifndef TWIS_ASSUME_INIT_AFTER_RESET_ONLY
6061#define TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
6062#endif
6063
6064// <q> TWIS_NO_SYNC_MODE - Remove support for synchronous mode
6065
6066
6067// <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
6068
6069#ifndef TWIS_NO_SYNC_MODE
6070#define TWIS_NO_SYNC_MODE 0
6071#endif
6072
6073// <o> TWIS_DEFAULT_CONFIG_ADDR0 - Address0
6074#ifndef TWIS_DEFAULT_CONFIG_ADDR0
6075#define TWIS_DEFAULT_CONFIG_ADDR0 0
6076#endif
6077
6078// <o> TWIS_DEFAULT_CONFIG_ADDR1 - Address1
6079#ifndef TWIS_DEFAULT_CONFIG_ADDR1
6080#define TWIS_DEFAULT_CONFIG_ADDR1 0
6081#endif
6082
6083// <o> TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
6084
6085// <0=> Disabled
6086// <1=> Pull down
6087// <3=> Pull up
6088
6089#ifndef TWIS_DEFAULT_CONFIG_SCL_PULL
6090#define TWIS_DEFAULT_CONFIG_SCL_PULL 0
6091#endif
6092
6093// <o> TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
6094
6095// <0=> Disabled
6096// <1=> Pull down
6097// <3=> Pull up
6098
6099#ifndef TWIS_DEFAULT_CONFIG_SDA_PULL
6100#define TWIS_DEFAULT_CONFIG_SDA_PULL 0
6101#endif
6102
6103// <o> TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
6104
6105
6106// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6107// <0=> 0 (highest)
6108// <1=> 1
6109// <2=> 2
6110// <3=> 3
6111// <4=> 4
6112// <5=> 5
6113// <6=> 6
6114// <7=> 7
6115
6116#ifndef TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
6117#define TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
6118#endif
6119
6120// </e>
6121
6122// <e> TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver - legacy layer
6123//==========================================================
6124#ifndef TWI_ENABLED
6125#define TWI_ENABLED 1
6126#endif
6127// <o> TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
6128
6129// <26738688=> 100k
6130// <67108864=> 250k
6131// <104857600=> 400k
6132
6133#ifndef TWI_DEFAULT_CONFIG_FREQUENCY
6134#define TWI_DEFAULT_CONFIG_FREQUENCY 26738688
6135#endif
6136
6137// <q> TWI_DEFAULT_CONFIG_CLR_BUS_INIT - Enables bus clearing procedure during init
6138
6139
6140#ifndef TWI_DEFAULT_CONFIG_CLR_BUS_INIT
6141#define TWI_DEFAULT_CONFIG_CLR_BUS_INIT 0
6142#endif
6143
6144// <q> TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
6145
6146
6147#ifndef TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
6148#define TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
6149#endif
6150
6151// <o> TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
6152
6153
6154// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6155// <0=> 0 (highest)
6156// <1=> 1
6157// <2=> 2
6158// <3=> 3
6159// <4=> 4
6160// <5=> 5
6161// <6=> 6
6162// <7=> 7
6163
6164#ifndef TWI_DEFAULT_CONFIG_IRQ_PRIORITY
6165#define TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
6166#endif
6167
6168// <e> TWI0_ENABLED - Enable TWI0 instance
6169//==========================================================
6170#ifndef TWI0_ENABLED
6171#define TWI0_ENABLED 1
6172#endif
6173// <q> TWI0_USE_EASY_DMA - Use EasyDMA (if present)
6174
6175
6176#ifndef TWI0_USE_EASY_DMA
6177#define TWI0_USE_EASY_DMA 1
6178#endif
6179
6180// </e>
6181
6182// <e> TWI1_ENABLED - Enable TWI1 instance
6183//==========================================================
6184#ifndef TWI1_ENABLED
6185#define TWI1_ENABLED 0
6186#endif
6187// <q> TWI1_USE_EASY_DMA - Use EasyDMA (if present)
6188
6189
6190#ifndef TWI1_USE_EASY_DMA
6191#define TWI1_USE_EASY_DMA 0
6192#endif
6193
6194// </e>
6195
6196// <q> TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED - Enables nRF52 anomaly 109 workaround for TWIM.
6197
6198
6199// <i> The workaround uses interrupts to wake up the CPU by catching
6200// <i> the start event of zero-frequency transmission, clear the
6201// <i> peripheral, set desired frequency, start the peripheral, and
6202// <i> the proper transmission. See more in the Errata document or
6203// <i> Anomaly 109 Addendum located at https://infocenter.nordicsemi.com/
6204
6205#ifndef TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
6206#define TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 0
6207#endif
6208
6209// </e>
6210
6211// <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
6212//==========================================================
6213#ifndef UART_ENABLED
6214#define UART_ENABLED 1
6215#endif
6216// <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
6217
6218// <0=> Disabled
6219// <1=> Enabled
6220
6221#ifndef UART_DEFAULT_CONFIG_HWFC
6222#define UART_DEFAULT_CONFIG_HWFC 0
6223#endif
6224
6225// <o> UART_DEFAULT_CONFIG_PARITY - Parity
6226
6227// <0=> Excluded
6228// <14=> Included
6229
6230#ifndef UART_DEFAULT_CONFIG_PARITY
6231#define UART_DEFAULT_CONFIG_PARITY 0
6232#endif
6233
6234// <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
6235
6236// <323584=> 1200 baud
6237// <643072=> 2400 baud
6238// <1290240=> 4800 baud
6239// <2576384=> 9600 baud
6240// <3862528=> 14400 baud
6241// <5152768=> 19200 baud
6242// <7716864=> 28800 baud
6243// <10289152=> 38400 baud
6244// <15400960=> 57600 baud
6245// <20615168=> 76800 baud
6246// <30801920=> 115200 baud
6247// <61865984=> 230400 baud
6248// <67108864=> 250000 baud
6249// <121634816=> 460800 baud
6250// <251658240=> 921600 baud
6251// <268435456=> 1000000 baud
6252
6253#ifndef UART_DEFAULT_CONFIG_BAUDRATE
6254#define UART_DEFAULT_CONFIG_BAUDRATE 30801920
6255#endif
6256
6257// <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
6258
6259
6260// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6261// <0=> 0 (highest)
6262// <1=> 1
6263// <2=> 2
6264// <3=> 3
6265// <4=> 4
6266// <5=> 5
6267// <6=> 6
6268// <7=> 7
6269
6270#ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
6271#define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
6272#endif
6273
6274// <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
6275
6276
6277#ifndef UART_EASY_DMA_SUPPORT
6278#define UART_EASY_DMA_SUPPORT 1
6279#endif
6280
6281// <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
6282
6283
6284#ifndef UART_LEGACY_SUPPORT
6285#define UART_LEGACY_SUPPORT 1
6286#endif
6287
6288// <e> UART0_ENABLED - Enable UART0 instance
6289//==========================================================
6290#ifndef UART0_ENABLED
6291#define UART0_ENABLED 1
6292#endif
6293// <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
6294
6295
6296#ifndef UART0_CONFIG_USE_EASY_DMA
6297#define UART0_CONFIG_USE_EASY_DMA 1
6298#endif
6299
6300// </e>
6301
6302// </e>
6303
6304// <e> USBD_ENABLED - nrf_drv_usbd - Software Component
6305//==========================================================
6306#ifndef USBD_ENABLED
6307#define USBD_ENABLED 0
6308#endif
6309// <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
6310
6311
6312// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6313// <0=> 0 (highest)
6314// <1=> 1
6315// <2=> 2
6316// <3=> 3
6317// <4=> 4
6318// <5=> 5
6319// <6=> 6
6320// <7=> 7
6321
6322#ifndef USBD_CONFIG_IRQ_PRIORITY
6323#define USBD_CONFIG_IRQ_PRIORITY 6
6324#endif
6325
6326// <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme
6327
6328// <0=> Prioritized access
6329// <1=> Round Robin
6330
6331#ifndef USBD_CONFIG_DMASCHEDULER_MODE
6332#define USBD_CONFIG_DMASCHEDULER_MODE 0
6333#endif
6334
6335// <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
6336
6337
6338// <i> This option gives priority to isochronous transfers.
6339// <i> Enabling it assures that isochronous transfers are always processed,
6340// <i> even if multiple other transfers are pending.
6341// <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
6342// <i> function is called, so the option is independent of the algorithm chosen.
6343
6344#ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST
6345#define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
6346#endif
6347
6348// <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
6349
6350
6351// <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
6352// <i> Else, there will be no response.
6353// <i> NOTE: This option does not work on Engineering A chip.
6354
6355#ifndef USBD_CONFIG_ISO_IN_ZLP
6356#define USBD_CONFIG_ISO_IN_ZLP 0
6357#endif
6358
6359// </e>
6360
6361// <e> WDT_ENABLED - nrf_drv_wdt - WDT peripheral driver - legacy layer
6362//==========================================================
6363#ifndef WDT_ENABLED
6364#define WDT_ENABLED 1
6365#endif
6366// <o> WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
6367
6368// <1=> Run in SLEEP, Pause in HALT
6369// <8=> Pause in SLEEP, Run in HALT
6370// <9=> Run in SLEEP and HALT
6371// <0=> Pause in SLEEP and HALT
6372
6373#ifndef WDT_CONFIG_BEHAVIOUR
6374#define WDT_CONFIG_BEHAVIOUR 9
6375#endif
6376
6377// <o> WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
6378
6379
6380#ifndef WDT_CONFIG_RELOAD_VALUE
6381#define WDT_CONFIG_RELOAD_VALUE 4000
6382#endif
6383
6384// <o> WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
6385
6386
6387// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6388// <0=> 0 (highest)
6389// <1=> 1
6390// <2=> 2
6391// <3=> 3
6392// <4=> 4
6393// <5=> 5
6394// <6=> 6
6395// <7=> 7
6396
6397#ifndef WDT_CONFIG_IRQ_PRIORITY
6398#define WDT_CONFIG_IRQ_PRIORITY 6
6399#endif
6400
6401// </e>
6402
6403// <h> nrfx_qspi - QSPI peripheral driver
6404
6405//==========================================================
6406// </h>
6407//==========================================================
6408
6409// <h> nrfx_usbd - USBD peripheral driver
6410
6411//==========================================================
6412// </h>
6413//==========================================================
6414
6415// </h>
6416//==========================================================
6417
6418// <h> nRF_Drivers_External
6419
6420//==========================================================
6421// <q> NRF_TWI_SENSOR_ENABLED - nrf_twi_sensor - nRF TWI Sensor module
6422
6423
6424#ifndef NRF_TWI_SENSOR_ENABLED
6425#define NRF_TWI_SENSOR_ENABLED 0
6426#endif
6427
6428// </h>
6429//==========================================================
6430
6431// <h> nRF_Libraries
6432
6433//==========================================================
6434// <q> APP_GPIOTE_ENABLED - app_gpiote - GPIOTE events dispatcher
6435
6436
6437#ifndef APP_GPIOTE_ENABLED
6438#define APP_GPIOTE_ENABLED 0
6439#endif
6440
6441// <q> APP_PWM_ENABLED - app_pwm - PWM functionality
6442
6443
6444#ifndef APP_PWM_ENABLED
6445#define APP_PWM_ENABLED 0
6446#endif
6447
6448// <e> APP_SCHEDULER_ENABLED - app_scheduler - Events scheduler
6449//==========================================================
6450#ifndef APP_SCHEDULER_ENABLED
6451#define APP_SCHEDULER_ENABLED 1
6452#endif
6453// <q> APP_SCHEDULER_WITH_PAUSE - Enabling pause feature
6454
6455
6456#ifndef APP_SCHEDULER_WITH_PAUSE
6457#define APP_SCHEDULER_WITH_PAUSE 0
6458#endif
6459
6460// <q> APP_SCHEDULER_WITH_PROFILER - Enabling scheduler profiling
6461
6462
6463#ifndef APP_SCHEDULER_WITH_PROFILER
6464#define APP_SCHEDULER_WITH_PROFILER 0
6465#endif
6466
6467// </e>
6468
6469// <e> APP_SDCARD_ENABLED - app_sdcard - SD/MMC card support using SPI
6470//==========================================================
6471#ifndef APP_SDCARD_ENABLED
6472#define APP_SDCARD_ENABLED 0
6473#endif
6474// <o> APP_SDCARD_SPI_INSTANCE - SPI instance used
6475
6476// <0=> 0
6477// <1=> 1
6478// <2=> 2
6479
6480#ifndef APP_SDCARD_SPI_INSTANCE
6481#define APP_SDCARD_SPI_INSTANCE 0
6482#endif
6483
6484// <o> APP_SDCARD_FREQ_INIT - SPI frequency
6485
6486// <33554432=> 125 kHz
6487// <67108864=> 250 kHz
6488// <134217728=> 500 kHz
6489// <268435456=> 1 MHz
6490// <536870912=> 2 MHz
6491// <1073741824=> 4 MHz
6492// <2147483648=> 8 MHz
6493
6494#ifndef APP_SDCARD_FREQ_INIT
6495#define APP_SDCARD_FREQ_INIT 67108864
6496#endif
6497
6498// <o> APP_SDCARD_FREQ_DATA - SPI frequency
6499
6500// <33554432=> 125 kHz
6501// <67108864=> 250 kHz
6502// <134217728=> 500 kHz
6503// <268435456=> 1 MHz
6504// <536870912=> 2 MHz
6505// <1073741824=> 4 MHz
6506// <2147483648=> 8 MHz
6507
6508#ifndef APP_SDCARD_FREQ_DATA
6509#define APP_SDCARD_FREQ_DATA 1073741824
6510#endif
6511
6512// </e>
6513
6514// <e> APP_TIMER_ENABLED - app_timer - Application timer functionality
6515//==========================================================
6516#ifndef APP_TIMER_ENABLED
6517#define APP_TIMER_ENABLED 0
6518#endif
6519// <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler.
6520
6521// <0=> 32768 Hz
6522// <1=> 16384 Hz
6523// <3=> 8192 Hz
6524// <7=> 4096 Hz
6525// <15=> 2048 Hz
6526// <31=> 1024 Hz
6527
6528#ifndef APP_TIMER_CONFIG_RTC_FREQUENCY
6529#define APP_TIMER_CONFIG_RTC_FREQUENCY 1
6530#endif
6531
6532// <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority
6533
6534
6535// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
6536// <0=> 0 (highest)
6537// <1=> 1
6538// <2=> 2
6539// <3=> 3
6540// <4=> 4
6541// <5=> 5
6542// <6=> 6
6543// <7=> 7
6544
6545#ifndef APP_TIMER_CONFIG_IRQ_PRIORITY
6546#define APP_TIMER_CONFIG_IRQ_PRIORITY 6
6547#endif
6548
6549// <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue.
6550// <i> Size of the queue depends on how many timers are used
6551// <i> in the system, how often timers are started and overall
6552// <i> system latency. If queue size is too small app_timer calls
6553// <i> will fail.
6554
6555#ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
6556#define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
6557#endif
6558
6559// <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler
6560
6561
6562#ifndef APP_TIMER_CONFIG_USE_SCHEDULER
6563#define APP_TIMER_CONFIG_USE_SCHEDULER 0
6564#endif
6565
6566// <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on
6567
6568
6569// <i> If option is enabled RTC is kept running even if there is no active timers.
6570// <i> This option can be used when app_timer is used for timestamping.
6571
6572#ifndef APP_TIMER_KEEPS_RTC_ACTIVE
6573#define APP_TIMER_KEEPS_RTC_ACTIVE 0
6574#endif
6575
6576// <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event.
6577// <i> Maximum possible timeout that can be set is reduced by safe window.
6578// <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS.
6579// <i> Since RTC is not stopped when processor is halted in debugging session, this value
6580// <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS
6581// <i> without corrupting app_timer behavior.
6582
6583#ifndef APP_TIMER_SAFE_WINDOW_MS
6584#define APP_TIMER_SAFE_WINDOW_MS 300000
6585#endif
6586
6587// <h> App Timer Legacy configuration - Legacy configuration.
6588
6589//==========================================================
6590// <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling
6591
6592
6593#ifndef APP_TIMER_WITH_PROFILER
6594#define APP_TIMER_WITH_PROFILER 0
6595#endif
6596
6597// <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used.
6598
6599
6600#ifndef APP_TIMER_CONFIG_SWI_NUMBER
6601#define APP_TIMER_CONFIG_SWI_NUMBER 0
6602#endif
6603
6604// </h>
6605//==========================================================
6606
6607// </e>
6608
6609// <q> APP_USBD_AUDIO_ENABLED - app_usbd_audio - USB AUDIO class
6610
6611
6612#ifndef APP_USBD_AUDIO_ENABLED
6613#define APP_USBD_AUDIO_ENABLED 0
6614#endif
6615
6616// <e> APP_USBD_ENABLED - app_usbd - USB Device library
6617//==========================================================
6618#ifndef APP_USBD_ENABLED
6619#define APP_USBD_ENABLED 0
6620#endif
6621// <o> APP_USBD_VID - Vendor ID. <0x0000-0xFFFF>
6622
6623
6624// <i> Note: This value is not editable in Configuration Wizard.
6625// <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
6626
6627#ifndef APP_USBD_VID
6628#define APP_USBD_VID 0
6629#endif
6630
6631// <o> APP_USBD_PID - Product ID. <0x0000-0xFFFF>
6632
6633
6634// <i> Note: This value is not editable in Configuration Wizard.
6635// <i> Selected Product ID
6636
6637#ifndef APP_USBD_PID
6638#define APP_USBD_PID 0
6639#endif
6640
6641// <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
6642
6643
6644// <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
6645
6646#ifndef APP_USBD_DEVICE_VER_MAJOR
6647#define APP_USBD_DEVICE_VER_MAJOR 1
6648#endif
6649
6650// <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
6651
6652
6653// <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
6654
6655#ifndef APP_USBD_DEVICE_VER_MINOR
6656#define APP_USBD_DEVICE_VER_MINOR 0
6657#endif
6658
6659// <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
6660
6661
6662// <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
6663
6664#ifndef APP_USBD_DEVICE_VER_SUB
6665#define APP_USBD_DEVICE_VER_SUB 0
6666#endif
6667
6668// <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
6669
6670
6671#ifndef APP_USBD_CONFIG_SELF_POWERED
6672#define APP_USBD_CONFIG_SELF_POWERED 1
6673#endif
6674
6675// <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
6676
6677
6678#ifndef APP_USBD_CONFIG_MAX_POWER
6679#define APP_USBD_CONFIG_MAX_POWER 100
6680#endif
6681
6682// <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
6683
6684
6685// <i> Enable processing power events in USB event handler.
6686
6687#ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
6688#define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1
6689#endif
6690
6691// <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
6692
6693// <i> This is the default configuration when all the events are placed into internal queue.
6694// <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
6695// <i> Processing all events from the interrupt level adds requirement not to call any functions that modifies the USBD library state from the context higher than USB interrupt context.
6696// <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
6697//==========================================================
6698#ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
6699#define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1
6700#endif
6701// <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
6702
6703
6704// <i> The size of the queue for the events that would be processed in the main loop.
6705
6706#ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
6707#define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
6708#endif
6709
6710// <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
6711
6712
6713// <i> Normal queue - SOF events are pushed normally into the event queue.
6714// <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
6715// <i> This prevents the queue from filling up with SOF events.
6716// <i> Interrupt - SOF events are processed in interrupt.
6717// <0=> Normal queue
6718// <1=> Compress queue
6719// <2=> Interrupt
6720
6721#ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
6722#define APP_USBD_CONFIG_SOF_HANDLING_MODE 1
6723#endif
6724
6725// </e>
6726
6727// <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
6728
6729
6730// <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
6731// <i> Use it when initializing the logger.
6732// <i> SOF processing is always enabled when this configuration parameter is active.
6733// <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
6734// <i> This means that it works even if the logging in this very module is disabled.
6735
6736#ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
6737#define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
6738#endif
6739
6740// <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
6741
6742
6743// <i> 31 characters can be stored in the internal USB buffer used for transfers.
6744// <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
6745
6746#ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
6747#define APP_USBD_CONFIG_DESC_STRING_SIZE 31
6748#endif
6749
6750// <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
6751
6752
6753// <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
6754
6755#ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
6756#define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
6757#endif
6758
6759// <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
6760
6761// <i> Note: This value is not editable in Configuration Wizard.
6762// <i> Comma-separated list of supported languages.
6763#ifndef APP_USBD_STRINGS_LANGIDS
6764#define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
6765#endif
6766
6767// <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
6768
6769// <i> Setting ID to 0 disables the string.
6770//==========================================================
6771#ifndef APP_USBD_STRING_ID_MANUFACTURER
6772#define APP_USBD_STRING_ID_MANUFACTURER 1
6773#endif
6774// <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
6775
6776
6777#ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
6778#define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
6779#endif
6780
6781// <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
6782
6783// <i> Note: This value is not editable in Configuration Wizard.
6784// <i> Comma-separated list of manufacturer names for each defined language.
6785// <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
6786// <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
6787// <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
6788// <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
6789// <i> Setting string to NULL disables that string.
6790// <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
6791#ifndef APP_USBD_STRINGS_MANUFACTURER
6792#define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
6793#endif
6794
6795// </e>
6796
6797// <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
6798
6799// <i> Setting ID to 0 disables the string.
6800//==========================================================
6801#ifndef APP_USBD_STRING_ID_PRODUCT
6802#define APP_USBD_STRING_ID_PRODUCT 2
6803#endif
6804// <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
6805
6806
6807#ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
6808#define APP_USBD_STRINGS_PRODUCT_EXTERN 0
6809#endif
6810
6811// <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
6812
6813// <i> Note: This value is not editable in Configuration Wizard.
6814// <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6815#ifndef APP_USBD_STRINGS_PRODUCT
6816#define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB Product")
6817#endif
6818
6819// </e>
6820
6821// <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
6822
6823// <i> Setting ID to 0 disables the string.
6824//==========================================================
6825#ifndef APP_USBD_STRING_ID_SERIAL
6826#define APP_USBD_STRING_ID_SERIAL 3
6827#endif
6828// <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
6829
6830
6831#ifndef APP_USBD_STRING_SERIAL_EXTERN
6832#define APP_USBD_STRING_SERIAL_EXTERN 0
6833#endif
6834
6835// <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
6836
6837// <i> Note: This value is not editable in Configuration Wizard.
6838// <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6839#ifndef APP_USBD_STRING_SERIAL
6840#define APP_USBD_STRING_SERIAL APP_USBD_STRING_DESC("000000000000")
6841#endif
6842
6843// </e>
6844
6845// <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
6846
6847// <i> Setting ID to 0 disables the string.
6848//==========================================================
6849#ifndef APP_USBD_STRING_ID_CONFIGURATION
6850#define APP_USBD_STRING_ID_CONFIGURATION 4
6851#endif
6852// <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
6853
6854
6855#ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
6856#define APP_USBD_STRING_CONFIGURATION_EXTERN 0
6857#endif
6858
6859// <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
6860
6861// <i> Note: This value is not editable in Configuration Wizard.
6862// <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
6863#ifndef APP_USBD_STRINGS_CONFIGURATION
6864#define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
6865#endif
6866
6867// </e>
6868
6869// <s> APP_USBD_STRINGS_USER - Default values for user strings.
6870
6871// <i> Note: This value is not editable in Configuration Wizard.
6872// <i> This value stores all application specific user strings with the default initialization.
6873// <i> The setup is done by X-macros.
6874// <i> Expected macro parameters:
6875// <i> @code
6876// <i> X(mnemonic, [=str_idx], ...)
6877// <i> @endcode
6878// <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
6879// <i> @ref app_usbd_string_desc_idx_t enumerator.
6880// <i> - @c str_idx : String index value, can be set or left empty.
6881// <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
6882// <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
6883// <i> - @c ... : List of string descriptors for each defined language.
6884#ifndef APP_USBD_STRINGS_USER
6885#define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
6886#endif
6887
6888// </e>
6889
6890// <e> APP_USBD_HID_ENABLED - app_usbd_hid - USB HID class
6891//==========================================================
6892#ifndef APP_USBD_HID_ENABLED
6893#define APP_USBD_HID_ENABLED 0
6894#endif
6895// <o> APP_USBD_HID_DEFAULT_IDLE_RATE - Default idle rate for HID class. <0-255>
6896
6897
6898// <i> 0 means indefinite duration, any other value is multiplied by 4 milliseconds. Refer to Chapter 7.2.4 of HID 1.11 Specification.
6899
6900#ifndef APP_USBD_HID_DEFAULT_IDLE_RATE
6901#define APP_USBD_HID_DEFAULT_IDLE_RATE 0
6902#endif
6903
6904// <o> APP_USBD_HID_REPORT_IDLE_TABLE_SIZE - Size of idle rate table. <1-255>
6905
6906
6907// <i> Must be higher than the highest report ID used.
6908
6909#ifndef APP_USBD_HID_REPORT_IDLE_TABLE_SIZE
6910#define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE 4
6911#endif
6912
6913// </e>
6914
6915// <q> APP_USBD_HID_GENERIC_ENABLED - app_usbd_hid_generic - USB HID generic
6916
6917
6918#ifndef APP_USBD_HID_GENERIC_ENABLED
6919#define APP_USBD_HID_GENERIC_ENABLED 0
6920#endif
6921
6922// <q> APP_USBD_HID_KBD_ENABLED - app_usbd_hid_kbd - USB HID keyboard
6923
6924
6925#ifndef APP_USBD_HID_KBD_ENABLED
6926#define APP_USBD_HID_KBD_ENABLED 0
6927#endif
6928
6929// <q> APP_USBD_HID_MOUSE_ENABLED - app_usbd_hid_mouse - USB HID mouse
6930
6931
6932#ifndef APP_USBD_HID_MOUSE_ENABLED
6933#define APP_USBD_HID_MOUSE_ENABLED 0
6934#endif
6935
6936// <q> APP_USBD_MSC_ENABLED - app_usbd_msc - USB MSC class
6937
6938
6939#ifndef APP_USBD_MSC_ENABLED
6940#define APP_USBD_MSC_ENABLED 0
6941#endif
6942
6943// <q> CRC16_ENABLED - crc16 - CRC16 calculation routines
6944
6945
6946#ifndef CRC16_ENABLED
6947#define CRC16_ENABLED 1
6948#endif
6949
6950// <q> CRC32_ENABLED - crc32 - CRC32 calculation routines
6951
6952
6953#ifndef CRC32_ENABLED
6954#define CRC32_ENABLED 1
6955#endif
6956
6957// <q> ECC_ENABLED - ecc - Elliptic Curve Cryptography Library
6958
6959
6960#ifndef ECC_ENABLED
6961#define ECC_ENABLED 0
6962#endif
6963
6964// <e> FDS_ENABLED - fds - Flash data storage module
6965//==========================================================
6966#ifndef FDS_ENABLED
6967#define FDS_ENABLED 1
6968#endif
6969// <h> Pages - Virtual page settings
6970
6971// <i> Configure the number of virtual pages to use and their size.
6972//==========================================================
6973// <o> FDS_VIRTUAL_PAGES - Number of virtual flash pages to use.
6974// <i> One of the virtual pages is reserved by the system for garbage collection.
6975// <i> Therefore, the minimum is two virtual pages: one page to store data and one page to be used by the system for garbage collection.
6976// <i> The total amount of flash memory that is used by FDS amounts to @ref FDS_VIRTUAL_PAGES * @ref FDS_VIRTUAL_PAGE_SIZE * 4 bytes.
6977
6978#ifndef FDS_VIRTUAL_PAGES
6979#define FDS_VIRTUAL_PAGES 4
6980#endif
6981
6982// <o> FDS_VIRTUAL_PAGE_SIZE - The size of a virtual flash page.
6983
6984
6985// <i> Expressed in number of 4-byte words.
6986// <i> By default, a virtual page is the same size as a physical page.
6987// <i> The size of a virtual page must be a multiple of the size of a physical page.
6988// <1024=> 1024
6989// <2048=> 2048
6990
6991#ifndef FDS_VIRTUAL_PAGE_SIZE
6992#define FDS_VIRTUAL_PAGE_SIZE 1024
6993#endif
6994
6995// <o> FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.
6996// <i> FDS module stores its data in the last pages of the flash memory.
6997// <i> By setting this value, you can move flash end address used by the FDS.
6998// <i> As a result the reserved space can be used by other modules.
6999
7000#ifndef FDS_VIRTUAL_PAGES_RESERVED
7001#define FDS_VIRTUAL_PAGES_RESERVED 0
7002#endif
7003
7004// </h>
7005//==========================================================
7006
7007// <h> Backend - Backend configuration
7008
7009// <i> Configure which nrf_fstorage backend is used by FDS to write to flash.
7010//==========================================================
7011// <o> FDS_BACKEND - FDS flash backend.
7012
7013
7014// <i> NRF_FSTORAGE_SD uses the nrf_fstorage_sd backend implementation using the SoftDevice API. Use this if you have a SoftDevice present.
7015// <i> NRF_FSTORAGE_NVMC uses the nrf_fstorage_nvmc implementation. Use this setting if you don't use the SoftDevice.
7016// <1=> NRF_FSTORAGE_NVMC
7017// <2=> NRF_FSTORAGE_SD
7018
7019#ifndef FDS_BACKEND
7020#define FDS_BACKEND 2
7021#endif
7022
7023// </h>
7024//==========================================================
7025
7026// <h> Queue - Queue settings
7027
7028//==========================================================
7029// <o> FDS_OP_QUEUE_SIZE - Size of the internal queue.
7030// <i> Increase this value if you frequently get synchronous FDS_ERR_NO_SPACE_IN_QUEUES errors.
7031
7032#ifndef FDS_OP_QUEUE_SIZE
7033#define FDS_OP_QUEUE_SIZE 8
7034#endif
7035
7036// </h>
7037//==========================================================
7038
7039// <h> CRC - CRC functionality
7040
7041//==========================================================
7042// <e> FDS_CRC_CHECK_ON_READ - Enable CRC checks.
7043
7044// <i> Save a record's CRC when it is written to flash and check it when the record is opened.
7045// <i> Records with an incorrect CRC can still be 'seen' by the user using FDS functions, but they cannot be opened.
7046// <i> Additionally, they will not be garbage collected until they are deleted.
7047//==========================================================
7048#ifndef FDS_CRC_CHECK_ON_READ
7049#define FDS_CRC_CHECK_ON_READ 0
7050#endif
7051// <o> FDS_CRC_CHECK_ON_WRITE - Perform a CRC check on newly written records.
7052
7053
7054// <i> Perform a CRC check on newly written records.
7055// <i> This setting can be used to make sure that the record data was not altered while being written to flash.
7056// <1=> Enabled
7057// <0=> Disabled
7058
7059#ifndef FDS_CRC_CHECK_ON_WRITE
7060#define FDS_CRC_CHECK_ON_WRITE 0
7061#endif
7062
7063// </e>
7064
7065// </h>
7066//==========================================================
7067
7068// <h> Users - Number of users
7069
7070//==========================================================
7071// <o> FDS_MAX_USERS - Maximum number of callbacks that can be registered.
7072#ifndef FDS_MAX_USERS
7073#define FDS_MAX_USERS 4
7074#endif
7075
7076// </h>
7077//==========================================================
7078
7079// </e>
7080
7081// <q> HARDFAULT_HANDLER_ENABLED - hardfault_default - HardFault default handler for debugging and release
7082
7083
7084#ifndef HARDFAULT_HANDLER_ENABLED
7085#define HARDFAULT_HANDLER_ENABLED 0
7086#endif
7087
7088// <e> HCI_MEM_POOL_ENABLED - hci_mem_pool - memory pool implementation used by HCI
7089//==========================================================
7090#ifndef HCI_MEM_POOL_ENABLED
7091#define HCI_MEM_POOL_ENABLED 0
7092#endif
7093// <o> HCI_TX_BUF_SIZE - TX buffer size in bytes.
7094#ifndef HCI_TX_BUF_SIZE
7095#define HCI_TX_BUF_SIZE 600
7096#endif
7097
7098// <o> HCI_RX_BUF_SIZE - RX buffer size in bytes.
7099#ifndef HCI_RX_BUF_SIZE
7100#define HCI_RX_BUF_SIZE 600
7101#endif
7102
7103// <o> HCI_RX_BUF_QUEUE_SIZE - RX buffer queue size.
7104#ifndef HCI_RX_BUF_QUEUE_SIZE
7105#define HCI_RX_BUF_QUEUE_SIZE 4
7106#endif
7107
7108// </e>
7109
7110// <e> HCI_SLIP_ENABLED - hci_slip - SLIP protocol implementation used by HCI
7111//==========================================================
7112#ifndef HCI_SLIP_ENABLED
7113#define HCI_SLIP_ENABLED 0
7114#endif
7115// <o> HCI_UART_BAUDRATE - Default Baudrate
7116
7117// <323584=> 1200 baud
7118// <643072=> 2400 baud
7119// <1290240=> 4800 baud
7120// <2576384=> 9600 baud
7121// <3862528=> 14400 baud
7122// <5152768=> 19200 baud
7123// <7716864=> 28800 baud
7124// <10289152=> 38400 baud
7125// <15400960=> 57600 baud
7126// <20615168=> 76800 baud
7127// <30801920=> 115200 baud
7128// <61865984=> 230400 baud
7129// <67108864=> 250000 baud
7130// <121634816=> 460800 baud
7131// <251658240=> 921600 baud
7132// <268435456=> 1000000 baud
7133
7134#ifndef HCI_UART_BAUDRATE
7135#define HCI_UART_BAUDRATE 30801920
7136#endif
7137
7138// <o> HCI_UART_FLOW_CONTROL - Hardware Flow Control
7139
7140// <0=> Disabled
7141// <1=> Enabled
7142
7143#ifndef HCI_UART_FLOW_CONTROL
7144#define HCI_UART_FLOW_CONTROL 0
7145#endif
7146
7147// <o> HCI_UART_RX_PIN - UART RX pin
7148#ifndef HCI_UART_RX_PIN
7149#define HCI_UART_RX_PIN 8
7150#endif
7151
7152// <o> HCI_UART_TX_PIN - UART TX pin
7153#ifndef HCI_UART_TX_PIN
7154#define HCI_UART_TX_PIN 6
7155#endif
7156
7157// <o> HCI_UART_RTS_PIN - UART RTS pin
7158#ifndef HCI_UART_RTS_PIN
7159#define HCI_UART_RTS_PIN 5
7160#endif
7161
7162// <o> HCI_UART_CTS_PIN - UART CTS pin
7163#ifndef HCI_UART_CTS_PIN
7164#define HCI_UART_CTS_PIN 7
7165#endif
7166
7167// </e>
7168
7169// <e> HCI_TRANSPORT_ENABLED - hci_transport - HCI transport
7170//==========================================================
7171#ifndef HCI_TRANSPORT_ENABLED
7172#define HCI_TRANSPORT_ENABLED 0
7173#endif
7174// <o> HCI_MAX_PACKET_SIZE_IN_BITS - Maximum size of a single application packet in bits.
7175#ifndef HCI_MAX_PACKET_SIZE_IN_BITS
7176#define HCI_MAX_PACKET_SIZE_IN_BITS 8000
7177#endif
7178
7179// </e>
7180
7181// <q> LED_SOFTBLINK_ENABLED - led_softblink - led_softblink module
7182
7183
7184#ifndef LED_SOFTBLINK_ENABLED
7185#define LED_SOFTBLINK_ENABLED 0
7186#endif
7187
7188// <q> LOW_POWER_PWM_ENABLED - low_power_pwm - low_power_pwm module
7189
7190
7191#ifndef LOW_POWER_PWM_ENABLED
7192#define LOW_POWER_PWM_ENABLED 0
7193#endif
7194
7195// <e> MEM_MANAGER_ENABLED - mem_manager - Dynamic memory allocator
7196//==========================================================
7197#ifndef MEM_MANAGER_ENABLED
7198#define MEM_MANAGER_ENABLED 1
7199#endif
7200// <o> MEMORY_MANAGER_SMALL_BLOCK_COUNT - Size of each memory blocks identified as 'small' block. <0-255>
7201
7202
7203#ifndef MEMORY_MANAGER_SMALL_BLOCK_COUNT
7204#define MEMORY_MANAGER_SMALL_BLOCK_COUNT 1
7205#endif
7206
7207// <o> MEMORY_MANAGER_SMALL_BLOCK_SIZE - Size of each memory blocks identified as 'small' block.
7208// <i> Size of each memory blocks identified as 'small' block. Memory block are recommended to be word-sized.
7209
7210#ifndef MEMORY_MANAGER_SMALL_BLOCK_SIZE
7211#define MEMORY_MANAGER_SMALL_BLOCK_SIZE 32
7212#endif
7213
7214// <o> MEMORY_MANAGER_MEDIUM_BLOCK_COUNT - Size of each memory blocks identified as 'medium' block. <0-255>
7215
7216
7217#ifndef MEMORY_MANAGER_MEDIUM_BLOCK_COUNT
7218#define MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 0
7219#endif
7220
7221// <o> MEMORY_MANAGER_MEDIUM_BLOCK_SIZE - Size of each memory blocks identified as 'medium' block.
7222// <i> Size of each memory blocks identified as 'medium' block. Memory block are recommended to be word-sized.
7223
7224#ifndef MEMORY_MANAGER_MEDIUM_BLOCK_SIZE
7225#define MEMORY_MANAGER_MEDIUM_BLOCK_SIZE 256
7226#endif
7227
7228// <o> MEMORY_MANAGER_LARGE_BLOCK_COUNT - Size of each memory blocks identified as 'large' block. <0-255>
7229
7230
7231#ifndef MEMORY_MANAGER_LARGE_BLOCK_COUNT
7232#define MEMORY_MANAGER_LARGE_BLOCK_COUNT 0
7233#endif
7234
7235// <o> MEMORY_MANAGER_LARGE_BLOCK_SIZE - Size of each memory blocks identified as 'large' block.
7236// <i> Size of each memory blocks identified as 'large' block. Memory block are recommended to be word-sized.
7237
7238#ifndef MEMORY_MANAGER_LARGE_BLOCK_SIZE
7239#define MEMORY_MANAGER_LARGE_BLOCK_SIZE 256
7240#endif
7241
7242// <o> MEMORY_MANAGER_XLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra large' block. <0-255>
7243
7244
7245#ifndef MEMORY_MANAGER_XLARGE_BLOCK_COUNT
7246#define MEMORY_MANAGER_XLARGE_BLOCK_COUNT 0
7247#endif
7248
7249// <o> MEMORY_MANAGER_XLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra large' block.
7250// <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
7251
7252#ifndef MEMORY_MANAGER_XLARGE_BLOCK_SIZE
7253#define MEMORY_MANAGER_XLARGE_BLOCK_SIZE 1320
7254#endif
7255
7256// <o> MEMORY_MANAGER_XXLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra large' block. <0-255>
7257
7258
7259#ifndef MEMORY_MANAGER_XXLARGE_BLOCK_COUNT
7260#define MEMORY_MANAGER_XXLARGE_BLOCK_COUNT 0
7261#endif
7262
7263// <o> MEMORY_MANAGER_XXLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra large' block.
7264// <i> Size of each memory blocks identified as 'extra extra large' block. Memory block are recommended to be word-sized.
7265
7266#ifndef MEMORY_MANAGER_XXLARGE_BLOCK_SIZE
7267#define MEMORY_MANAGER_XXLARGE_BLOCK_SIZE 3444
7268#endif
7269
7270// <o> MEMORY_MANAGER_XSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra small' block. <0-255>
7271
7272
7273#ifndef MEMORY_MANAGER_XSMALL_BLOCK_COUNT
7274#define MEMORY_MANAGER_XSMALL_BLOCK_COUNT 0
7275#endif
7276
7277// <o> MEMORY_MANAGER_XSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra small' block.
7278// <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
7279
7280#ifndef MEMORY_MANAGER_XSMALL_BLOCK_SIZE
7281#define MEMORY_MANAGER_XSMALL_BLOCK_SIZE 64
7282#endif
7283
7284// <o> MEMORY_MANAGER_XXSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra small' block. <0-255>
7285
7286
7287#ifndef MEMORY_MANAGER_XXSMALL_BLOCK_COUNT
7288#define MEMORY_MANAGER_XXSMALL_BLOCK_COUNT 0
7289#endif
7290
7291// <o> MEMORY_MANAGER_XXSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra small' block.
7292// <i> Size of each memory blocks identified as 'extra extra small' block. Memory block are recommended to be word-sized.
7293
7294#ifndef MEMORY_MANAGER_XXSMALL_BLOCK_SIZE
7295#define MEMORY_MANAGER_XXSMALL_BLOCK_SIZE 32
7296#endif
7297
7298// <e> MEM_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
7299//==========================================================
7300#ifndef MEM_MANAGER_CONFIG_LOG_ENABLED
7301#define MEM_MANAGER_CONFIG_LOG_ENABLED 0
7302#endif
7303// <o> MEM_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
7304
7305// <0=> Off
7306// <1=> Error
7307// <2=> Warning
7308// <3=> Info
7309// <4=> Debug
7310
7311#ifndef MEM_MANAGER_CONFIG_LOG_LEVEL
7312#define MEM_MANAGER_CONFIG_LOG_LEVEL 3
7313#endif
7314
7315// <o> MEM_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
7316
7317// <0=> Default
7318// <1=> Black
7319// <2=> Red
7320// <3=> Green
7321// <4=> Yellow
7322// <5=> Blue
7323// <6=> Magenta
7324// <7=> Cyan
7325// <8=> White
7326
7327#ifndef MEM_MANAGER_CONFIG_INFO_COLOR
7328#define MEM_MANAGER_CONFIG_INFO_COLOR 0
7329#endif
7330
7331// <o> MEM_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
7332
7333// <0=> Default
7334// <1=> Black
7335// <2=> Red
7336// <3=> Green
7337// <4=> Yellow
7338// <5=> Blue
7339// <6=> Magenta
7340// <7=> Cyan
7341// <8=> White
7342
7343#ifndef MEM_MANAGER_CONFIG_DEBUG_COLOR
7344#define MEM_MANAGER_CONFIG_DEBUG_COLOR 0
7345#endif
7346
7347// </e>
7348
7349// <q> MEM_MANAGER_DISABLE_API_PARAM_CHECK - Disable API parameter checks in the module.
7350
7351
7352#ifndef MEM_MANAGER_DISABLE_API_PARAM_CHECK
7353#define MEM_MANAGER_DISABLE_API_PARAM_CHECK 0
7354#endif
7355
7356// </e>
7357
7358// <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
7359//==========================================================
7360#ifndef NRF_BALLOC_ENABLED
7361#define NRF_BALLOC_ENABLED 1
7362#endif
7363// <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
7364//==========================================================
7365#ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
7366#define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
7367#endif
7368// <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
7369
7370
7371#ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
7372#define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
7373#endif
7374
7375// <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
7376
7377
7378#ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
7379#define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
7380#endif
7381
7382// <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
7383
7384
7385#ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
7386#define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
7387#endif
7388
7389// <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
7390
7391
7392#ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
7393#define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
7394#endif
7395
7396// <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
7397
7398
7399#ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
7400#define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
7401#endif
7402
7403// <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
7404
7405
7406#ifndef NRF_BALLOC_CLI_CMDS
7407#define NRF_BALLOC_CLI_CMDS 0
7408#endif
7409
7410// </e>
7411
7412// </e>
7413
7414// <e> NRF_CSENSE_ENABLED - nrf_csense - Capacitive sensor module
7415//==========================================================
7416#ifndef NRF_CSENSE_ENABLED
7417#define NRF_CSENSE_ENABLED 0
7418#endif
7419// <o> NRF_CSENSE_PAD_HYSTERESIS - Minimum value of change required to determine that a pad was touched.
7420#ifndef NRF_CSENSE_PAD_HYSTERESIS
7421#define NRF_CSENSE_PAD_HYSTERESIS 15
7422#endif
7423
7424// <o> NRF_CSENSE_PAD_DEVIATION - Minimum value measured on a pad required to take it into account while calculating the step.
7425#ifndef NRF_CSENSE_PAD_DEVIATION
7426#define NRF_CSENSE_PAD_DEVIATION 70
7427#endif
7428
7429// <o> NRF_CSENSE_MIN_PAD_VALUE - Minimum normalized value on a pad required to take its value into account.
7430#ifndef NRF_CSENSE_MIN_PAD_VALUE
7431#define NRF_CSENSE_MIN_PAD_VALUE 20
7432#endif
7433
7434// <o> NRF_CSENSE_MAX_PADS_NUMBER - Maximum number of pads used for one instance.
7435#ifndef NRF_CSENSE_MAX_PADS_NUMBER
7436#define NRF_CSENSE_MAX_PADS_NUMBER 20
7437#endif
7438
7439// <o> NRF_CSENSE_MAX_VALUE - Maximum normalized value obtained from measurement.
7440#ifndef NRF_CSENSE_MAX_VALUE
7441#define NRF_CSENSE_MAX_VALUE 1000
7442#endif
7443
7444// <o> NRF_CSENSE_OUTPUT_PIN - Output pin used by the low-level module.
7445// <i> This is used when capacitive sensor does not use COMP.
7446
7447#ifndef NRF_CSENSE_OUTPUT_PIN
7448#define NRF_CSENSE_OUTPUT_PIN 26
7449#endif
7450
7451// </e>
7452
7453// <e> NRF_DRV_CSENSE_ENABLED - nrf_drv_csense - Capacitive sensor low-level module
7454//==========================================================
7455#ifndef NRF_DRV_CSENSE_ENABLED
7456#define NRF_DRV_CSENSE_ENABLED 0
7457#endif
7458// <e> USE_COMP - Use the comparator to implement the capacitive sensor driver.
7459
7460// <i> Due to Anomaly 84, COMP I_SOURCE is not functional. It has too high a varation.
7461//==========================================================
7462#ifndef USE_COMP
7463#define USE_COMP 0
7464#endif
7465// <o> TIMER0_FOR_CSENSE - First TIMER instance used by the driver (not used on nRF51).
7466#ifndef TIMER0_FOR_CSENSE
7467#define TIMER0_FOR_CSENSE 1
7468#endif
7469
7470// <o> TIMER1_FOR_CSENSE - Second TIMER instance used by the driver (not used on nRF51).
7471#ifndef TIMER1_FOR_CSENSE
7472#define TIMER1_FOR_CSENSE 2
7473#endif
7474
7475// <o> MEASUREMENT_PERIOD - Single measurement period.
7476// <i> Time of a single measurement can be calculated as
7477// <i> T = (1/2)*MEASUREMENT_PERIOD*(1/f_OSC) where f_OSC = I_SOURCE / (2C*(VUP-VDOWN) ).
7478// <i> I_SOURCE, VUP, and VDOWN are values used to initialize COMP and C is the capacitance of the used pad.
7479
7480#ifndef MEASUREMENT_PERIOD
7481#define MEASUREMENT_PERIOD 20
7482#endif
7483
7484// </e>
7485
7486// </e>
7487
7488// <e> NRF_FSTORAGE_ENABLED - nrf_fstorage - Flash abstraction library
7489//==========================================================
7490#ifndef NRF_FSTORAGE_ENABLED
7491#define NRF_FSTORAGE_ENABLED 1
7492#endif
7493// <h> nrf_fstorage - Common settings
7494
7495// <i> Common settings to all fstorage implementations
7496//==========================================================
7497// <q> NRF_FSTORAGE_PARAM_CHECK_DISABLED - Disable user input validation
7498
7499
7500// <i> If selected, use ASSERT to validate user input.
7501// <i> This effectively removes user input validation in production code.
7502// <i> Recommended setting: OFF, only enable this setting if size is a major concern.
7503
7504#ifndef NRF_FSTORAGE_PARAM_CHECK_DISABLED
7505#define NRF_FSTORAGE_PARAM_CHECK_DISABLED 0
7506#endif
7507
7508// </h>
7509//==========================================================
7510
7511// <h> nrf_fstorage_sd - Implementation using the SoftDevice
7512
7513// <i> Configuration options for the fstorage implementation using the SoftDevice
7514//==========================================================
7515// <o> NRF_FSTORAGE_SD_QUEUE_SIZE - Size of the internal queue of operations
7516// <i> Increase this value if API calls frequently return the error @ref NRF_ERROR_NO_MEM.
7517
7518#ifndef NRF_FSTORAGE_SD_QUEUE_SIZE
7519#define NRF_FSTORAGE_SD_QUEUE_SIZE 4
7520#endif
7521
7522// <o> NRF_FSTORAGE_SD_MAX_RETRIES - Maximum number of attempts at executing an operation when the SoftDevice is busy
7523// <i> Increase this value if events frequently return the @ref NRF_ERROR_TIMEOUT error.
7524// <i> The SoftDevice might fail to schedule flash access due to high BLE activity.
7525
7526#ifndef NRF_FSTORAGE_SD_MAX_RETRIES
7527#define NRF_FSTORAGE_SD_MAX_RETRIES 8
7528#endif
7529
7530// <o> NRF_FSTORAGE_SD_MAX_WRITE_SIZE - Maximum number of bytes to be written to flash in a single operation
7531// <i> This value must be a multiple of four.
7532// <i> Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between radio activity.
7533// <i> This value is bound by the maximum number of bytes that can be written to flash in a single call to @ref sd_flash_write.
7534// <i> That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
7535
7536#ifndef NRF_FSTORAGE_SD_MAX_WRITE_SIZE
7537#define NRF_FSTORAGE_SD_MAX_WRITE_SIZE 4096
7538#endif
7539
7540// </h>
7541//==========================================================
7542
7543// </e>
7544
7545// <q> NRF_GFX_ENABLED - nrf_gfx - GFX module
7546
7547
7548#ifndef NRF_GFX_ENABLED
7549#define NRF_GFX_ENABLED 0
7550#endif
7551
7552// <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
7553
7554
7555#ifndef NRF_MEMOBJ_ENABLED
7556#define NRF_MEMOBJ_ENABLED 1
7557#endif
7558
7559// <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
7560//==========================================================
7561#ifndef NRF_PWR_MGMT_ENABLED
7562#define NRF_PWR_MGMT_ENABLED 1
7563#endif
7564// <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module.
7565
7566// <i> Selected pin will be set when CPU is in sleep mode.
7567//==========================================================
7568#ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED
7569#define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0
7570#endif
7571// <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number
7572
7573// <0=> 0 (P0.0)
7574// <1=> 1 (P0.1)
7575// <2=> 2 (P0.2)
7576// <3=> 3 (P0.3)
7577// <4=> 4 (P0.4)
7578// <5=> 5 (P0.5)
7579// <6=> 6 (P0.6)
7580// <7=> 7 (P0.7)
7581// <8=> 8 (P0.8)
7582// <9=> 9 (P0.9)
7583// <10=> 10 (P0.10)
7584// <11=> 11 (P0.11)
7585// <12=> 12 (P0.12)
7586// <13=> 13 (P0.13)
7587// <14=> 14 (P0.14)
7588// <15=> 15 (P0.15)
7589// <16=> 16 (P0.16)
7590// <17=> 17 (P0.17)
7591// <18=> 18 (P0.18)
7592// <19=> 19 (P0.19)
7593// <20=> 20 (P0.20)
7594// <21=> 21 (P0.21)
7595// <22=> 22 (P0.22)
7596// <23=> 23 (P0.23)
7597// <24=> 24 (P0.24)
7598// <25=> 25 (P0.25)
7599// <26=> 26 (P0.26)
7600// <27=> 27 (P0.27)
7601// <28=> 28 (P0.28)
7602// <29=> 29 (P0.29)
7603// <30=> 30 (P0.30)
7604// <31=> 31 (P0.31)
7605// <4294967295=> Not connected
7606
7607#ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN
7608#define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 31
7609#endif
7610
7611// </e>
7612
7613// <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor.
7614
7615
7616// <i> Module will trace percentage of CPU usage in one second intervals.
7617
7618#ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED
7619#define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 0
7620#endif
7621
7622// <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout.
7623//==========================================================
7624#ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED
7625#define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 0
7626#endif
7627// <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds).
7628// <i> Shutdown procedure will begin no earlier than after this number of seconds.
7629
7630#ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S
7631#define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 3
7632#endif
7633
7634// </e>
7635
7636// <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning.
7637
7638
7639#ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED
7640#define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 1
7641#endif
7642
7643// <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second.
7644
7645
7646#ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY
7647#define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 0
7648#endif
7649
7650// <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler.
7651
7652
7653#ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER
7654#define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0
7655#endif
7656
7657// <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers.
7658// <i> The number of stages of the shutdown process.
7659
7660#ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT
7661#define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3
7662#endif
7663
7664// </e>
7665
7666// <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
7667//==========================================================
7668#ifndef NRF_QUEUE_ENABLED
7669#define NRF_QUEUE_ENABLED 1
7670#endif
7671// <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
7672
7673
7674#ifndef NRF_QUEUE_CLI_CMDS
7675#define NRF_QUEUE_CLI_CMDS 0
7676#endif
7677
7678// </e>
7679
7680// <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator
7681
7682
7683#ifndef NRF_SECTION_ITER_ENABLED
7684#define NRF_SECTION_ITER_ENABLED 1
7685#endif
7686
7687// <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list
7688
7689
7690#ifndef NRF_SORTLIST_ENABLED
7691#define NRF_SORTLIST_ENABLED 1
7692#endif
7693
7694// <q> NRF_SPI_MNGR_ENABLED - nrf_spi_mngr - SPI transaction manager
7695
7696
7697#ifndef NRF_SPI_MNGR_ENABLED
7698#define NRF_SPI_MNGR_ENABLED 0
7699#endif
7700
7701// <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
7702
7703
7704#ifndef NRF_STRERROR_ENABLED
7705#define NRF_STRERROR_ENABLED 1
7706#endif
7707
7708// <q> NRF_TWI_MNGR_ENABLED - nrf_twi_mngr - TWI transaction manager
7709
7710
7711#ifndef NRF_TWI_MNGR_ENABLED
7712#define NRF_TWI_MNGR_ENABLED 0
7713#endif
7714
7715// <q> SLIP_ENABLED - slip - SLIP encoding and decoding
7716
7717
7718#ifndef SLIP_ENABLED
7719#define SLIP_ENABLED 0
7720#endif
7721
7722// <e> TASK_MANAGER_ENABLED - task_manager - Task manager.
7723//==========================================================
7724#ifndef TASK_MANAGER_ENABLED
7725#define TASK_MANAGER_ENABLED 0
7726#endif
7727// <q> TASK_MANAGER_CLI_CMDS - Enable CLI commands specific to the module
7728
7729
7730#ifndef TASK_MANAGER_CLI_CMDS
7731#define TASK_MANAGER_CLI_CMDS 0
7732#endif
7733
7734// <o> TASK_MANAGER_CONFIG_MAX_TASKS - Maximum number of tasks which can be created
7735#ifndef TASK_MANAGER_CONFIG_MAX_TASKS
7736#define TASK_MANAGER_CONFIG_MAX_TASKS 2
7737#endif
7738
7739// <o> TASK_MANAGER_CONFIG_STACK_SIZE - Stack size for every task (power of 2)
7740#ifndef TASK_MANAGER_CONFIG_STACK_SIZE
7741#define TASK_MANAGER_CONFIG_STACK_SIZE 1024
7742#endif
7743
7744// <q> TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED - Enable stack profiling.
7745
7746
7747#ifndef TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED
7748#define TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED 1
7749#endif
7750
7751// <o> TASK_MANAGER_CONFIG_STACK_GUARD - Configures stack guard.
7752
7753// <0=> Disabled
7754// <4=> 32 bytes
7755// <5=> 64 bytes
7756// <6=> 128 bytes
7757// <7=> 256 bytes
7758// <8=> 512 bytes
7759
7760#ifndef TASK_MANAGER_CONFIG_STACK_GUARD
7761#define TASK_MANAGER_CONFIG_STACK_GUARD 7
7762#endif
7763
7764// </e>
7765
7766// <h> app_button - buttons handling module
7767
7768//==========================================================
7769// <q> BUTTON_ENABLED - Enables Button module
7770
7771
7772#ifndef BUTTON_ENABLED
7773#define BUTTON_ENABLED 1
7774#endif
7775
7776// <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
7777
7778
7779#ifndef BUTTON_HIGH_ACCURACY_ENABLED
7780#define BUTTON_HIGH_ACCURACY_ENABLED 0
7781#endif
7782
7783// </h>
7784//==========================================================
7785
7786// <h> app_usbd_cdc_acm - USB CDC ACM class
7787
7788//==========================================================
7789// <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
7790
7791
7792#ifndef APP_USBD_CDC_ACM_ENABLED
7793#define APP_USBD_CDC_ACM_ENABLED 0
7794#endif
7795
7796// <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
7797
7798
7799// <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
7800// <i> This may limit throughput if a lot of binary data is sent, but in terminal mode operation it makes sure that the data is always displayed right after it is sent.
7801
7802#ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
7803#define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
7804#endif
7805
7806// </h>
7807//==========================================================
7808
7809// <h> nrf_cli - Command line interface
7810
7811//==========================================================
7812// <q> NRF_CLI_ENABLED - Enable/disable the CLI module.
7813
7814
7815#ifndef NRF_CLI_ENABLED
7816#define NRF_CLI_ENABLED 0
7817#endif
7818
7819// <o> NRF_CLI_ARGC_MAX - Maximum number of parameters passed to the command handler.
7820#ifndef NRF_CLI_ARGC_MAX
7821#define NRF_CLI_ARGC_MAX 12
7822#endif
7823
7824// <q> NRF_CLI_BUILD_IN_CMDS_ENABLED - CLI built-in commands.
7825
7826
7827#ifndef NRF_CLI_BUILD_IN_CMDS_ENABLED
7828#define NRF_CLI_BUILD_IN_CMDS_ENABLED 1
7829#endif
7830
7831// <o> NRF_CLI_CMD_BUFF_SIZE - Maximum buffer size for a single command.
7832#ifndef NRF_CLI_CMD_BUFF_SIZE
7833#define NRF_CLI_CMD_BUFF_SIZE 128
7834#endif
7835
7836// <q> NRF_CLI_ECHO_STATUS - CLI echo status. If set, echo is ON.
7837
7838
7839#ifndef NRF_CLI_ECHO_STATUS
7840#define NRF_CLI_ECHO_STATUS 1
7841#endif
7842
7843// <q> NRF_CLI_WILDCARD_ENABLED - Enable wildcard functionality for CLI commands.
7844
7845
7846#ifndef NRF_CLI_WILDCARD_ENABLED
7847#define NRF_CLI_WILDCARD_ENABLED 0
7848#endif
7849
7850// <q> NRF_CLI_METAKEYS_ENABLED - Enable additional control keys for CLI commands like ctrl+a, ctrl+e, ctrl+w, ctrl+u
7851
7852
7853#ifndef NRF_CLI_METAKEYS_ENABLED
7854#define NRF_CLI_METAKEYS_ENABLED 0
7855#endif
7856
7857// <o> NRF_CLI_PRINTF_BUFF_SIZE - Maximum print buffer size.
7858#ifndef NRF_CLI_PRINTF_BUFF_SIZE
7859#define NRF_CLI_PRINTF_BUFF_SIZE 23
7860#endif
7861
7862// <e> NRF_CLI_HISTORY_ENABLED - Enable CLI history mode.
7863//==========================================================
7864#ifndef NRF_CLI_HISTORY_ENABLED
7865#define NRF_CLI_HISTORY_ENABLED 1
7866#endif
7867// <o> NRF_CLI_HISTORY_ELEMENT_SIZE - Size of one memory object reserved for CLI history.
7868#ifndef NRF_CLI_HISTORY_ELEMENT_SIZE
7869#define NRF_CLI_HISTORY_ELEMENT_SIZE 32
7870#endif
7871
7872// <o> NRF_CLI_HISTORY_ELEMENT_COUNT - Number of history memory objects.
7873#ifndef NRF_CLI_HISTORY_ELEMENT_COUNT
7874#define NRF_CLI_HISTORY_ELEMENT_COUNT 8
7875#endif
7876
7877// </e>
7878
7879// <q> NRF_CLI_VT100_COLORS_ENABLED - CLI VT100 colors.
7880
7881
7882#ifndef NRF_CLI_VT100_COLORS_ENABLED
7883#define NRF_CLI_VT100_COLORS_ENABLED 1
7884#endif
7885
7886// <q> NRF_CLI_STATISTICS_ENABLED - Enable CLI statistics.
7887
7888
7889#ifndef NRF_CLI_STATISTICS_ENABLED
7890#define NRF_CLI_STATISTICS_ENABLED 1
7891#endif
7892
7893// <q> NRF_CLI_LOG_BACKEND - Enable logger backend interface.
7894
7895
7896#ifndef NRF_CLI_LOG_BACKEND
7897#define NRF_CLI_LOG_BACKEND 1
7898#endif
7899
7900// <q> NRF_CLI_USES_TASK_MANAGER_ENABLED - Enable CLI to use task_manager
7901
7902
7903#ifndef NRF_CLI_USES_TASK_MANAGER_ENABLED
7904#define NRF_CLI_USES_TASK_MANAGER_ENABLED 0
7905#endif
7906
7907// </h>
7908//==========================================================
7909
7910// <h> nrf_fprintf - fprintf function.
7911
7912//==========================================================
7913// <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
7914
7915
7916#ifndef NRF_FPRINTF_ENABLED
7917#define NRF_FPRINTF_ENABLED 1
7918#endif
7919
7920// <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
7921
7922
7923#ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
7924#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
7925#endif
7926
7927// <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
7928
7929
7930#ifndef NRF_FPRINTF_DOUBLE_ENABLED
7931#define NRF_FPRINTF_DOUBLE_ENABLED 0
7932#endif
7933
7934// </h>
7935//==========================================================
7936
7937// </h>
7938//==========================================================
7939
7940// <h> nRF_Log
7941
7942//==========================================================
7943// <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
7944//==========================================================
7945#ifndef NRF_LOG_BACKEND_RTT_ENABLED
7946#define NRF_LOG_BACKEND_RTT_ENABLED 1
7947#endif
7948// <o> NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
7949// <i> Size of the buffer is a trade-off between RAM usage and processing.
7950// <i> if buffer is smaller then strings will often be fragmented.
7951// <i> It is recommended to use size which will fit typical log and only the
7952// <i> longer one will be fragmented.
7953
7954#ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
7955#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64
7956#endif
7957
7958// <o> NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT
7959#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
7960#define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1
7961#endif
7962
7963// <o> NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries.
7964// <i> If RTT fails to accept any new data after retries
7965// <i> module assumes that host is not active and on next
7966// <i> request it will perform only one write attempt.
7967// <i> On successful writing, module assumes that host is active
7968// <i> and scheme with retry is applied again.
7969
7970#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
7971#define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3
7972#endif
7973
7974// </e>
7975
7976// <e> NRF_LOG_BACKEND_UART_ENABLED - nrf_log_backend_uart - Log UART backend
7977//==========================================================
7978#ifndef NRF_LOG_BACKEND_UART_ENABLED
7979#define NRF_LOG_BACKEND_UART_ENABLED 0
7980#endif
7981// <o> NRF_LOG_BACKEND_UART_TX_PIN - UART TX pin
7982#ifndef NRF_LOG_BACKEND_UART_TX_PIN
7983#define NRF_LOG_BACKEND_UART_TX_PIN 6
7984#endif
7985
7986// <o> NRF_LOG_BACKEND_UART_BAUDRATE - Default Baudrate
7987
7988// <323584=> 1200 baud
7989// <643072=> 2400 baud
7990// <1290240=> 4800 baud
7991// <2576384=> 9600 baud
7992// <3862528=> 14400 baud
7993// <5152768=> 19200 baud
7994// <7716864=> 28800 baud
7995// <10289152=> 38400 baud
7996// <15400960=> 57600 baud
7997// <20615168=> 76800 baud
7998// <30801920=> 115200 baud
7999// <61865984=> 230400 baud
8000// <67108864=> 250000 baud
8001// <121634816=> 460800 baud
8002// <251658240=> 921600 baud
8003// <268435456=> 1000000 baud
8004
8005#ifndef NRF_LOG_BACKEND_UART_BAUDRATE
8006#define NRF_LOG_BACKEND_UART_BAUDRATE 30801920
8007#endif
8008
8009// <o> NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
8010// <i> Size of the buffer is a trade-off between RAM usage and processing.
8011// <i> if buffer is smaller then strings will often be fragmented.
8012// <i> It is recommended to use size which will fit typical log and only the
8013// <i> longer one will be fragmented.
8014
8015#ifndef NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE
8016#define NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE 64
8017#endif
8018
8019// </e>
8020
8021// <e> NRF_LOG_ENABLED - nrf_log - Logger
8022//==========================================================
8023#ifndef NRF_LOG_ENABLED
8024#define NRF_LOG_ENABLED 1
8025#endif
8026// <h> Log message pool - Configuration of log message pool
8027
8028//==========================================================
8029// <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
8030// <i> If a small value is set, then performance of logs processing
8031// <i> is degraded because data is fragmented. Bigger value impacts
8032// <i> RAM memory utilization. The size is set to fit a message with
8033// <i> a timestamp and up to 2 arguments in a single memory object.
8034
8035#ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
8036#define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
8037#endif
8038
8039// <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
8040// <i> If a small value is set, then it may lead to a deadlock
8041// <i> in certain cases if backend has high latency and holds
8042// <i> multiple messages for long time. Bigger value impacts
8043// <i> RAM memory usage.
8044
8045#ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
8046#define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
8047#endif
8048
8049// </h>
8050//==========================================================
8051
8052// <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
8053
8054
8055// <i> If set then oldest logs are overwritten. Otherwise a
8056// <i> marker is injected informing about overflow.
8057
8058#ifndef NRF_LOG_ALLOW_OVERFLOW
8059#define NRF_LOG_ALLOW_OVERFLOW 1
8060#endif
8061
8062// <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
8063
8064
8065// <i> Must be power of 2 and multiple of 4.
8066// <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
8067// <128=> 128
8068// <256=> 256
8069// <512=> 512
8070// <1024=> 1024
8071// <2048=> 2048
8072// <4096=> 4096
8073// <8192=> 8192
8074// <16384=> 16384
8075
8076#ifndef NRF_LOG_BUFSIZE
8077#define NRF_LOG_BUFSIZE 1024
8078#endif
8079
8080// <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
8081
8082
8083#ifndef NRF_LOG_CLI_CMDS
8084#define NRF_LOG_CLI_CMDS 0
8085#endif
8086
8087// <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
8088
8089// <0=> Off
8090// <1=> Error
8091// <2=> Warning
8092// <3=> Info
8093// <4=> Debug
8094
8095#ifndef NRF_LOG_DEFAULT_LEVEL
8096#define NRF_LOG_DEFAULT_LEVEL 0
8097#endif
8098
8099// <q> NRF_LOG_DEFERRED - Enable deffered logger.
8100
8101
8102// <i> Log data is buffered and can be processed in idle.
8103
8104#ifndef NRF_LOG_DEFERRED
8105#define NRF_LOG_DEFERRED 0
8106#endif
8107
8108// <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
8109
8110
8111#ifndef NRF_LOG_FILTERS_ENABLED
8112#define NRF_LOG_FILTERS_ENABLED 0
8113#endif
8114
8115// <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs.
8116
8117
8118// <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
8119// <i> Log output will never be corrupted as access to the log backend is exclusive
8120// <i> but system will spend significant amount of time in critical section
8121
8122#ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
8123#define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
8124#endif
8125
8126// <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
8127
8128// <16=> 16
8129// <32=> 32
8130// <64=> 64
8131// <128=> 128
8132// <256=> 256
8133// <512=> 512
8134// <1024=> 1024
8135
8136#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
8137#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
8138#endif
8139
8140// <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
8141
8142// <16=> 16
8143// <32=> 32
8144// <64=> 64
8145// <128=> 128
8146// <256=> 256
8147// <512=> 512
8148// <1024=> 1024
8149
8150#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
8151#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
8152#endif
8153
8154// <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
8155//==========================================================
8156#ifndef NRF_LOG_USES_COLORS
8157#define NRF_LOG_USES_COLORS 0
8158#endif
8159// <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
8160
8161// <0=> Default
8162// <1=> Black
8163// <2=> Red
8164// <3=> Green
8165// <4=> Yellow
8166// <5=> Blue
8167// <6=> Magenta
8168// <7=> Cyan
8169// <8=> White
8170
8171#ifndef NRF_LOG_COLOR_DEFAULT
8172#define NRF_LOG_COLOR_DEFAULT 0
8173#endif
8174
8175// <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
8176
8177// <0=> Default
8178// <1=> Black
8179// <2=> Red
8180// <3=> Green
8181// <4=> Yellow
8182// <5=> Blue
8183// <6=> Magenta
8184// <7=> Cyan
8185// <8=> White
8186
8187#ifndef NRF_LOG_ERROR_COLOR
8188#define NRF_LOG_ERROR_COLOR 2
8189#endif
8190
8191// <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
8192
8193// <0=> Default
8194// <1=> Black
8195// <2=> Red
8196// <3=> Green
8197// <4=> Yellow
8198// <5=> Blue
8199// <6=> Magenta
8200// <7=> Cyan
8201// <8=> White
8202
8203#ifndef NRF_LOG_WARNING_COLOR
8204#define NRF_LOG_WARNING_COLOR 4
8205#endif
8206
8207// </e>
8208
8209// <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
8210
8211// <i> Function for getting the timestamp is provided by the user
8212//==========================================================
8213#ifndef NRF_LOG_USES_TIMESTAMP
8214#define NRF_LOG_USES_TIMESTAMP 0
8215#endif
8216// <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
8217#ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
8218#define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
8219#endif
8220
8221// </e>
8222
8223// <h> nrf_log module configuration
8224
8225//==========================================================
8226// <h> nrf_log in nRF_Core
8227
8228//==========================================================
8229// <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
8230//==========================================================
8231#ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
8232#define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0
8233#endif
8234// <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
8235
8236// <0=> Off
8237// <1=> Error
8238// <2=> Warning
8239// <3=> Info
8240// <4=> Debug
8241
8242#ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
8243#define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
8244#endif
8245
8246// <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
8247
8248// <0=> Default
8249// <1=> Black
8250// <2=> Red
8251// <3=> Green
8252// <4=> Yellow
8253// <5=> Blue
8254// <6=> Magenta
8255// <7=> Cyan
8256// <8=> White
8257
8258#ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
8259#define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
8260#endif
8261
8262// <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8263
8264// <0=> Default
8265// <1=> Black
8266// <2=> Red
8267// <3=> Green
8268// <4=> Yellow
8269// <5=> Blue
8270// <6=> Magenta
8271// <7=> Cyan
8272// <8=> White
8273
8274#ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
8275#define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
8276#endif
8277
8278// </e>
8279
8280// <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
8281//==========================================================
8282#ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
8283#define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
8284#endif
8285// <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
8286
8287// <0=> Off
8288// <1=> Error
8289// <2=> Warning
8290// <3=> Info
8291// <4=> Debug
8292
8293#ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
8294#define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
8295#endif
8296
8297// <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
8298
8299// <0=> Default
8300// <1=> Black
8301// <2=> Red
8302// <3=> Green
8303// <4=> Yellow
8304// <5=> Blue
8305// <6=> Magenta
8306// <7=> Cyan
8307// <8=> White
8308
8309#ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
8310#define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
8311#endif
8312
8313// <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8314
8315// <0=> Default
8316// <1=> Black
8317// <2=> Red
8318// <3=> Green
8319// <4=> Yellow
8320// <5=> Blue
8321// <6=> Magenta
8322// <7=> Cyan
8323// <8=> White
8324
8325#ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
8326#define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
8327#endif
8328
8329// </e>
8330
8331// <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
8332//==========================================================
8333#ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
8334#define TASK_MANAGER_CONFIG_LOG_ENABLED 0
8335#endif
8336// <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
8337
8338// <0=> Off
8339// <1=> Error
8340// <2=> Warning
8341// <3=> Info
8342// <4=> Debug
8343
8344#ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
8345#define TASK_MANAGER_CONFIG_LOG_LEVEL 3
8346#endif
8347
8348// <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
8349
8350// <0=> Default
8351// <1=> Black
8352// <2=> Red
8353// <3=> Green
8354// <4=> Yellow
8355// <5=> Blue
8356// <6=> Magenta
8357// <7=> Cyan
8358// <8=> White
8359
8360#ifndef TASK_MANAGER_CONFIG_INFO_COLOR
8361#define TASK_MANAGER_CONFIG_INFO_COLOR 0
8362#endif
8363
8364// <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8365
8366// <0=> Default
8367// <1=> Black
8368// <2=> Red
8369// <3=> Green
8370// <4=> Yellow
8371// <5=> Blue
8372// <6=> Magenta
8373// <7=> Cyan
8374// <8=> White
8375
8376#ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
8377#define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
8378#endif
8379
8380// </e>
8381
8382// </h>
8383//==========================================================
8384
8385// <h> nrf_log in nRF_Drivers
8386
8387//==========================================================
8388// <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
8389//==========================================================
8390#ifndef CLOCK_CONFIG_LOG_ENABLED
8391#define CLOCK_CONFIG_LOG_ENABLED 0
8392#endif
8393// <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
8394
8395// <0=> Off
8396// <1=> Error
8397// <2=> Warning
8398// <3=> Info
8399// <4=> Debug
8400
8401#ifndef CLOCK_CONFIG_LOG_LEVEL
8402#define CLOCK_CONFIG_LOG_LEVEL 3
8403#endif
8404
8405// <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
8406
8407// <0=> Default
8408// <1=> Black
8409// <2=> Red
8410// <3=> Green
8411// <4=> Yellow
8412// <5=> Blue
8413// <6=> Magenta
8414// <7=> Cyan
8415// <8=> White
8416
8417#ifndef CLOCK_CONFIG_INFO_COLOR
8418#define CLOCK_CONFIG_INFO_COLOR 0
8419#endif
8420
8421// <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8422
8423// <0=> Default
8424// <1=> Black
8425// <2=> Red
8426// <3=> Green
8427// <4=> Yellow
8428// <5=> Blue
8429// <6=> Magenta
8430// <7=> Cyan
8431// <8=> White
8432
8433#ifndef CLOCK_CONFIG_DEBUG_COLOR
8434#define CLOCK_CONFIG_DEBUG_COLOR 0
8435#endif
8436
8437// </e>
8438
8439// <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
8440//==========================================================
8441#ifndef COMP_CONFIG_LOG_ENABLED
8442#define COMP_CONFIG_LOG_ENABLED 0
8443#endif
8444// <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
8445
8446// <0=> Off
8447// <1=> Error
8448// <2=> Warning
8449// <3=> Info
8450// <4=> Debug
8451
8452#ifndef COMP_CONFIG_LOG_LEVEL
8453#define COMP_CONFIG_LOG_LEVEL 3
8454#endif
8455
8456// <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
8457
8458// <0=> Default
8459// <1=> Black
8460// <2=> Red
8461// <3=> Green
8462// <4=> Yellow
8463// <5=> Blue
8464// <6=> Magenta
8465// <7=> Cyan
8466// <8=> White
8467
8468#ifndef COMP_CONFIG_INFO_COLOR
8469#define COMP_CONFIG_INFO_COLOR 0
8470#endif
8471
8472// <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8473
8474// <0=> Default
8475// <1=> Black
8476// <2=> Red
8477// <3=> Green
8478// <4=> Yellow
8479// <5=> Blue
8480// <6=> Magenta
8481// <7=> Cyan
8482// <8=> White
8483
8484#ifndef COMP_CONFIG_DEBUG_COLOR
8485#define COMP_CONFIG_DEBUG_COLOR 0
8486#endif
8487
8488// </e>
8489
8490// <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
8491//==========================================================
8492#ifndef GPIOTE_CONFIG_LOG_ENABLED
8493#define GPIOTE_CONFIG_LOG_ENABLED 0
8494#endif
8495// <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
8496
8497// <0=> Off
8498// <1=> Error
8499// <2=> Warning
8500// <3=> Info
8501// <4=> Debug
8502
8503#ifndef GPIOTE_CONFIG_LOG_LEVEL
8504#define GPIOTE_CONFIG_LOG_LEVEL 3
8505#endif
8506
8507// <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
8508
8509// <0=> Default
8510// <1=> Black
8511// <2=> Red
8512// <3=> Green
8513// <4=> Yellow
8514// <5=> Blue
8515// <6=> Magenta
8516// <7=> Cyan
8517// <8=> White
8518
8519#ifndef GPIOTE_CONFIG_INFO_COLOR
8520#define GPIOTE_CONFIG_INFO_COLOR 0
8521#endif
8522
8523// <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8524
8525// <0=> Default
8526// <1=> Black
8527// <2=> Red
8528// <3=> Green
8529// <4=> Yellow
8530// <5=> Blue
8531// <6=> Magenta
8532// <7=> Cyan
8533// <8=> White
8534
8535#ifndef GPIOTE_CONFIG_DEBUG_COLOR
8536#define GPIOTE_CONFIG_DEBUG_COLOR 0
8537#endif
8538
8539// </e>
8540
8541// <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
8542//==========================================================
8543#ifndef LPCOMP_CONFIG_LOG_ENABLED
8544#define LPCOMP_CONFIG_LOG_ENABLED 0
8545#endif
8546// <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
8547
8548// <0=> Off
8549// <1=> Error
8550// <2=> Warning
8551// <3=> Info
8552// <4=> Debug
8553
8554#ifndef LPCOMP_CONFIG_LOG_LEVEL
8555#define LPCOMP_CONFIG_LOG_LEVEL 3
8556#endif
8557
8558// <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
8559
8560// <0=> Default
8561// <1=> Black
8562// <2=> Red
8563// <3=> Green
8564// <4=> Yellow
8565// <5=> Blue
8566// <6=> Magenta
8567// <7=> Cyan
8568// <8=> White
8569
8570#ifndef LPCOMP_CONFIG_INFO_COLOR
8571#define LPCOMP_CONFIG_INFO_COLOR 0
8572#endif
8573
8574// <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8575
8576// <0=> Default
8577// <1=> Black
8578// <2=> Red
8579// <3=> Green
8580// <4=> Yellow
8581// <5=> Blue
8582// <6=> Magenta
8583// <7=> Cyan
8584// <8=> White
8585
8586#ifndef LPCOMP_CONFIG_DEBUG_COLOR
8587#define LPCOMP_CONFIG_DEBUG_COLOR 0
8588#endif
8589
8590// </e>
8591
8592// <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
8593//==========================================================
8594#ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
8595#define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
8596#endif
8597// <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
8598
8599// <0=> Off
8600// <1=> Error
8601// <2=> Warning
8602// <3=> Info
8603// <4=> Debug
8604
8605#ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
8606#define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
8607#endif
8608
8609// <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
8610
8611// <0=> Default
8612// <1=> Black
8613// <2=> Red
8614// <3=> Green
8615// <4=> Yellow
8616// <5=> Blue
8617// <6=> Magenta
8618// <7=> Cyan
8619// <8=> White
8620
8621#ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
8622#define MAX3421E_HOST_CONFIG_INFO_COLOR 0
8623#endif
8624
8625// <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8626
8627// <0=> Default
8628// <1=> Black
8629// <2=> Red
8630// <3=> Green
8631// <4=> Yellow
8632// <5=> Blue
8633// <6=> Magenta
8634// <7=> Cyan
8635// <8=> White
8636
8637#ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
8638#define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
8639#endif
8640
8641// </e>
8642
8643// <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
8644//==========================================================
8645#ifndef NRFX_USBD_CONFIG_LOG_ENABLED
8646#define NRFX_USBD_CONFIG_LOG_ENABLED 0
8647#endif
8648// <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
8649
8650// <0=> Off
8651// <1=> Error
8652// <2=> Warning
8653// <3=> Info
8654// <4=> Debug
8655
8656#ifndef NRFX_USBD_CONFIG_LOG_LEVEL
8657#define NRFX_USBD_CONFIG_LOG_LEVEL 3
8658#endif
8659
8660// <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
8661
8662// <0=> Default
8663// <1=> Black
8664// <2=> Red
8665// <3=> Green
8666// <4=> Yellow
8667// <5=> Blue
8668// <6=> Magenta
8669// <7=> Cyan
8670// <8=> White
8671
8672#ifndef NRFX_USBD_CONFIG_INFO_COLOR
8673#define NRFX_USBD_CONFIG_INFO_COLOR 0
8674#endif
8675
8676// <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8677
8678// <0=> Default
8679// <1=> Black
8680// <2=> Red
8681// <3=> Green
8682// <4=> Yellow
8683// <5=> Blue
8684// <6=> Magenta
8685// <7=> Cyan
8686// <8=> White
8687
8688#ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
8689#define NRFX_USBD_CONFIG_DEBUG_COLOR 0
8690#endif
8691
8692// </e>
8693
8694// <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
8695//==========================================================
8696#ifndef PDM_CONFIG_LOG_ENABLED
8697#define PDM_CONFIG_LOG_ENABLED 0
8698#endif
8699// <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
8700
8701// <0=> Off
8702// <1=> Error
8703// <2=> Warning
8704// <3=> Info
8705// <4=> Debug
8706
8707#ifndef PDM_CONFIG_LOG_LEVEL
8708#define PDM_CONFIG_LOG_LEVEL 3
8709#endif
8710
8711// <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
8712
8713// <0=> Default
8714// <1=> Black
8715// <2=> Red
8716// <3=> Green
8717// <4=> Yellow
8718// <5=> Blue
8719// <6=> Magenta
8720// <7=> Cyan
8721// <8=> White
8722
8723#ifndef PDM_CONFIG_INFO_COLOR
8724#define PDM_CONFIG_INFO_COLOR 0
8725#endif
8726
8727// <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8728
8729// <0=> Default
8730// <1=> Black
8731// <2=> Red
8732// <3=> Green
8733// <4=> Yellow
8734// <5=> Blue
8735// <6=> Magenta
8736// <7=> Cyan
8737// <8=> White
8738
8739#ifndef PDM_CONFIG_DEBUG_COLOR
8740#define PDM_CONFIG_DEBUG_COLOR 0
8741#endif
8742
8743// </e>
8744
8745// <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
8746//==========================================================
8747#ifndef PPI_CONFIG_LOG_ENABLED
8748#define PPI_CONFIG_LOG_ENABLED 0
8749#endif
8750// <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
8751
8752// <0=> Off
8753// <1=> Error
8754// <2=> Warning
8755// <3=> Info
8756// <4=> Debug
8757
8758#ifndef PPI_CONFIG_LOG_LEVEL
8759#define PPI_CONFIG_LOG_LEVEL 3
8760#endif
8761
8762// <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
8763
8764// <0=> Default
8765// <1=> Black
8766// <2=> Red
8767// <3=> Green
8768// <4=> Yellow
8769// <5=> Blue
8770// <6=> Magenta
8771// <7=> Cyan
8772// <8=> White
8773
8774#ifndef PPI_CONFIG_INFO_COLOR
8775#define PPI_CONFIG_INFO_COLOR 0
8776#endif
8777
8778// <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8779
8780// <0=> Default
8781// <1=> Black
8782// <2=> Red
8783// <3=> Green
8784// <4=> Yellow
8785// <5=> Blue
8786// <6=> Magenta
8787// <7=> Cyan
8788// <8=> White
8789
8790#ifndef PPI_CONFIG_DEBUG_COLOR
8791#define PPI_CONFIG_DEBUG_COLOR 0
8792#endif
8793
8794// </e>
8795
8796// <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
8797//==========================================================
8798#ifndef PWM_CONFIG_LOG_ENABLED
8799#define PWM_CONFIG_LOG_ENABLED 0
8800#endif
8801// <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
8802
8803// <0=> Off
8804// <1=> Error
8805// <2=> Warning
8806// <3=> Info
8807// <4=> Debug
8808
8809#ifndef PWM_CONFIG_LOG_LEVEL
8810#define PWM_CONFIG_LOG_LEVEL 3
8811#endif
8812
8813// <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
8814
8815// <0=> Default
8816// <1=> Black
8817// <2=> Red
8818// <3=> Green
8819// <4=> Yellow
8820// <5=> Blue
8821// <6=> Magenta
8822// <7=> Cyan
8823// <8=> White
8824
8825#ifndef PWM_CONFIG_INFO_COLOR
8826#define PWM_CONFIG_INFO_COLOR 0
8827#endif
8828
8829// <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8830
8831// <0=> Default
8832// <1=> Black
8833// <2=> Red
8834// <3=> Green
8835// <4=> Yellow
8836// <5=> Blue
8837// <6=> Magenta
8838// <7=> Cyan
8839// <8=> White
8840
8841#ifndef PWM_CONFIG_DEBUG_COLOR
8842#define PWM_CONFIG_DEBUG_COLOR 0
8843#endif
8844
8845// </e>
8846
8847// <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
8848//==========================================================
8849#ifndef QDEC_CONFIG_LOG_ENABLED
8850#define QDEC_CONFIG_LOG_ENABLED 0
8851#endif
8852// <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
8853
8854// <0=> Off
8855// <1=> Error
8856// <2=> Warning
8857// <3=> Info
8858// <4=> Debug
8859
8860#ifndef QDEC_CONFIG_LOG_LEVEL
8861#define QDEC_CONFIG_LOG_LEVEL 3
8862#endif
8863
8864// <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
8865
8866// <0=> Default
8867// <1=> Black
8868// <2=> Red
8869// <3=> Green
8870// <4=> Yellow
8871// <5=> Blue
8872// <6=> Magenta
8873// <7=> Cyan
8874// <8=> White
8875
8876#ifndef QDEC_CONFIG_INFO_COLOR
8877#define QDEC_CONFIG_INFO_COLOR 0
8878#endif
8879
8880// <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8881
8882// <0=> Default
8883// <1=> Black
8884// <2=> Red
8885// <3=> Green
8886// <4=> Yellow
8887// <5=> Blue
8888// <6=> Magenta
8889// <7=> Cyan
8890// <8=> White
8891
8892#ifndef QDEC_CONFIG_DEBUG_COLOR
8893#define QDEC_CONFIG_DEBUG_COLOR 0
8894#endif
8895
8896// </e>
8897
8898// <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
8899//==========================================================
8900#ifndef RNG_CONFIG_LOG_ENABLED
8901#define RNG_CONFIG_LOG_ENABLED 0
8902#endif
8903// <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
8904
8905// <0=> Off
8906// <1=> Error
8907// <2=> Warning
8908// <3=> Info
8909// <4=> Debug
8910
8911#ifndef RNG_CONFIG_LOG_LEVEL
8912#define RNG_CONFIG_LOG_LEVEL 3
8913#endif
8914
8915// <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
8916
8917// <0=> Default
8918// <1=> Black
8919// <2=> Red
8920// <3=> Green
8921// <4=> Yellow
8922// <5=> Blue
8923// <6=> Magenta
8924// <7=> Cyan
8925// <8=> White
8926
8927#ifndef RNG_CONFIG_INFO_COLOR
8928#define RNG_CONFIG_INFO_COLOR 0
8929#endif
8930
8931// <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8932
8933// <0=> Default
8934// <1=> Black
8935// <2=> Red
8936// <3=> Green
8937// <4=> Yellow
8938// <5=> Blue
8939// <6=> Magenta
8940// <7=> Cyan
8941// <8=> White
8942
8943#ifndef RNG_CONFIG_DEBUG_COLOR
8944#define RNG_CONFIG_DEBUG_COLOR 0
8945#endif
8946
8947// <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
8948
8949
8950#ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
8951#define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
8952#endif
8953
8954// </e>
8955
8956// <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
8957//==========================================================
8958#ifndef RTC_CONFIG_LOG_ENABLED
8959#define RTC_CONFIG_LOG_ENABLED 0
8960#endif
8961// <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
8962
8963// <0=> Off
8964// <1=> Error
8965// <2=> Warning
8966// <3=> Info
8967// <4=> Debug
8968
8969#ifndef RTC_CONFIG_LOG_LEVEL
8970#define RTC_CONFIG_LOG_LEVEL 3
8971#endif
8972
8973// <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
8974
8975// <0=> Default
8976// <1=> Black
8977// <2=> Red
8978// <3=> Green
8979// <4=> Yellow
8980// <5=> Blue
8981// <6=> Magenta
8982// <7=> Cyan
8983// <8=> White
8984
8985#ifndef RTC_CONFIG_INFO_COLOR
8986#define RTC_CONFIG_INFO_COLOR 0
8987#endif
8988
8989// <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
8990
8991// <0=> Default
8992// <1=> Black
8993// <2=> Red
8994// <3=> Green
8995// <4=> Yellow
8996// <5=> Blue
8997// <6=> Magenta
8998// <7=> Cyan
8999// <8=> White
9000
9001#ifndef RTC_CONFIG_DEBUG_COLOR
9002#define RTC_CONFIG_DEBUG_COLOR 0
9003#endif
9004
9005// </e>
9006
9007// <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
9008//==========================================================
9009#ifndef SAADC_CONFIG_LOG_ENABLED
9010#define SAADC_CONFIG_LOG_ENABLED 0
9011#endif
9012// <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
9013
9014// <0=> Off
9015// <1=> Error
9016// <2=> Warning
9017// <3=> Info
9018// <4=> Debug
9019
9020#ifndef SAADC_CONFIG_LOG_LEVEL
9021#define SAADC_CONFIG_LOG_LEVEL 3
9022#endif
9023
9024// <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
9025
9026// <0=> Default
9027// <1=> Black
9028// <2=> Red
9029// <3=> Green
9030// <4=> Yellow
9031// <5=> Blue
9032// <6=> Magenta
9033// <7=> Cyan
9034// <8=> White
9035
9036#ifndef SAADC_CONFIG_INFO_COLOR
9037#define SAADC_CONFIG_INFO_COLOR 0
9038#endif
9039
9040// <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9041
9042// <0=> Default
9043// <1=> Black
9044// <2=> Red
9045// <3=> Green
9046// <4=> Yellow
9047// <5=> Blue
9048// <6=> Magenta
9049// <7=> Cyan
9050// <8=> White
9051
9052#ifndef SAADC_CONFIG_DEBUG_COLOR
9053#define SAADC_CONFIG_DEBUG_COLOR 0
9054#endif
9055
9056// </e>
9057
9058// <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
9059//==========================================================
9060#ifndef SPIS_CONFIG_LOG_ENABLED
9061#define SPIS_CONFIG_LOG_ENABLED 0
9062#endif
9063// <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
9064
9065// <0=> Off
9066// <1=> Error
9067// <2=> Warning
9068// <3=> Info
9069// <4=> Debug
9070
9071#ifndef SPIS_CONFIG_LOG_LEVEL
9072#define SPIS_CONFIG_LOG_LEVEL 3
9073#endif
9074
9075// <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
9076
9077// <0=> Default
9078// <1=> Black
9079// <2=> Red
9080// <3=> Green
9081// <4=> Yellow
9082// <5=> Blue
9083// <6=> Magenta
9084// <7=> Cyan
9085// <8=> White
9086
9087#ifndef SPIS_CONFIG_INFO_COLOR
9088#define SPIS_CONFIG_INFO_COLOR 0
9089#endif
9090
9091// <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9092
9093// <0=> Default
9094// <1=> Black
9095// <2=> Red
9096// <3=> Green
9097// <4=> Yellow
9098// <5=> Blue
9099// <6=> Magenta
9100// <7=> Cyan
9101// <8=> White
9102
9103#ifndef SPIS_CONFIG_DEBUG_COLOR
9104#define SPIS_CONFIG_DEBUG_COLOR 0
9105#endif
9106
9107// </e>
9108
9109// <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
9110//==========================================================
9111#ifndef SPI_CONFIG_LOG_ENABLED
9112#define SPI_CONFIG_LOG_ENABLED 0
9113#endif
9114// <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
9115
9116// <0=> Off
9117// <1=> Error
9118// <2=> Warning
9119// <3=> Info
9120// <4=> Debug
9121
9122#ifndef SPI_CONFIG_LOG_LEVEL
9123#define SPI_CONFIG_LOG_LEVEL 3
9124#endif
9125
9126// <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
9127
9128// <0=> Default
9129// <1=> Black
9130// <2=> Red
9131// <3=> Green
9132// <4=> Yellow
9133// <5=> Blue
9134// <6=> Magenta
9135// <7=> Cyan
9136// <8=> White
9137
9138#ifndef SPI_CONFIG_INFO_COLOR
9139#define SPI_CONFIG_INFO_COLOR 0
9140#endif
9141
9142// <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9143
9144// <0=> Default
9145// <1=> Black
9146// <2=> Red
9147// <3=> Green
9148// <4=> Yellow
9149// <5=> Blue
9150// <6=> Magenta
9151// <7=> Cyan
9152// <8=> White
9153
9154#ifndef SPI_CONFIG_DEBUG_COLOR
9155#define SPI_CONFIG_DEBUG_COLOR 0
9156#endif
9157
9158// </e>
9159
9160// <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
9161//==========================================================
9162#ifndef TIMER_CONFIG_LOG_ENABLED
9163#define TIMER_CONFIG_LOG_ENABLED 0
9164#endif
9165// <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
9166
9167// <0=> Off
9168// <1=> Error
9169// <2=> Warning
9170// <3=> Info
9171// <4=> Debug
9172
9173#ifndef TIMER_CONFIG_LOG_LEVEL
9174#define TIMER_CONFIG_LOG_LEVEL 3
9175#endif
9176
9177// <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
9178
9179// <0=> Default
9180// <1=> Black
9181// <2=> Red
9182// <3=> Green
9183// <4=> Yellow
9184// <5=> Blue
9185// <6=> Magenta
9186// <7=> Cyan
9187// <8=> White
9188
9189#ifndef TIMER_CONFIG_INFO_COLOR
9190#define TIMER_CONFIG_INFO_COLOR 0
9191#endif
9192
9193// <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9194
9195// <0=> Default
9196// <1=> Black
9197// <2=> Red
9198// <3=> Green
9199// <4=> Yellow
9200// <5=> Blue
9201// <6=> Magenta
9202// <7=> Cyan
9203// <8=> White
9204
9205#ifndef TIMER_CONFIG_DEBUG_COLOR
9206#define TIMER_CONFIG_DEBUG_COLOR 0
9207#endif
9208
9209// </e>
9210
9211// <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
9212//==========================================================
9213#ifndef TWIS_CONFIG_LOG_ENABLED
9214#define TWIS_CONFIG_LOG_ENABLED 0
9215#endif
9216// <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
9217
9218// <0=> Off
9219// <1=> Error
9220// <2=> Warning
9221// <3=> Info
9222// <4=> Debug
9223
9224#ifndef TWIS_CONFIG_LOG_LEVEL
9225#define TWIS_CONFIG_LOG_LEVEL 3
9226#endif
9227
9228// <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
9229
9230// <0=> Default
9231// <1=> Black
9232// <2=> Red
9233// <3=> Green
9234// <4=> Yellow
9235// <5=> Blue
9236// <6=> Magenta
9237// <7=> Cyan
9238// <8=> White
9239
9240#ifndef TWIS_CONFIG_INFO_COLOR
9241#define TWIS_CONFIG_INFO_COLOR 0
9242#endif
9243
9244// <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9245
9246// <0=> Default
9247// <1=> Black
9248// <2=> Red
9249// <3=> Green
9250// <4=> Yellow
9251// <5=> Blue
9252// <6=> Magenta
9253// <7=> Cyan
9254// <8=> White
9255
9256#ifndef TWIS_CONFIG_DEBUG_COLOR
9257#define TWIS_CONFIG_DEBUG_COLOR 0
9258#endif
9259
9260// </e>
9261
9262// <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
9263//==========================================================
9264#ifndef TWI_CONFIG_LOG_ENABLED
9265#define TWI_CONFIG_LOG_ENABLED 0
9266#endif
9267// <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
9268
9269// <0=> Off
9270// <1=> Error
9271// <2=> Warning
9272// <3=> Info
9273// <4=> Debug
9274
9275#ifndef TWI_CONFIG_LOG_LEVEL
9276#define TWI_CONFIG_LOG_LEVEL 3
9277#endif
9278
9279// <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
9280
9281// <0=> Default
9282// <1=> Black
9283// <2=> Red
9284// <3=> Green
9285// <4=> Yellow
9286// <5=> Blue
9287// <6=> Magenta
9288// <7=> Cyan
9289// <8=> White
9290
9291#ifndef TWI_CONFIG_INFO_COLOR
9292#define TWI_CONFIG_INFO_COLOR 0
9293#endif
9294
9295// <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9296
9297// <0=> Default
9298// <1=> Black
9299// <2=> Red
9300// <3=> Green
9301// <4=> Yellow
9302// <5=> Blue
9303// <6=> Magenta
9304// <7=> Cyan
9305// <8=> White
9306
9307#ifndef TWI_CONFIG_DEBUG_COLOR
9308#define TWI_CONFIG_DEBUG_COLOR 0
9309#endif
9310
9311// </e>
9312
9313// <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
9314//==========================================================
9315#ifndef UART_CONFIG_LOG_ENABLED
9316#define UART_CONFIG_LOG_ENABLED 0
9317#endif
9318// <o> UART_CONFIG_LOG_LEVEL - Default Severity level
9319
9320// <0=> Off
9321// <1=> Error
9322// <2=> Warning
9323// <3=> Info
9324// <4=> Debug
9325
9326#ifndef UART_CONFIG_LOG_LEVEL
9327#define UART_CONFIG_LOG_LEVEL 3
9328#endif
9329
9330// <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
9331
9332// <0=> Default
9333// <1=> Black
9334// <2=> Red
9335// <3=> Green
9336// <4=> Yellow
9337// <5=> Blue
9338// <6=> Magenta
9339// <7=> Cyan
9340// <8=> White
9341
9342#ifndef UART_CONFIG_INFO_COLOR
9343#define UART_CONFIG_INFO_COLOR 0
9344#endif
9345
9346// <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9347
9348// <0=> Default
9349// <1=> Black
9350// <2=> Red
9351// <3=> Green
9352// <4=> Yellow
9353// <5=> Blue
9354// <6=> Magenta
9355// <7=> Cyan
9356// <8=> White
9357
9358#ifndef UART_CONFIG_DEBUG_COLOR
9359#define UART_CONFIG_DEBUG_COLOR 0
9360#endif
9361
9362// </e>
9363
9364// <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
9365//==========================================================
9366#ifndef USBD_CONFIG_LOG_ENABLED
9367#define USBD_CONFIG_LOG_ENABLED 0
9368#endif
9369// <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
9370
9371// <0=> Off
9372// <1=> Error
9373// <2=> Warning
9374// <3=> Info
9375// <4=> Debug
9376
9377#ifndef USBD_CONFIG_LOG_LEVEL
9378#define USBD_CONFIG_LOG_LEVEL 3
9379#endif
9380
9381// <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
9382
9383// <0=> Default
9384// <1=> Black
9385// <2=> Red
9386// <3=> Green
9387// <4=> Yellow
9388// <5=> Blue
9389// <6=> Magenta
9390// <7=> Cyan
9391// <8=> White
9392
9393#ifndef USBD_CONFIG_INFO_COLOR
9394#define USBD_CONFIG_INFO_COLOR 0
9395#endif
9396
9397// <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9398
9399// <0=> Default
9400// <1=> Black
9401// <2=> Red
9402// <3=> Green
9403// <4=> Yellow
9404// <5=> Blue
9405// <6=> Magenta
9406// <7=> Cyan
9407// <8=> White
9408
9409#ifndef USBD_CONFIG_DEBUG_COLOR
9410#define USBD_CONFIG_DEBUG_COLOR 0
9411#endif
9412
9413// </e>
9414
9415// <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
9416//==========================================================
9417#ifndef WDT_CONFIG_LOG_ENABLED
9418#define WDT_CONFIG_LOG_ENABLED 0
9419#endif
9420// <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
9421
9422// <0=> Off
9423// <1=> Error
9424// <2=> Warning
9425// <3=> Info
9426// <4=> Debug
9427
9428#ifndef WDT_CONFIG_LOG_LEVEL
9429#define WDT_CONFIG_LOG_LEVEL 3
9430#endif
9431
9432// <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
9433
9434// <0=> Default
9435// <1=> Black
9436// <2=> Red
9437// <3=> Green
9438// <4=> Yellow
9439// <5=> Blue
9440// <6=> Magenta
9441// <7=> Cyan
9442// <8=> White
9443
9444#ifndef WDT_CONFIG_INFO_COLOR
9445#define WDT_CONFIG_INFO_COLOR 0
9446#endif
9447
9448// <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9449
9450// <0=> Default
9451// <1=> Black
9452// <2=> Red
9453// <3=> Green
9454// <4=> Yellow
9455// <5=> Blue
9456// <6=> Magenta
9457// <7=> Cyan
9458// <8=> White
9459
9460#ifndef WDT_CONFIG_DEBUG_COLOR
9461#define WDT_CONFIG_DEBUG_COLOR 0
9462#endif
9463
9464// </e>
9465
9466// </h>
9467//==========================================================
9468
9469// <h> nrf_log in nRF_Libraries
9470
9471//==========================================================
9472// <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
9473//==========================================================
9474#ifndef APP_BUTTON_CONFIG_LOG_ENABLED
9475#define APP_BUTTON_CONFIG_LOG_ENABLED 0
9476#endif
9477// <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
9478
9479// <0=> Off
9480// <1=> Error
9481// <2=> Warning
9482// <3=> Info
9483// <4=> Debug
9484
9485#ifndef APP_BUTTON_CONFIG_LOG_LEVEL
9486#define APP_BUTTON_CONFIG_LOG_LEVEL 3
9487#endif
9488
9489// <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
9490
9491
9492// <i> If module generates a lot of logs, initial log level can
9493// <i> be decreased to prevent flooding. Severity level can be
9494// <i> increased on instance basis.
9495// <0=> Off
9496// <1=> Error
9497// <2=> Warning
9498// <3=> Info
9499// <4=> Debug
9500
9501#ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
9502#define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
9503#endif
9504
9505// <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
9506
9507// <0=> Default
9508// <1=> Black
9509// <2=> Red
9510// <3=> Green
9511// <4=> Yellow
9512// <5=> Blue
9513// <6=> Magenta
9514// <7=> Cyan
9515// <8=> White
9516
9517#ifndef APP_BUTTON_CONFIG_INFO_COLOR
9518#define APP_BUTTON_CONFIG_INFO_COLOR 0
9519#endif
9520
9521// <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9522
9523// <0=> Default
9524// <1=> Black
9525// <2=> Red
9526// <3=> Green
9527// <4=> Yellow
9528// <5=> Blue
9529// <6=> Magenta
9530// <7=> Cyan
9531// <8=> White
9532
9533#ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
9534#define APP_BUTTON_CONFIG_DEBUG_COLOR 0
9535#endif
9536
9537// </e>
9538
9539// <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
9540//==========================================================
9541#ifndef APP_TIMER_CONFIG_LOG_ENABLED
9542#define APP_TIMER_CONFIG_LOG_ENABLED 0
9543#endif
9544// <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
9545
9546// <0=> Off
9547// <1=> Error
9548// <2=> Warning
9549// <3=> Info
9550// <4=> Debug
9551
9552#ifndef APP_TIMER_CONFIG_LOG_LEVEL
9553#define APP_TIMER_CONFIG_LOG_LEVEL 3
9554#endif
9555
9556// <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
9557
9558
9559// <i> If module generates a lot of logs, initial log level can
9560// <i> be decreased to prevent flooding. Severity level can be
9561// <i> increased on instance basis.
9562// <0=> Off
9563// <1=> Error
9564// <2=> Warning
9565// <3=> Info
9566// <4=> Debug
9567
9568#ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
9569#define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
9570#endif
9571
9572// <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
9573
9574// <0=> Default
9575// <1=> Black
9576// <2=> Red
9577// <3=> Green
9578// <4=> Yellow
9579// <5=> Blue
9580// <6=> Magenta
9581// <7=> Cyan
9582// <8=> White
9583
9584#ifndef APP_TIMER_CONFIG_INFO_COLOR
9585#define APP_TIMER_CONFIG_INFO_COLOR 0
9586#endif
9587
9588// <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9589
9590// <0=> Default
9591// <1=> Black
9592// <2=> Red
9593// <3=> Green
9594// <4=> Yellow
9595// <5=> Blue
9596// <6=> Magenta
9597// <7=> Cyan
9598// <8=> White
9599
9600#ifndef APP_TIMER_CONFIG_DEBUG_COLOR
9601#define APP_TIMER_CONFIG_DEBUG_COLOR 0
9602#endif
9603
9604// </e>
9605
9606// <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
9607//==========================================================
9608#ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
9609#define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
9610#endif
9611// <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
9612
9613// <0=> Off
9614// <1=> Error
9615// <2=> Warning
9616// <3=> Info
9617// <4=> Debug
9618
9619#ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
9620#define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
9621#endif
9622
9623// <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
9624
9625// <0=> Default
9626// <1=> Black
9627// <2=> Red
9628// <3=> Green
9629// <4=> Yellow
9630// <5=> Blue
9631// <6=> Magenta
9632// <7=> Cyan
9633// <8=> White
9634
9635#ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
9636#define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
9637#endif
9638
9639// <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9640
9641// <0=> Default
9642// <1=> Black
9643// <2=> Red
9644// <3=> Green
9645// <4=> Yellow
9646// <5=> Blue
9647// <6=> Magenta
9648// <7=> Cyan
9649// <8=> White
9650
9651#ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
9652#define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
9653#endif
9654
9655// </e>
9656
9657// <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
9658//==========================================================
9659#ifndef APP_USBD_CONFIG_LOG_ENABLED
9660#define APP_USBD_CONFIG_LOG_ENABLED 0
9661#endif
9662// <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
9663
9664// <0=> Off
9665// <1=> Error
9666// <2=> Warning
9667// <3=> Info
9668// <4=> Debug
9669
9670#ifndef APP_USBD_CONFIG_LOG_LEVEL
9671#define APP_USBD_CONFIG_LOG_LEVEL 3
9672#endif
9673
9674// <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
9675
9676// <0=> Default
9677// <1=> Black
9678// <2=> Red
9679// <3=> Green
9680// <4=> Yellow
9681// <5=> Blue
9682// <6=> Magenta
9683// <7=> Cyan
9684// <8=> White
9685
9686#ifndef APP_USBD_CONFIG_INFO_COLOR
9687#define APP_USBD_CONFIG_INFO_COLOR 0
9688#endif
9689
9690// <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9691
9692// <0=> Default
9693// <1=> Black
9694// <2=> Red
9695// <3=> Green
9696// <4=> Yellow
9697// <5=> Blue
9698// <6=> Magenta
9699// <7=> Cyan
9700// <8=> White
9701
9702#ifndef APP_USBD_CONFIG_DEBUG_COLOR
9703#define APP_USBD_CONFIG_DEBUG_COLOR 0
9704#endif
9705
9706// </e>
9707
9708// <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
9709//==========================================================
9710#ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
9711#define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
9712#endif
9713// <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
9714
9715// <0=> Off
9716// <1=> Error
9717// <2=> Warning
9718// <3=> Info
9719// <4=> Debug
9720
9721#ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
9722#define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
9723#endif
9724
9725// <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
9726
9727// <0=> Default
9728// <1=> Black
9729// <2=> Red
9730// <3=> Green
9731// <4=> Yellow
9732// <5=> Blue
9733// <6=> Magenta
9734// <7=> Cyan
9735// <8=> White
9736
9737#ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
9738#define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
9739#endif
9740
9741// <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9742
9743// <0=> Default
9744// <1=> Black
9745// <2=> Red
9746// <3=> Green
9747// <4=> Yellow
9748// <5=> Blue
9749// <6=> Magenta
9750// <7=> Cyan
9751// <8=> White
9752
9753#ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
9754#define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
9755#endif
9756
9757// </e>
9758
9759// <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
9760//==========================================================
9761#ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
9762#define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
9763#endif
9764// <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
9765
9766// <0=> Off
9767// <1=> Error
9768// <2=> Warning
9769// <3=> Info
9770// <4=> Debug
9771
9772#ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
9773#define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
9774#endif
9775
9776// <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
9777
9778// <0=> Default
9779// <1=> Black
9780// <2=> Red
9781// <3=> Green
9782// <4=> Yellow
9783// <5=> Blue
9784// <6=> Magenta
9785// <7=> Cyan
9786// <8=> White
9787
9788#ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
9789#define APP_USBD_MSC_CONFIG_INFO_COLOR 0
9790#endif
9791
9792// <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9793
9794// <0=> Default
9795// <1=> Black
9796// <2=> Red
9797// <3=> Green
9798// <4=> Yellow
9799// <5=> Blue
9800// <6=> Magenta
9801// <7=> Cyan
9802// <8=> White
9803
9804#ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
9805#define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
9806#endif
9807
9808// </e>
9809
9810// <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
9811//==========================================================
9812#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
9813#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
9814#endif
9815// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
9816
9817// <0=> Off
9818// <1=> Error
9819// <2=> Warning
9820// <3=> Info
9821// <4=> Debug
9822
9823#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
9824#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
9825#endif
9826
9827// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
9828
9829// <0=> Default
9830// <1=> Black
9831// <2=> Red
9832// <3=> Green
9833// <4=> Yellow
9834// <5=> Blue
9835// <6=> Magenta
9836// <7=> Cyan
9837// <8=> White
9838
9839#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
9840#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
9841#endif
9842
9843// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9844
9845// <0=> Default
9846// <1=> Black
9847// <2=> Red
9848// <3=> Green
9849// <4=> Yellow
9850// <5=> Blue
9851// <6=> Magenta
9852// <7=> Cyan
9853// <8=> White
9854
9855#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
9856#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
9857#endif
9858
9859// </e>
9860
9861// <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
9862//==========================================================
9863#ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
9864#define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
9865#endif
9866// <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
9867
9868// <0=> Off
9869// <1=> Error
9870// <2=> Warning
9871// <3=> Info
9872// <4=> Debug
9873
9874#ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
9875#define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
9876#endif
9877
9878// <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
9879
9880// <0=> Off
9881// <1=> Error
9882// <2=> Warning
9883// <3=> Info
9884// <4=> Debug
9885
9886#ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
9887#define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
9888#endif
9889
9890// <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
9891
9892// <0=> Default
9893// <1=> Black
9894// <2=> Red
9895// <3=> Green
9896// <4=> Yellow
9897// <5=> Blue
9898// <6=> Magenta
9899// <7=> Cyan
9900// <8=> White
9901
9902#ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
9903#define NRF_ATFIFO_CONFIG_INFO_COLOR 0
9904#endif
9905
9906// <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9907
9908// <0=> Default
9909// <1=> Black
9910// <2=> Red
9911// <3=> Green
9912// <4=> Yellow
9913// <5=> Blue
9914// <6=> Magenta
9915// <7=> Cyan
9916// <8=> White
9917
9918#ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
9919#define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
9920#endif
9921
9922// </e>
9923
9924// <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
9925//==========================================================
9926#ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
9927#define NRF_BALLOC_CONFIG_LOG_ENABLED 0
9928#endif
9929// <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
9930
9931// <0=> Off
9932// <1=> Error
9933// <2=> Warning
9934// <3=> Info
9935// <4=> Debug
9936
9937#ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
9938#define NRF_BALLOC_CONFIG_LOG_LEVEL 3
9939#endif
9940
9941// <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
9942
9943
9944// <i> If module generates a lot of logs, initial log level can
9945// <i> be decreased to prevent flooding. Severity level can be
9946// <i> increased on instance basis.
9947// <0=> Off
9948// <1=> Error
9949// <2=> Warning
9950// <3=> Info
9951// <4=> Debug
9952
9953#ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
9954#define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
9955#endif
9956
9957// <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
9958
9959// <0=> Default
9960// <1=> Black
9961// <2=> Red
9962// <3=> Green
9963// <4=> Yellow
9964// <5=> Blue
9965// <6=> Magenta
9966// <7=> Cyan
9967// <8=> White
9968
9969#ifndef NRF_BALLOC_CONFIG_INFO_COLOR
9970#define NRF_BALLOC_CONFIG_INFO_COLOR 0
9971#endif
9972
9973// <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
9974
9975// <0=> Default
9976// <1=> Black
9977// <2=> Red
9978// <3=> Green
9979// <4=> Yellow
9980// <5=> Blue
9981// <6=> Magenta
9982// <7=> Cyan
9983// <8=> White
9984
9985#ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
9986#define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
9987#endif
9988
9989// </e>
9990
9991// <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
9992//==========================================================
9993#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
9994#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
9995#endif
9996// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
9997
9998// <0=> Off
9999// <1=> Error
10000// <2=> Warning
10001// <3=> Info
10002// <4=> Debug
10003
10004#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
10005#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
10006#endif
10007
10008// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
10009
10010// <0=> Off
10011// <1=> Error
10012// <2=> Warning
10013// <3=> Info
10014// <4=> Debug
10015
10016#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
10017#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
10018#endif
10019
10020// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
10021
10022// <0=> Default
10023// <1=> Black
10024// <2=> Red
10025// <3=> Green
10026// <4=> Yellow
10027// <5=> Blue
10028// <6=> Magenta
10029// <7=> Cyan
10030// <8=> White
10031
10032#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
10033#define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
10034#endif
10035
10036// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10037
10038// <0=> Default
10039// <1=> Black
10040// <2=> Red
10041// <3=> Green
10042// <4=> Yellow
10043// <5=> Blue
10044// <6=> Magenta
10045// <7=> Cyan
10046// <8=> White
10047
10048#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
10049#define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
10050#endif
10051
10052// </e>
10053
10054// <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
10055//==========================================================
10056#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
10057#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
10058#endif
10059// <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
10060
10061// <0=> Off
10062// <1=> Error
10063// <2=> Warning
10064// <3=> Info
10065// <4=> Debug
10066
10067#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
10068#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
10069#endif
10070
10071// <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
10072
10073// <0=> Off
10074// <1=> Error
10075// <2=> Warning
10076// <3=> Info
10077// <4=> Debug
10078
10079#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
10080#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
10081#endif
10082
10083// <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
10084
10085// <0=> Default
10086// <1=> Black
10087// <2=> Red
10088// <3=> Green
10089// <4=> Yellow
10090// <5=> Blue
10091// <6=> Magenta
10092// <7=> Cyan
10093// <8=> White
10094
10095#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
10096#define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
10097#endif
10098
10099// <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10100
10101// <0=> Default
10102// <1=> Black
10103// <2=> Red
10104// <3=> Green
10105// <4=> Yellow
10106// <5=> Blue
10107// <6=> Magenta
10108// <7=> Cyan
10109// <8=> White
10110
10111#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
10112#define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
10113#endif
10114
10115// </e>
10116
10117// <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
10118//==========================================================
10119#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
10120#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
10121#endif
10122// <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
10123
10124// <0=> Off
10125// <1=> Error
10126// <2=> Warning
10127// <3=> Info
10128// <4=> Debug
10129
10130#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
10131#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
10132#endif
10133
10134// <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
10135
10136// <0=> Off
10137// <1=> Error
10138// <2=> Warning
10139// <3=> Info
10140// <4=> Debug
10141
10142#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
10143#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
10144#endif
10145
10146// <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
10147
10148// <0=> Default
10149// <1=> Black
10150// <2=> Red
10151// <3=> Green
10152// <4=> Yellow
10153// <5=> Blue
10154// <6=> Magenta
10155// <7=> Cyan
10156// <8=> White
10157
10158#ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
10159#define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
10160#endif
10161
10162// <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10163
10164// <0=> Default
10165// <1=> Black
10166// <2=> Red
10167// <3=> Green
10168// <4=> Yellow
10169// <5=> Blue
10170// <6=> Magenta
10171// <7=> Cyan
10172// <8=> White
10173
10174#ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
10175#define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
10176#endif
10177
10178// </e>
10179
10180// <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
10181//==========================================================
10182#ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
10183#define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
10184#endif
10185// <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
10186
10187// <0=> Off
10188// <1=> Error
10189// <2=> Warning
10190// <3=> Info
10191// <4=> Debug
10192
10193#ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
10194#define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
10195#endif
10196
10197// <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
10198
10199// <0=> Default
10200// <1=> Black
10201// <2=> Red
10202// <3=> Green
10203// <4=> Yellow
10204// <5=> Blue
10205// <6=> Magenta
10206// <7=> Cyan
10207// <8=> White
10208
10209#ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
10210#define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
10211#endif
10212
10213// <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10214
10215// <0=> Default
10216// <1=> Black
10217// <2=> Red
10218// <3=> Green
10219// <4=> Yellow
10220// <5=> Blue
10221// <6=> Magenta
10222// <7=> Cyan
10223// <8=> White
10224
10225#ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
10226#define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
10227#endif
10228
10229// </e>
10230
10231// <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
10232//==========================================================
10233#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
10234#define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
10235#endif
10236// <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
10237
10238// <0=> Off
10239// <1=> Error
10240// <2=> Warning
10241// <3=> Info
10242// <4=> Debug
10243
10244#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
10245#define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
10246#endif
10247
10248// <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
10249
10250// <0=> Default
10251// <1=> Black
10252// <2=> Red
10253// <3=> Green
10254// <4=> Yellow
10255// <5=> Blue
10256// <6=> Magenta
10257// <7=> Cyan
10258// <8=> White
10259
10260#ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
10261#define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
10262#endif
10263
10264// <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10265
10266// <0=> Default
10267// <1=> Black
10268// <2=> Red
10269// <3=> Green
10270// <4=> Yellow
10271// <5=> Blue
10272// <6=> Magenta
10273// <7=> Cyan
10274// <8=> White
10275
10276#ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
10277#define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
10278#endif
10279
10280// </e>
10281
10282// <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
10283//==========================================================
10284#ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
10285#define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
10286#endif
10287// <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
10288
10289// <0=> Off
10290// <1=> Error
10291// <2=> Warning
10292// <3=> Info
10293// <4=> Debug
10294
10295#ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
10296#define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
10297#endif
10298
10299// <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
10300
10301// <0=> Default
10302// <1=> Black
10303// <2=> Red
10304// <3=> Green
10305// <4=> Yellow
10306// <5=> Blue
10307// <6=> Magenta
10308// <7=> Cyan
10309// <8=> White
10310
10311#ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
10312#define NRF_CLI_UART_CONFIG_INFO_COLOR 0
10313#endif
10314
10315// <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10316
10317// <0=> Default
10318// <1=> Black
10319// <2=> Red
10320// <3=> Green
10321// <4=> Yellow
10322// <5=> Blue
10323// <6=> Magenta
10324// <7=> Cyan
10325// <8=> White
10326
10327#ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
10328#define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
10329#endif
10330
10331// </e>
10332
10333// <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
10334//==========================================================
10335#ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
10336#define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
10337#endif
10338// <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
10339
10340// <0=> Off
10341// <1=> Error
10342// <2=> Warning
10343// <3=> Info
10344// <4=> Debug
10345
10346#ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
10347#define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
10348#endif
10349
10350// <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
10351
10352// <0=> Default
10353// <1=> Black
10354// <2=> Red
10355// <3=> Green
10356// <4=> Yellow
10357// <5=> Blue
10358// <6=> Magenta
10359// <7=> Cyan
10360// <8=> White
10361
10362#ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
10363#define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
10364#endif
10365
10366// <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10367
10368// <0=> Default
10369// <1=> Black
10370// <2=> Red
10371// <3=> Green
10372// <4=> Yellow
10373// <5=> Blue
10374// <6=> Magenta
10375// <7=> Cyan
10376// <8=> White
10377
10378#ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
10379#define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
10380#endif
10381
10382// </e>
10383
10384// <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
10385//==========================================================
10386#ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
10387#define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
10388#endif
10389// <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
10390
10391// <0=> Off
10392// <1=> Error
10393// <2=> Warning
10394// <3=> Info
10395// <4=> Debug
10396
10397#ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
10398#define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
10399#endif
10400
10401// <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
10402
10403// <0=> Default
10404// <1=> Black
10405// <2=> Red
10406// <3=> Green
10407// <4=> Yellow
10408// <5=> Blue
10409// <6=> Magenta
10410// <7=> Cyan
10411// <8=> White
10412
10413#ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
10414#define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
10415#endif
10416
10417// <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10418
10419// <0=> Default
10420// <1=> Black
10421// <2=> Red
10422// <3=> Green
10423// <4=> Yellow
10424// <5=> Blue
10425// <6=> Magenta
10426// <7=> Cyan
10427// <8=> White
10428
10429#ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
10430#define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
10431#endif
10432
10433// </e>
10434
10435// <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
10436//==========================================================
10437#ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
10438#define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
10439#endif
10440// <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
10441
10442// <0=> Off
10443// <1=> Error
10444// <2=> Warning
10445// <3=> Info
10446// <4=> Debug
10447
10448#ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
10449#define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
10450#endif
10451
10452// <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
10453
10454// <0=> Default
10455// <1=> Black
10456// <2=> Red
10457// <3=> Green
10458// <4=> Yellow
10459// <5=> Blue
10460// <6=> Magenta
10461// <7=> Cyan
10462// <8=> White
10463
10464#ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
10465#define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
10466#endif
10467
10468// <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10469
10470// <0=> Default
10471// <1=> Black
10472// <2=> Red
10473// <3=> Green
10474// <4=> Yellow
10475// <5=> Blue
10476// <6=> Magenta
10477// <7=> Cyan
10478// <8=> White
10479
10480#ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
10481#define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
10482#endif
10483
10484// </e>
10485
10486// <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
10487//==========================================================
10488#ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
10489#define NRF_QUEUE_CONFIG_LOG_ENABLED 0
10490#endif
10491// <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
10492
10493// <0=> Off
10494// <1=> Error
10495// <2=> Warning
10496// <3=> Info
10497// <4=> Debug
10498
10499#ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
10500#define NRF_QUEUE_CONFIG_LOG_LEVEL 3
10501#endif
10502
10503// <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
10504
10505// <0=> Off
10506// <1=> Error
10507// <2=> Warning
10508// <3=> Info
10509// <4=> Debug
10510
10511#ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
10512#define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
10513#endif
10514
10515// <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
10516
10517// <0=> Default
10518// <1=> Black
10519// <2=> Red
10520// <3=> Green
10521// <4=> Yellow
10522// <5=> Blue
10523// <6=> Magenta
10524// <7=> Cyan
10525// <8=> White
10526
10527#ifndef NRF_QUEUE_CONFIG_INFO_COLOR
10528#define NRF_QUEUE_CONFIG_INFO_COLOR 0
10529#endif
10530
10531// <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10532
10533// <0=> Default
10534// <1=> Black
10535// <2=> Red
10536// <3=> Green
10537// <4=> Yellow
10538// <5=> Blue
10539// <6=> Magenta
10540// <7=> Cyan
10541// <8=> White
10542
10543#ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
10544#define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
10545#endif
10546
10547// </e>
10548
10549// <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
10550//==========================================================
10551#ifndef NRF_SDH_ANT_LOG_ENABLED
10552#define NRF_SDH_ANT_LOG_ENABLED 0
10553#endif
10554// <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
10555
10556// <0=> Off
10557// <1=> Error
10558// <2=> Warning
10559// <3=> Info
10560// <4=> Debug
10561
10562#ifndef NRF_SDH_ANT_LOG_LEVEL
10563#define NRF_SDH_ANT_LOG_LEVEL 3
10564#endif
10565
10566// <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
10567
10568// <0=> Default
10569// <1=> Black
10570// <2=> Red
10571// <3=> Green
10572// <4=> Yellow
10573// <5=> Blue
10574// <6=> Magenta
10575// <7=> Cyan
10576// <8=> White
10577
10578#ifndef NRF_SDH_ANT_INFO_COLOR
10579#define NRF_SDH_ANT_INFO_COLOR 0
10580#endif
10581
10582// <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
10583
10584// <0=> Default
10585// <1=> Black
10586// <2=> Red
10587// <3=> Green
10588// <4=> Yellow
10589// <5=> Blue
10590// <6=> Magenta
10591// <7=> Cyan
10592// <8=> White
10593
10594#ifndef NRF_SDH_ANT_DEBUG_COLOR
10595#define NRF_SDH_ANT_DEBUG_COLOR 0
10596#endif
10597
10598// </e>
10599
10600// <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
10601//==========================================================
10602#ifndef NRF_SDH_BLE_LOG_ENABLED
10603#define NRF_SDH_BLE_LOG_ENABLED 1
10604#endif
10605// <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
10606
10607// <0=> Off
10608// <1=> Error
10609// <2=> Warning
10610// <3=> Info
10611// <4=> Debug
10612
10613#ifndef NRF_SDH_BLE_LOG_LEVEL
10614#define NRF_SDH_BLE_LOG_LEVEL 3
10615#endif
10616
10617// <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
10618
10619// <0=> Default
10620// <1=> Black
10621// <2=> Red
10622// <3=> Green
10623// <4=> Yellow
10624// <5=> Blue
10625// <6=> Magenta
10626// <7=> Cyan
10627// <8=> White
10628
10629#ifndef NRF_SDH_BLE_INFO_COLOR
10630#define NRF_SDH_BLE_INFO_COLOR 0
10631#endif
10632
10633// <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
10634
10635// <0=> Default
10636// <1=> Black
10637// <2=> Red
10638// <3=> Green
10639// <4=> Yellow
10640// <5=> Blue
10641// <6=> Magenta
10642// <7=> Cyan
10643// <8=> White
10644
10645#ifndef NRF_SDH_BLE_DEBUG_COLOR
10646#define NRF_SDH_BLE_DEBUG_COLOR 0
10647#endif
10648
10649// </e>
10650
10651// <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
10652//==========================================================
10653#ifndef NRF_SDH_LOG_ENABLED
10654#define NRF_SDH_LOG_ENABLED 1
10655#endif
10656// <o> NRF_SDH_LOG_LEVEL - Default Severity level
10657
10658// <0=> Off
10659// <1=> Error
10660// <2=> Warning
10661// <3=> Info
10662// <4=> Debug
10663
10664#ifndef NRF_SDH_LOG_LEVEL
10665#define NRF_SDH_LOG_LEVEL 3
10666#endif
10667
10668// <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
10669
10670// <0=> Default
10671// <1=> Black
10672// <2=> Red
10673// <3=> Green
10674// <4=> Yellow
10675// <5=> Blue
10676// <6=> Magenta
10677// <7=> Cyan
10678// <8=> White
10679
10680#ifndef NRF_SDH_INFO_COLOR
10681#define NRF_SDH_INFO_COLOR 0
10682#endif
10683
10684// <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
10685
10686// <0=> Default
10687// <1=> Black
10688// <2=> Red
10689// <3=> Green
10690// <4=> Yellow
10691// <5=> Blue
10692// <6=> Magenta
10693// <7=> Cyan
10694// <8=> White
10695
10696#ifndef NRF_SDH_DEBUG_COLOR
10697#define NRF_SDH_DEBUG_COLOR 0
10698#endif
10699
10700// </e>
10701
10702// <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
10703//==========================================================
10704#ifndef NRF_SDH_SOC_LOG_ENABLED
10705#define NRF_SDH_SOC_LOG_ENABLED 1
10706#endif
10707// <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
10708
10709// <0=> Off
10710// <1=> Error
10711// <2=> Warning
10712// <3=> Info
10713// <4=> Debug
10714
10715#ifndef NRF_SDH_SOC_LOG_LEVEL
10716#define NRF_SDH_SOC_LOG_LEVEL 3
10717#endif
10718
10719// <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
10720
10721// <0=> Default
10722// <1=> Black
10723// <2=> Red
10724// <3=> Green
10725// <4=> Yellow
10726// <5=> Blue
10727// <6=> Magenta
10728// <7=> Cyan
10729// <8=> White
10730
10731#ifndef NRF_SDH_SOC_INFO_COLOR
10732#define NRF_SDH_SOC_INFO_COLOR 0
10733#endif
10734
10735// <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
10736
10737// <0=> Default
10738// <1=> Black
10739// <2=> Red
10740// <3=> Green
10741// <4=> Yellow
10742// <5=> Blue
10743// <6=> Magenta
10744// <7=> Cyan
10745// <8=> White
10746
10747#ifndef NRF_SDH_SOC_DEBUG_COLOR
10748#define NRF_SDH_SOC_DEBUG_COLOR 0
10749#endif
10750
10751// </e>
10752
10753// <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
10754//==========================================================
10755#ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
10756#define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
10757#endif
10758// <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
10759
10760// <0=> Off
10761// <1=> Error
10762// <2=> Warning
10763// <3=> Info
10764// <4=> Debug
10765
10766#ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
10767#define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
10768#endif
10769
10770// <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
10771
10772// <0=> Default
10773// <1=> Black
10774// <2=> Red
10775// <3=> Green
10776// <4=> Yellow
10777// <5=> Blue
10778// <6=> Magenta
10779// <7=> Cyan
10780// <8=> White
10781
10782#ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
10783#define NRF_SORTLIST_CONFIG_INFO_COLOR 0
10784#endif
10785
10786// <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10787
10788// <0=> Default
10789// <1=> Black
10790// <2=> Red
10791// <3=> Green
10792// <4=> Yellow
10793// <5=> Blue
10794// <6=> Magenta
10795// <7=> Cyan
10796// <8=> White
10797
10798#ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
10799#define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
10800#endif
10801
10802// </e>
10803
10804// <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
10805//==========================================================
10806#ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
10807#define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
10808#endif
10809// <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
10810
10811// <0=> Off
10812// <1=> Error
10813// <2=> Warning
10814// <3=> Info
10815// <4=> Debug
10816
10817#ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
10818#define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
10819#endif
10820
10821// <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
10822
10823// <0=> Default
10824// <1=> Black
10825// <2=> Red
10826// <3=> Green
10827// <4=> Yellow
10828// <5=> Blue
10829// <6=> Magenta
10830// <7=> Cyan
10831// <8=> White
10832
10833#ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
10834#define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
10835#endif
10836
10837// <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10838
10839// <0=> Default
10840// <1=> Black
10841// <2=> Red
10842// <3=> Green
10843// <4=> Yellow
10844// <5=> Blue
10845// <6=> Magenta
10846// <7=> Cyan
10847// <8=> White
10848
10849#ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
10850#define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
10851#endif
10852
10853// </e>
10854
10855// <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
10856//==========================================================
10857#ifndef PM_LOG_ENABLED
10858#define PM_LOG_ENABLED 1
10859#endif
10860// <o> PM_LOG_LEVEL - Default Severity level
10861
10862// <0=> Off
10863// <1=> Error
10864// <2=> Warning
10865// <3=> Info
10866// <4=> Debug
10867
10868#ifndef PM_LOG_LEVEL
10869#define PM_LOG_LEVEL 3
10870#endif
10871
10872// <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
10873
10874// <0=> Default
10875// <1=> Black
10876// <2=> Red
10877// <3=> Green
10878// <4=> Yellow
10879// <5=> Blue
10880// <6=> Magenta
10881// <7=> Cyan
10882// <8=> White
10883
10884#ifndef PM_LOG_INFO_COLOR
10885#define PM_LOG_INFO_COLOR 0
10886#endif
10887
10888// <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
10889
10890// <0=> Default
10891// <1=> Black
10892// <2=> Red
10893// <3=> Green
10894// <4=> Yellow
10895// <5=> Blue
10896// <6=> Magenta
10897// <7=> Cyan
10898// <8=> White
10899
10900#ifndef PM_LOG_DEBUG_COLOR
10901#define PM_LOG_DEBUG_COLOR 0
10902#endif
10903
10904// </e>
10905
10906// </h>
10907//==========================================================
10908
10909// <h> nrf_log in nRF_Serialization
10910
10911//==========================================================
10912// <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
10913//==========================================================
10914#ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
10915#define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
10916#endif
10917// <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
10918
10919// <0=> Off
10920// <1=> Error
10921// <2=> Warning
10922// <3=> Info
10923// <4=> Debug
10924
10925#ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
10926#define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
10927#endif
10928
10929// <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
10930
10931// <0=> Default
10932// <1=> Black
10933// <2=> Red
10934// <3=> Green
10935// <4=> Yellow
10936// <5=> Blue
10937// <6=> Magenta
10938// <7=> Cyan
10939// <8=> White
10940
10941#ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
10942#define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
10943#endif
10944
10945// <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
10946
10947// <0=> Default
10948// <1=> Black
10949// <2=> Red
10950// <3=> Green
10951// <4=> Yellow
10952// <5=> Blue
10953// <6=> Magenta
10954// <7=> Cyan
10955// <8=> White
10956
10957#ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
10958#define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
10959#endif
10960
10961// </e>
10962
10963// </h>
10964//==========================================================
10965
10966// </h>
10967//==========================================================
10968
10969// </e>
10970
10971// <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
10972
10973
10974#ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
10975#define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
10976#endif
10977
10978// </h>
10979//==========================================================
10980
10981// <h> nRF_NFC
10982
10983//==========================================================
10984// <q> NFC_AC_REC_ENABLED - nfc_ac_rec - NFC NDEF Alternative Carrier record encoder
10985
10986
10987#ifndef NFC_AC_REC_ENABLED
10988#define NFC_AC_REC_ENABLED 0
10989#endif
10990
10991// <q> NFC_AC_REC_PARSER_ENABLED - nfc_ac_rec_parser - Alternative Carrier record parser
10992
10993
10994#ifndef NFC_AC_REC_PARSER_ENABLED
10995#define NFC_AC_REC_PARSER_ENABLED 0
10996#endif
10997
10998// <e> NFC_BLE_OOB_ADVDATA_ENABLED - nfc_ble_oob_advdata - AD data for OOB pairing encoder
10999//==========================================================
11000#ifndef NFC_BLE_OOB_ADVDATA_ENABLED
11001#define NFC_BLE_OOB_ADVDATA_ENABLED 0
11002#endif
11003// <o> ADVANCED_ADVDATA_SUPPORT - Non-mandatory AD types for BLE OOB pairing are encoded inside the NDEF message (e.g. service UUIDs)
11004
11005// <1=> Enabled
11006// <0=> Disabled
11007
11008#ifndef ADVANCED_ADVDATA_SUPPORT
11009#define ADVANCED_ADVDATA_SUPPORT 0
11010#endif
11011
11012// </e>
11013
11014// <q> NFC_BLE_OOB_ADVDATA_PARSER_ENABLED - nfc_ble_oob_advdata_parser - BLE OOB pairing AD data parser
11015
11016
11017#ifndef NFC_BLE_OOB_ADVDATA_PARSER_ENABLED
11018#define NFC_BLE_OOB_ADVDATA_PARSER_ENABLED 0
11019#endif
11020
11021// <e> NFC_BLE_PAIR_LIB_ENABLED - nfc_ble_pair_lib - Library parameters
11022//==========================================================
11023#ifndef NFC_BLE_PAIR_LIB_ENABLED
11024#define NFC_BLE_PAIR_LIB_ENABLED 0
11025#endif
11026// <e> NFC_BLE_PAIR_LIB_LOG_ENABLED - Enables logging in the module.
11027//==========================================================
11028#ifndef NFC_BLE_PAIR_LIB_LOG_ENABLED
11029#define NFC_BLE_PAIR_LIB_LOG_ENABLED 0
11030#endif
11031// <o> NFC_BLE_PAIR_LIB_LOG_LEVEL - Default Severity level
11032
11033// <0=> Off
11034// <1=> Error
11035// <2=> Warning
11036// <3=> Info
11037// <4=> Debug
11038
11039#ifndef NFC_BLE_PAIR_LIB_LOG_LEVEL
11040#define NFC_BLE_PAIR_LIB_LOG_LEVEL 3
11041#endif
11042
11043// <o> NFC_BLE_PAIR_LIB_INFO_COLOR - ANSI escape code prefix.
11044
11045// <0=> Default
11046// <1=> Black
11047// <2=> Red
11048// <3=> Green
11049// <4=> Yellow
11050// <5=> Blue
11051// <6=> Magenta
11052// <7=> Cyan
11053// <8=> White
11054
11055#ifndef NFC_BLE_PAIR_LIB_INFO_COLOR
11056#define NFC_BLE_PAIR_LIB_INFO_COLOR 0
11057#endif
11058
11059// <o> NFC_BLE_PAIR_LIB_DEBUG_COLOR - ANSI escape code prefix.
11060
11061// <0=> Default
11062// <1=> Black
11063// <2=> Red
11064// <3=> Green
11065// <4=> Yellow
11066// <5=> Blue
11067// <6=> Magenta
11068// <7=> Cyan
11069// <8=> White
11070
11071#ifndef NFC_BLE_PAIR_LIB_DEBUG_COLOR
11072#define NFC_BLE_PAIR_LIB_DEBUG_COLOR 0
11073#endif
11074
11075// </e>
11076
11077// <h> NFC_BLE_PAIR_LIB_SECURITY_PARAMETERS - Common Peer Manager security parameters.
11078
11079//==========================================================
11080// <e> BLE_NFC_SEC_PARAM_BOND - Enables device bonding.
11081
11082// <i> If bonding is enabled at least one of the BLE_NFC_SEC_PARAM_KDIST options must be enabled.
11083//==========================================================
11084#ifndef BLE_NFC_SEC_PARAM_BOND
11085#define BLE_NFC_SEC_PARAM_BOND 0
11086#endif
11087// <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ENC - Enables Long Term Key and Master Identification distribution by device.
11088
11089
11090#ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ENC
11091#define BLE_NFC_SEC_PARAM_KDIST_OWN_ENC 1
11092#endif
11093
11094// <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ID - Enables Identity Resolving Key and Identity Address Information distribution by device.
11095
11096
11097#ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ID
11098#define BLE_NFC_SEC_PARAM_KDIST_OWN_ID 1
11099#endif
11100
11101// <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ENC - Enables Long Term Key and Master Identification distribution by peer.
11102
11103
11104#ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ENC
11105#define BLE_NFC_SEC_PARAM_KDIST_PEER_ENC 1
11106#endif
11107
11108// <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ID - Enables Identity Resolving Key and Identity Address Information distribution by peer.
11109
11110
11111#ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ID
11112#define BLE_NFC_SEC_PARAM_KDIST_PEER_ID 1
11113#endif
11114
11115// </e>
11116
11117// <o> BLE_NFC_SEC_PARAM_MIN_KEY_SIZE - Minimal size of a security key.
11118
11119// <7=> 7
11120// <8=> 8
11121// <9=> 9
11122// <10=> 10
11123// <11=> 11
11124// <12=> 12
11125// <13=> 13
11126// <14=> 14
11127// <15=> 15
11128// <16=> 16
11129
11130#ifndef BLE_NFC_SEC_PARAM_MIN_KEY_SIZE
11131#define BLE_NFC_SEC_PARAM_MIN_KEY_SIZE 7
11132#endif
11133
11134// <o> BLE_NFC_SEC_PARAM_MAX_KEY_SIZE - Maximal size of a security key.
11135
11136// <7=> 7
11137// <8=> 8
11138// <9=> 9
11139// <10=> 10
11140// <11=> 11
11141// <12=> 12
11142// <13=> 13
11143// <14=> 14
11144// <15=> 15
11145// <16=> 16
11146
11147#ifndef BLE_NFC_SEC_PARAM_MAX_KEY_SIZE
11148#define BLE_NFC_SEC_PARAM_MAX_KEY_SIZE 16
11149#endif
11150
11151// </h>
11152//==========================================================
11153
11154// </e>
11155
11156// <q> NFC_BLE_PAIR_MSG_ENABLED - nfc_ble_pair_msg - NDEF message for OOB pairing encoder
11157
11158
11159#ifndef NFC_BLE_PAIR_MSG_ENABLED
11160#define NFC_BLE_PAIR_MSG_ENABLED 0
11161#endif
11162
11163// <q> NFC_CH_COMMON_ENABLED - nfc_ble_pair_common - OOB pairing common data
11164
11165
11166#ifndef NFC_CH_COMMON_ENABLED
11167#define NFC_CH_COMMON_ENABLED 0
11168#endif
11169
11170// <q> NFC_EP_OOB_REC_ENABLED - nfc_ep_oob_rec - EP record for BLE pairing encoder
11171
11172
11173#ifndef NFC_EP_OOB_REC_ENABLED
11174#define NFC_EP_OOB_REC_ENABLED 0
11175#endif
11176
11177// <q> NFC_HS_REC_ENABLED - nfc_hs_rec - Handover Select NDEF record encoder
11178
11179
11180#ifndef NFC_HS_REC_ENABLED
11181#define NFC_HS_REC_ENABLED 0
11182#endif
11183
11184// <q> NFC_LE_OOB_REC_ENABLED - nfc_le_oob_rec - LE record for BLE pairing encoder
11185
11186
11187#ifndef NFC_LE_OOB_REC_ENABLED
11188#define NFC_LE_OOB_REC_ENABLED 0
11189#endif
11190
11191// <q> NFC_LE_OOB_REC_PARSER_ENABLED - nfc_le_oob_rec_parser - LE record parser
11192
11193
11194#ifndef NFC_LE_OOB_REC_PARSER_ENABLED
11195#define NFC_LE_OOB_REC_PARSER_ENABLED 0
11196#endif
11197
11198// <q> NFC_NDEF_LAUNCHAPP_MSG_ENABLED - nfc_launchapp_msg - Encoding data for NDEF Application Launching message for NFC Tag
11199
11200
11201#ifndef NFC_NDEF_LAUNCHAPP_MSG_ENABLED
11202#define NFC_NDEF_LAUNCHAPP_MSG_ENABLED 0
11203#endif
11204
11205// <q> NFC_NDEF_LAUNCHAPP_REC_ENABLED - nfc_launchapp_rec - Encoding data for NDEF Application Launching record for NFC Tag
11206
11207
11208#ifndef NFC_NDEF_LAUNCHAPP_REC_ENABLED
11209#define NFC_NDEF_LAUNCHAPP_REC_ENABLED 0
11210#endif
11211
11212// <e> NFC_NDEF_MSG_ENABLED - nfc_ndef_msg - NFC NDEF Message generator module
11213//==========================================================
11214#ifndef NFC_NDEF_MSG_ENABLED
11215#define NFC_NDEF_MSG_ENABLED 0
11216#endif
11217// <o> NFC_NDEF_MSG_TAG_TYPE - NFC Tag Type
11218
11219// <2=> Type 2 Tag
11220// <4=> Type 4 Tag
11221
11222#ifndef NFC_NDEF_MSG_TAG_TYPE
11223#define NFC_NDEF_MSG_TAG_TYPE 2
11224#endif
11225
11226// </e>
11227
11228// <e> NFC_NDEF_MSG_PARSER_ENABLED - nfc_ndef_msg_parser - NFC NDEF message parser module
11229//==========================================================
11230#ifndef NFC_NDEF_MSG_PARSER_ENABLED
11231#define NFC_NDEF_MSG_PARSER_ENABLED 0
11232#endif
11233// <e> NFC_NDEF_MSG_PARSER_LOG_ENABLED - Enables logging in the module.
11234//==========================================================
11235#ifndef NFC_NDEF_MSG_PARSER_LOG_ENABLED
11236#define NFC_NDEF_MSG_PARSER_LOG_ENABLED 0
11237#endif
11238// <o> NFC_NDEF_MSG_PARSER_LOG_LEVEL - Default Severity level
11239
11240// <0=> Off
11241// <1=> Error
11242// <2=> Warning
11243// <3=> Info
11244// <4=> Debug
11245
11246#ifndef NFC_NDEF_MSG_PARSER_LOG_LEVEL
11247#define NFC_NDEF_MSG_PARSER_LOG_LEVEL 3
11248#endif
11249
11250// <o> NFC_NDEF_MSG_PARSER_INFO_COLOR - ANSI escape code prefix.
11251
11252// <0=> Default
11253// <1=> Black
11254// <2=> Red
11255// <3=> Green
11256// <4=> Yellow
11257// <5=> Blue
11258// <6=> Magenta
11259// <7=> Cyan
11260// <8=> White
11261
11262#ifndef NFC_NDEF_MSG_PARSER_INFO_COLOR
11263#define NFC_NDEF_MSG_PARSER_INFO_COLOR 0
11264#endif
11265
11266// </e>
11267
11268// </e>
11269
11270// <q> NFC_NDEF_RECORD_ENABLED - nfc_ndef_record - NFC NDEF Record generator module
11271
11272
11273#ifndef NFC_NDEF_RECORD_ENABLED
11274#define NFC_NDEF_RECORD_ENABLED 0
11275#endif
11276
11277// <e> NFC_NDEF_RECORD_PARSER_ENABLED - nfc_ndef_record_parser - NFC NDEF Record parser module
11278//==========================================================
11279#ifndef NFC_NDEF_RECORD_PARSER_ENABLED
11280#define NFC_NDEF_RECORD_PARSER_ENABLED 0
11281#endif
11282// <e> NFC_NDEF_RECORD_PARSER_LOG_ENABLED - Enables logging in the module.
11283//==========================================================
11284#ifndef NFC_NDEF_RECORD_PARSER_LOG_ENABLED
11285#define NFC_NDEF_RECORD_PARSER_LOG_ENABLED 0
11286#endif
11287// <o> NFC_NDEF_RECORD_PARSER_LOG_LEVEL - Default Severity level
11288
11289// <0=> Off
11290// <1=> Error
11291// <2=> Warning
11292// <3=> Info
11293// <4=> Debug
11294
11295#ifndef NFC_NDEF_RECORD_PARSER_LOG_LEVEL
11296#define NFC_NDEF_RECORD_PARSER_LOG_LEVEL 3
11297#endif
11298
11299// <o> NFC_NDEF_RECORD_PARSER_INFO_COLOR - ANSI escape code prefix.
11300
11301// <0=> Default
11302// <1=> Black
11303// <2=> Red
11304// <3=> Green
11305// <4=> Yellow
11306// <5=> Blue
11307// <6=> Magenta
11308// <7=> Cyan
11309// <8=> White
11310
11311#ifndef NFC_NDEF_RECORD_PARSER_INFO_COLOR
11312#define NFC_NDEF_RECORD_PARSER_INFO_COLOR 0
11313#endif
11314
11315// </e>
11316
11317// </e>
11318
11319// <q> NFC_NDEF_TEXT_RECORD_ENABLED - nfc_text_rec - Encoding data for a text record for NFC Tag
11320
11321
11322#ifndef NFC_NDEF_TEXT_RECORD_ENABLED
11323#define NFC_NDEF_TEXT_RECORD_ENABLED 0
11324#endif
11325
11326// <q> NFC_NDEF_URI_MSG_ENABLED - nfc_uri_msg - Encoding data for NDEF message with URI record for NFC Tag
11327
11328
11329#ifndef NFC_NDEF_URI_MSG_ENABLED
11330#define NFC_NDEF_URI_MSG_ENABLED 0
11331#endif
11332
11333// <q> NFC_NDEF_URI_REC_ENABLED - nfc_uri_rec - Encoding data for a URI record for NFC Tag
11334
11335
11336#ifndef NFC_NDEF_URI_REC_ENABLED
11337#define NFC_NDEF_URI_REC_ENABLED 0
11338#endif
11339
11340// <e> NFC_PLATFORM_ENABLED - nfc_platform - NFC platform module for Clock control.
11341//==========================================================
11342#ifndef NFC_PLATFORM_ENABLED
11343#define NFC_PLATFORM_ENABLED 0
11344#endif
11345// <e> NFC_PLATFORM_LOG_ENABLED - Enables logging in the module.
11346//==========================================================
11347#ifndef NFC_PLATFORM_LOG_ENABLED
11348#define NFC_PLATFORM_LOG_ENABLED 0
11349#endif
11350// <o> NFC_PLATFORM_LOG_LEVEL - Default Severity level
11351
11352// <0=> Off
11353// <1=> Error
11354// <2=> Warning
11355// <3=> Info
11356// <4=> Debug
11357
11358#ifndef NFC_PLATFORM_LOG_LEVEL
11359#define NFC_PLATFORM_LOG_LEVEL 3
11360#endif
11361
11362// <o> NFC_PLATFORM_INFO_COLOR - ANSI escape code prefix.
11363
11364// <0=> Default
11365// <1=> Black
11366// <2=> Red
11367// <3=> Green
11368// <4=> Yellow
11369// <5=> Blue
11370// <6=> Magenta
11371// <7=> Cyan
11372// <8=> White
11373
11374#ifndef NFC_PLATFORM_INFO_COLOR
11375#define NFC_PLATFORM_INFO_COLOR 0
11376#endif
11377
11378// <o> NFC_PLATFORM_DEBUG_COLOR - ANSI escape code prefix.
11379
11380// <0=> Default
11381// <1=> Black
11382// <2=> Red
11383// <3=> Green
11384// <4=> Yellow
11385// <5=> Blue
11386// <6=> Magenta
11387// <7=> Cyan
11388// <8=> White
11389
11390#ifndef NFC_PLATFORM_DEBUG_COLOR
11391#define NFC_PLATFORM_DEBUG_COLOR 0
11392#endif
11393
11394// </e>
11395
11396// </e>
11397
11398// <e> NFC_T2T_PARSER_ENABLED - nfc_type_2_tag_parser - Parser for decoding Type 2 Tag data
11399//==========================================================
11400#ifndef NFC_T2T_PARSER_ENABLED
11401#define NFC_T2T_PARSER_ENABLED 0
11402#endif
11403// <e> NFC_T2T_PARSER_LOG_ENABLED - Enables logging in the module.
11404//==========================================================
11405#ifndef NFC_T2T_PARSER_LOG_ENABLED
11406#define NFC_T2T_PARSER_LOG_ENABLED 0
11407#endif
11408// <o> NFC_T2T_PARSER_LOG_LEVEL - Default Severity level
11409
11410// <0=> Off
11411// <1=> Error
11412// <2=> Warning
11413// <3=> Info
11414// <4=> Debug
11415
11416#ifndef NFC_T2T_PARSER_LOG_LEVEL
11417#define NFC_T2T_PARSER_LOG_LEVEL 3
11418#endif
11419
11420// <o> NFC_T2T_PARSER_INFO_COLOR - ANSI escape code prefix.
11421
11422// <0=> Default
11423// <1=> Black
11424// <2=> Red
11425// <3=> Green
11426// <4=> Yellow
11427// <5=> Blue
11428// <6=> Magenta
11429// <7=> Cyan
11430// <8=> White
11431
11432#ifndef NFC_T2T_PARSER_INFO_COLOR
11433#define NFC_T2T_PARSER_INFO_COLOR 0
11434#endif
11435
11436// </e>
11437
11438// </e>
11439
11440// <e> NFC_T4T_APDU_ENABLED - nfc_t4t_apdu - APDU encoder/decoder for Type 4 Tag
11441//==========================================================
11442#ifndef NFC_T4T_APDU_ENABLED
11443#define NFC_T4T_APDU_ENABLED 0
11444#endif
11445// <e> NFC_T4T_APDU_LOG_ENABLED - Enables logging in the module.
11446//==========================================================
11447#ifndef NFC_T4T_APDU_LOG_ENABLED
11448#define NFC_T4T_APDU_LOG_ENABLED 0
11449#endif
11450// <o> NFC_T4T_APDU_LOG_LEVEL - Default Severity level
11451
11452// <0=> Off
11453// <1=> Error
11454// <2=> Warning
11455// <3=> Info
11456// <4=> Debug
11457
11458#ifndef NFC_T4T_APDU_LOG_LEVEL
11459#define NFC_T4T_APDU_LOG_LEVEL 3
11460#endif
11461
11462// <o> NFC_T4T_APDU_LOG_COLOR - ANSI escape code prefix.
11463
11464// <0=> Default
11465// <1=> Black
11466// <2=> Red
11467// <3=> Green
11468// <4=> Yellow
11469// <5=> Blue
11470// <6=> Magenta
11471// <7=> Cyan
11472// <8=> White
11473
11474#ifndef NFC_T4T_APDU_LOG_COLOR
11475#define NFC_T4T_APDU_LOG_COLOR 0
11476#endif
11477
11478// </e>
11479
11480// </e>
11481
11482// <e> NFC_T4T_CC_FILE_PARSER_ENABLED - nfc_t4t_cc_file - Capability Container file for Type 4 Tag
11483//==========================================================
11484#ifndef NFC_T4T_CC_FILE_PARSER_ENABLED
11485#define NFC_T4T_CC_FILE_PARSER_ENABLED 0
11486#endif
11487// <e> NFC_T4T_CC_FILE_PARSER_LOG_ENABLED - Enables logging in the module.
11488//==========================================================
11489#ifndef NFC_T4T_CC_FILE_PARSER_LOG_ENABLED
11490#define NFC_T4T_CC_FILE_PARSER_LOG_ENABLED 0
11491#endif
11492// <o> NFC_T4T_CC_FILE_PARSER_LOG_LEVEL - Default Severity level
11493
11494// <0=> Off
11495// <1=> Error
11496// <2=> Warning
11497// <3=> Info
11498// <4=> Debug
11499
11500#ifndef NFC_T4T_CC_FILE_PARSER_LOG_LEVEL
11501#define NFC_T4T_CC_FILE_PARSER_LOG_LEVEL 3
11502#endif
11503
11504// <o> NFC_T4T_CC_FILE_PARSER_INFO_COLOR - ANSI escape code prefix.
11505
11506// <0=> Default
11507// <1=> Black
11508// <2=> Red
11509// <3=> Green
11510// <4=> Yellow
11511// <5=> Blue
11512// <6=> Magenta
11513// <7=> Cyan
11514// <8=> White
11515
11516#ifndef NFC_T4T_CC_FILE_PARSER_INFO_COLOR
11517#define NFC_T4T_CC_FILE_PARSER_INFO_COLOR 0
11518#endif
11519
11520// </e>
11521
11522// </e>
11523
11524// <e> NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED - nfc_t4t_hl_detection_procedures - NDEF Detection Procedure for Type 4 Tag
11525//==========================================================
11526#ifndef NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED
11527#define NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED 0
11528#endif
11529// <e> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED - Enables logging in the module.
11530//==========================================================
11531#ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED
11532#define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED 0
11533#endif
11534// <o> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL - Default Severity level
11535
11536// <0=> Off
11537// <1=> Error
11538// <2=> Warning
11539// <3=> Info
11540// <4=> Debug
11541
11542#ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL
11543#define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL 3
11544#endif
11545
11546// <o> NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR - ANSI escape code prefix.
11547
11548// <0=> Default
11549// <1=> Black
11550// <2=> Red
11551// <3=> Green
11552// <4=> Yellow
11553// <5=> Blue
11554// <6=> Magenta
11555// <7=> Cyan
11556// <8=> White
11557
11558#ifndef NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR
11559#define NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR 0
11560#endif
11561
11562// </e>
11563
11564// <o> APDU_BUFF_SIZE - Size (in bytes) of the buffer for APDU storage
11565#ifndef APDU_BUFF_SIZE
11566#define APDU_BUFF_SIZE 250
11567#endif
11568
11569// <o> CC_STORAGE_BUFF_SIZE - Size (in bytes) of the buffer for CC file storage
11570#ifndef CC_STORAGE_BUFF_SIZE
11571#define CC_STORAGE_BUFF_SIZE 64
11572#endif
11573
11574// </e>
11575
11576// <e> NFC_T4T_TLV_BLOCK_PARSER_ENABLED - nfc_t4t_tlv_block - TLV block for Type 4 Tag
11577//==========================================================
11578#ifndef NFC_T4T_TLV_BLOCK_PARSER_ENABLED
11579#define NFC_T4T_TLV_BLOCK_PARSER_ENABLED 0
11580#endif
11581// <e> NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED - Enables logging in the module.
11582//==========================================================
11583#ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED
11584#define NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED 0
11585#endif
11586// <o> NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL - Default Severity level
11587
11588// <0=> Off
11589// <1=> Error
11590// <2=> Warning
11591// <3=> Info
11592// <4=> Debug
11593
11594#ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL
11595#define NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL 3
11596#endif
11597
11598// <o> NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR - ANSI escape code prefix.
11599
11600// <0=> Default
11601// <1=> Black
11602// <2=> Red
11603// <3=> Green
11604// <4=> Yellow
11605// <5=> Blue
11606// <6=> Magenta
11607// <7=> Cyan
11608// <8=> White
11609
11610#ifndef NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR
11611#define NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR 0
11612#endif
11613
11614// </e>
11615
11616// </e>
11617
11618// </h>
11619//==========================================================
11620
11621// <h> nRF_Segger_RTT
11622
11623//==========================================================
11624// <h> segger_rtt - SEGGER RTT
11625
11626//==========================================================
11627// <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_UP - Size of upstream buffer.
11628// <i> Note that either @ref NRF_LOG_BACKEND_RTT_OUTPUT_BUFFER_SIZE
11629// <i> or this value is actually used. It depends on which one is bigger.
11630
11631#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
11632#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512
11633#endif
11634
11635// <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
11636#ifndef SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS
11637#define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 2
11638#endif
11639
11640// <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN - Size of downstream buffer.
11641#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN
11642#define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16
11643#endif
11644
11645// <o> SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS - Maximum number of downstream buffers.
11646#ifndef SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS
11647#define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 2
11648#endif
11649
11650// <o> SEGGER_RTT_CONFIG_DEFAULT_MODE - RTT behavior if the buffer is full.
11651
11652
11653// <i> The following modes are supported:
11654// <i> - SKIP - Do not block, output nothing.
11655// <i> - TRIM - Do not block, output as much as fits.
11656// <i> - BLOCK - Wait until there is space in the buffer.
11657// <0=> SKIP
11658// <1=> TRIM
11659// <2=> BLOCK_IF_FIFO_FULL
11660
11661#ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE
11662#define SEGGER_RTT_CONFIG_DEFAULT_MODE 0
11663#endif
11664
11665// </h>
11666//==========================================================
11667
11668// </h>
11669//==========================================================
11670
11671// <h> nRF_SoftDevice
11672
11673//==========================================================
11674// <e> NRF_SDH_BLE_ENABLED - nrf_sdh_ble - SoftDevice BLE event handler
11675//==========================================================
11676#ifndef NRF_SDH_BLE_ENABLED
11677#define NRF_SDH_BLE_ENABLED 1
11678#endif
11679// <h> BLE Stack configuration - Stack configuration parameters
11680
11681// <i> The SoftDevice handler will configure the stack with these parameters when calling @ref nrf_sdh_ble_default_cfg_set.
11682// <i> Other libraries might depend on these values; keep them up-to-date even if you are not explicitely calling @ref nrf_sdh_ble_default_cfg_set.
11683//==========================================================
11684// <o> NRF_SDH_BLE_GAP_DATA_LENGTH <27-251>
11685
11686
11687// <i> Requested BLE GAP data length to be negotiated.
11688
11689#ifndef NRF_SDH_BLE_GAP_DATA_LENGTH
11690#define NRF_SDH_BLE_GAP_DATA_LENGTH 251
11691#endif
11692
11693// <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links.
11694#ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
11695#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 3
11696#endif
11697
11698// <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links.
11699#ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
11700#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 0
11701#endif
11702
11703// <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count.
11704// <i> Maximum number of total concurrent connections using the default configuration.
11705
11706#ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
11707#define NRF_SDH_BLE_TOTAL_LINK_COUNT 3
11708#endif
11709
11710// <o> NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length.
11711// <i> The time set aside for this connection on every connection interval in 1.25 ms units.
11712
11713#ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
11714#define NRF_SDH_BLE_GAP_EVENT_LENGTH 320
11715#endif
11716
11717// <o> NRF_SDH_BLE_GATT_MAX_MTU_SIZE - Static maximum MTU size.
11718#ifndef NRF_SDH_BLE_GATT_MAX_MTU_SIZE
11719#define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247
11720#endif
11721
11722// <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4.
11723#ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
11724#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
11725#endif
11726
11727// <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs.
11728#ifndef NRF_SDH_BLE_VS_UUID_COUNT
11729#define NRF_SDH_BLE_VS_UUID_COUNT 2
11730#endif
11731
11732// <q> NRF_SDH_BLE_SERVICE_CHANGED - Include the Service Changed characteristic in the Attribute Table.
11733
11734
11735#ifndef NRF_SDH_BLE_SERVICE_CHANGED
11736#define NRF_SDH_BLE_SERVICE_CHANGED 0
11737#endif
11738
11739// </h>
11740//==========================================================
11741
11742// <h> BLE Observers - Observers and priority levels
11743
11744//==========================================================
11745// <o> NRF_SDH_BLE_OBSERVER_PRIO_LEVELS - Total number of priority levels for BLE observers.
11746// <i> This setting configures the number of priority levels available for BLE event handlers.
11747// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
11748
11749#ifndef NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
11750#define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS 4
11751#endif
11752
11753// <h> BLE Observers priorities - Invididual priorities
11754
11755//==========================================================
11756// <o> BLE_ADV_BLE_OBSERVER_PRIO
11757// <i> Priority with which BLE events are dispatched to the Advertising module.
11758
11759#ifndef BLE_ADV_BLE_OBSERVER_PRIO
11760#define BLE_ADV_BLE_OBSERVER_PRIO 1
11761#endif
11762
11763// <o> BLE_ANCS_C_BLE_OBSERVER_PRIO
11764// <i> Priority with which BLE events are dispatched to the Apple Notification Service Client.
11765
11766#ifndef BLE_ANCS_C_BLE_OBSERVER_PRIO
11767#define BLE_ANCS_C_BLE_OBSERVER_PRIO 2
11768#endif
11769
11770// <o> BLE_ANS_C_BLE_OBSERVER_PRIO
11771// <i> Priority with which BLE events are dispatched to the Alert Notification Service Client.
11772
11773#ifndef BLE_ANS_C_BLE_OBSERVER_PRIO
11774#define BLE_ANS_C_BLE_OBSERVER_PRIO 2
11775#endif
11776
11777// <o> BLE_BAS_BLE_OBSERVER_PRIO
11778// <i> Priority with which BLE events are dispatched to the Battery Service.
11779
11780#ifndef BLE_BAS_BLE_OBSERVER_PRIO
11781#define BLE_BAS_BLE_OBSERVER_PRIO 2
11782#endif
11783
11784// <o> BLE_BAS_C_BLE_OBSERVER_PRIO
11785// <i> Priority with which BLE events are dispatched to the Battery Service Client.
11786
11787#ifndef BLE_BAS_C_BLE_OBSERVER_PRIO
11788#define BLE_BAS_C_BLE_OBSERVER_PRIO 2
11789#endif
11790
11791// <o> BLE_BPS_BLE_OBSERVER_PRIO
11792// <i> Priority with which BLE events are dispatched to the Blood Pressure Service.
11793
11794#ifndef BLE_BPS_BLE_OBSERVER_PRIO
11795#define BLE_BPS_BLE_OBSERVER_PRIO 2
11796#endif
11797
11798// <o> BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
11799// <i> Priority with which BLE events are dispatched to the Connection parameters module.
11800
11801#ifndef BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
11802#define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO 1
11803#endif
11804
11805// <o> BLE_CONN_STATE_BLE_OBSERVER_PRIO
11806// <i> Priority with which BLE events are dispatched to the Connection State module.
11807
11808#ifndef BLE_CONN_STATE_BLE_OBSERVER_PRIO
11809#define BLE_CONN_STATE_BLE_OBSERVER_PRIO 0
11810#endif
11811
11812// <o> BLE_CSCS_BLE_OBSERVER_PRIO
11813// <i> Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.
11814
11815#ifndef BLE_CSCS_BLE_OBSERVER_PRIO
11816#define BLE_CSCS_BLE_OBSERVER_PRIO 2
11817#endif
11818
11819// <o> BLE_CTS_C_BLE_OBSERVER_PRIO
11820// <i> Priority with which BLE events are dispatched to the Current Time Service Client.
11821
11822#ifndef BLE_CTS_C_BLE_OBSERVER_PRIO
11823#define BLE_CTS_C_BLE_OBSERVER_PRIO 2
11824#endif
11825
11826// <o> BLE_DB_DISC_BLE_OBSERVER_PRIO
11827// <i> Priority with which BLE events are dispatched to the Database Discovery module.
11828
11829#ifndef BLE_DB_DISC_BLE_OBSERVER_PRIO
11830#define BLE_DB_DISC_BLE_OBSERVER_PRIO 1
11831#endif
11832
11833// <o> BLE_DFU_BLE_OBSERVER_PRIO
11834// <i> Priority with which BLE events are dispatched to the DFU Service.
11835
11836#ifndef BLE_DFU_BLE_OBSERVER_PRIO
11837#define BLE_DFU_BLE_OBSERVER_PRIO 2
11838#endif
11839
11840// <o> BLE_DIS_C_BLE_OBSERVER_PRIO
11841// <i> Priority with which BLE events are dispatched to the Device Information Client.
11842
11843#ifndef BLE_DIS_C_BLE_OBSERVER_PRIO
11844#define BLE_DIS_C_BLE_OBSERVER_PRIO 2
11845#endif
11846
11847// <o> BLE_GLS_BLE_OBSERVER_PRIO
11848// <i> Priority with which BLE events are dispatched to the Glucose Service.
11849
11850#ifndef BLE_GLS_BLE_OBSERVER_PRIO
11851#define BLE_GLS_BLE_OBSERVER_PRIO 2
11852#endif
11853
11854// <o> BLE_HIDS_BLE_OBSERVER_PRIO
11855// <i> Priority with which BLE events are dispatched to the Human Interface Device Service.
11856
11857#ifndef BLE_HIDS_BLE_OBSERVER_PRIO
11858#define BLE_HIDS_BLE_OBSERVER_PRIO 2
11859#endif
11860
11861// <o> BLE_HRS_BLE_OBSERVER_PRIO
11862// <i> Priority with which BLE events are dispatched to the Heart Rate Service.
11863
11864#ifndef BLE_HRS_BLE_OBSERVER_PRIO
11865#define BLE_HRS_BLE_OBSERVER_PRIO 2
11866#endif
11867
11868// <o> BLE_HRS_C_BLE_OBSERVER_PRIO
11869// <i> Priority with which BLE events are dispatched to the Heart Rate Service Client.
11870
11871#ifndef BLE_HRS_C_BLE_OBSERVER_PRIO
11872#define BLE_HRS_C_BLE_OBSERVER_PRIO 2
11873#endif
11874
11875// <o> BLE_HTS_BLE_OBSERVER_PRIO
11876// <i> Priority with which BLE events are dispatched to the Health Thermometer Service.
11877
11878#ifndef BLE_HTS_BLE_OBSERVER_PRIO
11879#define BLE_HTS_BLE_OBSERVER_PRIO 2
11880#endif
11881
11882// <o> BLE_IAS_BLE_OBSERVER_PRIO
11883// <i> Priority with which BLE events are dispatched to the Immediate Alert Service.
11884
11885#ifndef BLE_IAS_BLE_OBSERVER_PRIO
11886#define BLE_IAS_BLE_OBSERVER_PRIO 2
11887#endif
11888
11889// <o> BLE_IAS_C_BLE_OBSERVER_PRIO
11890// <i> Priority with which BLE events are dispatched to the Immediate Alert Service Client.
11891
11892#ifndef BLE_IAS_C_BLE_OBSERVER_PRIO
11893#define BLE_IAS_C_BLE_OBSERVER_PRIO 2
11894#endif
11895
11896// <o> BLE_LBS_BLE_OBSERVER_PRIO
11897// <i> Priority with which BLE events are dispatched to the LED Button Service.
11898
11899#ifndef BLE_LBS_BLE_OBSERVER_PRIO
11900#define BLE_LBS_BLE_OBSERVER_PRIO 2
11901#endif
11902
11903// <o> BLE_LBS_C_BLE_OBSERVER_PRIO
11904// <i> Priority with which BLE events are dispatched to the LED Button Service Client.
11905
11906#ifndef BLE_LBS_C_BLE_OBSERVER_PRIO
11907#define BLE_LBS_C_BLE_OBSERVER_PRIO 2
11908#endif
11909
11910// <o> BLE_LLS_BLE_OBSERVER_PRIO
11911// <i> Priority with which BLE events are dispatched to the Link Loss Service.
11912
11913#ifndef BLE_LLS_BLE_OBSERVER_PRIO
11914#define BLE_LLS_BLE_OBSERVER_PRIO 2
11915#endif
11916
11917// <o> BLE_LNS_BLE_OBSERVER_PRIO
11918// <i> Priority with which BLE events are dispatched to the Location Navigation Service.
11919
11920#ifndef BLE_LNS_BLE_OBSERVER_PRIO
11921#define BLE_LNS_BLE_OBSERVER_PRIO 2
11922#endif
11923
11924// <o> BLE_NUS_BLE_OBSERVER_PRIO
11925// <i> Priority with which BLE events are dispatched to the UART Service.
11926
11927#ifndef BLE_NUS_BLE_OBSERVER_PRIO
11928#define BLE_NUS_BLE_OBSERVER_PRIO 2
11929#endif
11930
11931// <o> BLE_NUS_C_BLE_OBSERVER_PRIO
11932// <i> Priority with which BLE events are dispatched to the UART Central Service.
11933
11934#ifndef BLE_NUS_C_BLE_OBSERVER_PRIO
11935#define BLE_NUS_C_BLE_OBSERVER_PRIO 2
11936#endif
11937
11938// <o> BLE_OTS_BLE_OBSERVER_PRIO
11939// <i> Priority with which BLE events are dispatched to the Object transfer service.
11940
11941#ifndef BLE_OTS_BLE_OBSERVER_PRIO
11942#define BLE_OTS_BLE_OBSERVER_PRIO 2
11943#endif
11944
11945// <o> BLE_OTS_C_BLE_OBSERVER_PRIO
11946// <i> Priority with which BLE events are dispatched to the Object transfer service client.
11947
11948#ifndef BLE_OTS_C_BLE_OBSERVER_PRIO
11949#define BLE_OTS_C_BLE_OBSERVER_PRIO 2
11950#endif
11951
11952// <o> BLE_RSCS_BLE_OBSERVER_PRIO
11953// <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Service.
11954
11955#ifndef BLE_RSCS_BLE_OBSERVER_PRIO
11956#define BLE_RSCS_BLE_OBSERVER_PRIO 2
11957#endif
11958
11959// <o> BLE_RSCS_C_BLE_OBSERVER_PRIO
11960// <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Client.
11961
11962#ifndef BLE_RSCS_C_BLE_OBSERVER_PRIO
11963#define BLE_RSCS_C_BLE_OBSERVER_PRIO 2
11964#endif
11965
11966// <o> BLE_TPS_BLE_OBSERVER_PRIO
11967// <i> Priority with which BLE events are dispatched to the TX Power Service.
11968
11969#ifndef BLE_TPS_BLE_OBSERVER_PRIO
11970#define BLE_TPS_BLE_OBSERVER_PRIO 2
11971#endif
11972
11973// <o> BSP_BTN_BLE_OBSERVER_PRIO
11974// <i> Priority with which BLE events are dispatched to the Button Control module.
11975
11976#ifndef BSP_BTN_BLE_OBSERVER_PRIO
11977#define BSP_BTN_BLE_OBSERVER_PRIO 1
11978#endif
11979
11980// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11981// <i> Priority with which BLE events are dispatched to the NFC pairing library.
11982
11983#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11984#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11985#endif
11986
11987// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11988// <i> Priority with which BLE events are dispatched to the NFC pairing library.
11989
11990#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11991#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11992#endif
11993
11994// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11995// <i> Priority with which BLE events are dispatched to the NFC pairing library.
11996
11997#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
11998#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
11999#endif
12000
12001// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12002// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12003
12004#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12005#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12006#endif
12007
12008// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12009// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12010
12011#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12012#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12013#endif
12014
12015// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12016// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12017
12018#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12019#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12020#endif
12021
12022// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12023// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12024
12025#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12026#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12027#endif
12028
12029// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12030// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12031
12032#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12033#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12034#endif
12035
12036// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12037// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12038
12039#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12040#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12041#endif
12042
12043// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12044// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12045
12046#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12047#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12048#endif
12049
12050// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12051// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12052
12053#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12054#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12055#endif
12056
12057// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12058// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12059
12060#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12061#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12062#endif
12063
12064// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12065// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12066
12067#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12068#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12069#endif
12070
12071// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12072// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12073
12074#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12075#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12076#endif
12077
12078// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12079// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12080
12081#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12082#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12083#endif
12084
12085// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12086// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12087
12088#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12089#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12090#endif
12091
12092// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12093// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12094
12095#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12096#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12097#endif
12098
12099// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12100// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12101
12102#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12103#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12104#endif
12105
12106// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12107// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12108
12109#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12110#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12111#endif
12112
12113// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12114// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12115
12116#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12117#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12118#endif
12119
12120// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12121// <i> Priority with which BLE events are dispatched to the NFC pairing library.
12122
12123#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
12124#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
12125#endif
12126
12127// <o> NRF_BLE_BMS_BLE_OBSERVER_PRIO
12128// <i> Priority with which BLE events are dispatched to the Bond Management Service.
12129
12130#ifndef NRF_BLE_BMS_BLE_OBSERVER_PRIO
12131#define NRF_BLE_BMS_BLE_OBSERVER_PRIO 2
12132#endif
12133
12134// <o> NRF_BLE_CGMS_BLE_OBSERVER_PRIO
12135// <i> Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.
12136
12137#ifndef NRF_BLE_CGMS_BLE_OBSERVER_PRIO
12138#define NRF_BLE_CGMS_BLE_OBSERVER_PRIO 2
12139#endif
12140
12141// <o> NRF_BLE_ES_BLE_OBSERVER_PRIO
12142// <i> Priority with which BLE events are dispatched to the Eddystone module.
12143
12144#ifndef NRF_BLE_ES_BLE_OBSERVER_PRIO
12145#define NRF_BLE_ES_BLE_OBSERVER_PRIO 2
12146#endif
12147
12148// <o> NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
12149// <i> Priority with which BLE events are dispatched to the GATT Service Client.
12150
12151#ifndef NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
12152#define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO 2
12153#endif
12154
12155// <o> NRF_BLE_GATT_BLE_OBSERVER_PRIO
12156// <i> Priority with which BLE events are dispatched to the GATT module.
12157
12158#ifndef NRF_BLE_GATT_BLE_OBSERVER_PRIO
12159#define NRF_BLE_GATT_BLE_OBSERVER_PRIO 1
12160#endif
12161
12162// <o> NRF_BLE_GQ_BLE_OBSERVER_PRIO
12163// <i> Priority with which BLE events are dispatched to the GATT Queue module.
12164
12165#ifndef NRF_BLE_GQ_BLE_OBSERVER_PRIO
12166#define NRF_BLE_GQ_BLE_OBSERVER_PRIO 1
12167#endif
12168
12169// <o> NRF_BLE_QWR_BLE_OBSERVER_PRIO
12170// <i> Priority with which BLE events are dispatched to the Queued writes module.
12171
12172#ifndef NRF_BLE_QWR_BLE_OBSERVER_PRIO
12173#define NRF_BLE_QWR_BLE_OBSERVER_PRIO 2
12174#endif
12175
12176// <o> NRF_BLE_SCAN_OBSERVER_PRIO
12177// <i> Priority for dispatching the BLE events to the Scanning Module.
12178
12179#ifndef NRF_BLE_SCAN_OBSERVER_PRIO
12180#define NRF_BLE_SCAN_OBSERVER_PRIO 1
12181#endif
12182
12183// <o> PM_BLE_OBSERVER_PRIO - Priority with which BLE events are dispatched to the Peer Manager module.
12184#ifndef PM_BLE_OBSERVER_PRIO
12185#define PM_BLE_OBSERVER_PRIO 1
12186#endif
12187
12188// </h>
12189//==========================================================
12190
12191// </h>
12192//==========================================================
12193
12194
12195// </e>
12196
12197// <e> NRF_SDH_ENABLED - nrf_sdh - SoftDevice handler
12198//==========================================================
12199#ifndef NRF_SDH_ENABLED
12200#define NRF_SDH_ENABLED 1
12201#endif
12202// <h> Dispatch model
12203
12204// <i> This setting configures how Stack events are dispatched to the application.
12205//==========================================================
12206// <o> NRF_SDH_DISPATCH_MODEL
12207
12208
12209// <i> NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
12210// <i> NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
12211// <i> NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
12212// <0=> NRF_SDH_DISPATCH_MODEL_INTERRUPT
12213// <1=> NRF_SDH_DISPATCH_MODEL_APPSH
12214// <2=> NRF_SDH_DISPATCH_MODEL_POLLING
12215
12216#ifndef NRF_SDH_DISPATCH_MODEL
12217#define NRF_SDH_DISPATCH_MODEL 0
12218#endif
12219
12220// </h>
12221//==========================================================
12222
12223// <h> Clock - SoftDevice clock configuration
12224
12225//==========================================================
12226// <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
12227
12228// <0=> NRF_CLOCK_LF_SRC_RC
12229// <1=> NRF_CLOCK_LF_SRC_XTAL
12230// <2=> NRF_CLOCK_LF_SRC_SYNTH
12231
12232#ifndef NRF_SDH_CLOCK_LF_SRC
12233#define NRF_SDH_CLOCK_LF_SRC 0
12234#endif
12235
12236// <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
12237#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
12238#define NRF_SDH_CLOCK_LF_RC_CTIV 16
12239#endif
12240
12241// <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
12242// <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
12243// <i> if the temperature has not changed.
12244
12245#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
12246#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
12247#endif
12248
12249// <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
12250
12251// <0=> NRF_CLOCK_LF_ACCURACY_250_PPM
12252// <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
12253// <2=> NRF_CLOCK_LF_ACCURACY_150_PPM
12254// <3=> NRF_CLOCK_LF_ACCURACY_100_PPM
12255// <4=> NRF_CLOCK_LF_ACCURACY_75_PPM
12256// <5=> NRF_CLOCK_LF_ACCURACY_50_PPM
12257// <6=> NRF_CLOCK_LF_ACCURACY_30_PPM
12258// <7=> NRF_CLOCK_LF_ACCURACY_20_PPM
12259// <8=> NRF_CLOCK_LF_ACCURACY_10_PPM
12260// <9=> NRF_CLOCK_LF_ACCURACY_5_PPM
12261// <10=> NRF_CLOCK_LF_ACCURACY_2_PPM
12262// <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
12263
12264#ifndef NRF_SDH_CLOCK_LF_ACCURACY
12265#define NRF_SDH_CLOCK_LF_ACCURACY 1
12266#endif
12267
12268// </h>
12269//==========================================================
12270
12271// <h> SDH Observers - Observers and priority levels
12272
12273//==========================================================
12274// <o> NRF_SDH_REQ_OBSERVER_PRIO_LEVELS - Total number of priority levels for request observers.
12275// <i> This setting configures the number of priority levels available for the SoftDevice request event handlers.
12276// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
12277
12278#ifndef NRF_SDH_REQ_OBSERVER_PRIO_LEVELS
12279#define NRF_SDH_REQ_OBSERVER_PRIO_LEVELS 2
12280#endif
12281
12282// <o> NRF_SDH_STATE_OBSERVER_PRIO_LEVELS - Total number of priority levels for state observers.
12283// <i> This setting configures the number of priority levels available for the SoftDevice state event handlers.
12284// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
12285
12286#ifndef NRF_SDH_STATE_OBSERVER_PRIO_LEVELS
12287#define NRF_SDH_STATE_OBSERVER_PRIO_LEVELS 2
12288#endif
12289
12290// <o> NRF_SDH_STACK_OBSERVER_PRIO_LEVELS - Total number of priority levels for stack event observers.
12291// <i> This setting configures the number of priority levels available for the SoftDevice stack event handlers (ANT, BLE, SoC).
12292// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
12293
12294#ifndef NRF_SDH_STACK_OBSERVER_PRIO_LEVELS
12295#define NRF_SDH_STACK_OBSERVER_PRIO_LEVELS 2
12296#endif
12297
12298
12299// <h> State Observers priorities - Invididual priorities
12300
12301//==========================================================
12302// <o> CLOCK_CONFIG_STATE_OBSERVER_PRIO
12303// <i> Priority with which state events are dispatched to the Clock driver.
12304
12305#ifndef CLOCK_CONFIG_STATE_OBSERVER_PRIO
12306#define CLOCK_CONFIG_STATE_OBSERVER_PRIO 0
12307#endif
12308
12309// <o> POWER_CONFIG_STATE_OBSERVER_PRIO
12310// <i> Priority with which state events are dispatched to the Power driver.
12311
12312#ifndef POWER_CONFIG_STATE_OBSERVER_PRIO
12313#define POWER_CONFIG_STATE_OBSERVER_PRIO 0
12314#endif
12315
12316// <o> RNG_CONFIG_STATE_OBSERVER_PRIO
12317// <i> Priority with which state events are dispatched to this module.
12318
12319#ifndef RNG_CONFIG_STATE_OBSERVER_PRIO
12320#define RNG_CONFIG_STATE_OBSERVER_PRIO 0
12321#endif
12322
12323// </h>
12324//==========================================================
12325
12326// <h> Stack Event Observers priorities - Invididual priorities
12327
12328//==========================================================
12329// <o> NRF_SDH_ANT_STACK_OBSERVER_PRIO
12330// <i> This setting configures the priority with which ANT events are processed with respect to other events coming from the stack.
12331// <i> Modify this setting if you need to have ANT events dispatched before or after other stack events, such as BLE or SoC.
12332// <i> Zero is the highest priority.
12333
12334#ifndef NRF_SDH_ANT_STACK_OBSERVER_PRIO
12335#define NRF_SDH_ANT_STACK_OBSERVER_PRIO 0
12336#endif
12337
12338// <o> NRF_SDH_BLE_STACK_OBSERVER_PRIO
12339// <i> This setting configures the priority with which BLE events are processed with respect to other events coming from the stack.
12340// <i> Modify this setting if you need to have BLE events dispatched before or after other stack events, such as ANT or SoC.
12341// <i> Zero is the highest priority.
12342
12343#ifndef NRF_SDH_BLE_STACK_OBSERVER_PRIO
12344#define NRF_SDH_BLE_STACK_OBSERVER_PRIO 0
12345#endif
12346
12347// <o> NRF_SDH_SOC_STACK_OBSERVER_PRIO
12348// <i> This setting configures the priority with which SoC events are processed with respect to other events coming from the stack.
12349// <i> Modify this setting if you need to have SoC events dispatched before or after other stack events, such as ANT or BLE.
12350// <i> Zero is the highest priority.
12351
12352#ifndef NRF_SDH_SOC_STACK_OBSERVER_PRIO
12353#define NRF_SDH_SOC_STACK_OBSERVER_PRIO 0
12354#endif
12355
12356// </h>
12357//==========================================================
12358
12359// </h>
12360//==========================================================
12361
12362
12363// </e>
12364
12365// <e> NRF_SDH_SOC_ENABLED - nrf_sdh_soc - SoftDevice SoC event handler
12366//==========================================================
12367#ifndef NRF_SDH_SOC_ENABLED
12368#define NRF_SDH_SOC_ENABLED 1
12369#endif
12370// <h> SoC Observers - Observers and priority levels
12371
12372//==========================================================
12373// <o> NRF_SDH_SOC_OBSERVER_PRIO_LEVELS - Total number of priority levels for SoC observers.
12374// <i> This setting configures the number of priority levels available for the SoC event handlers.
12375// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
12376
12377#ifndef NRF_SDH_SOC_OBSERVER_PRIO_LEVELS
12378#define NRF_SDH_SOC_OBSERVER_PRIO_LEVELS 2
12379#endif
12380
12381// <h> SoC Observers priorities - Invididual priorities
12382
12383//==========================================================
12384// <o> BLE_DFU_SOC_OBSERVER_PRIO
12385// <i> Priority with which BLE events are dispatched to the DFU Service.
12386
12387#ifndef BLE_DFU_SOC_OBSERVER_PRIO
12388#define BLE_DFU_SOC_OBSERVER_PRIO 1
12389#endif
12390
12391// <o> CLOCK_CONFIG_SOC_OBSERVER_PRIO
12392// <i> Priority with which SoC events are dispatched to the Clock driver.
12393
12394#ifndef CLOCK_CONFIG_SOC_OBSERVER_PRIO
12395#define CLOCK_CONFIG_SOC_OBSERVER_PRIO 0
12396#endif
12397
12398// <o> POWER_CONFIG_SOC_OBSERVER_PRIO
12399// <i> Priority with which SoC events are dispatched to the Power driver.
12400
12401#ifndef POWER_CONFIG_SOC_OBSERVER_PRIO
12402#define POWER_CONFIG_SOC_OBSERVER_PRIO 0
12403#endif
12404
12405// </h>
12406//==========================================================
12407
12408// </h>
12409//==========================================================
12410
12411
12412// </e>
12413
12414// </h>
12415//==========================================================
12416
12417// <<< end of configuration section >>>
12418#endif //SDK_CONFIG_H
12419
12420