Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
sdk_config.h
Go to the documentation of this file.
1
41#ifndef SDK_CONFIG_H
42#define SDK_CONFIG_H
43// <<< Use Configuration Wizard in Context Menu >>>\n
44#ifdef USE_APP_CONFIG
45#include "app_config.h"
46#endif
47// <h> Application
48
49//==========================================================
50// <o> ADV_INTERVAL - Advertising interval (in units of 0.625 ms)
51#ifndef ADV_INTERVAL
52#define ADV_INTERVAL 300
53#endif
54
55// <s> DEVICE_NAME - Name of device. Will be included in the advertising data.
56#ifndef DEVICE_NAME
57#define DEVICE_NAME "NordicLESCApp"
58#endif
59
60// <o> NRF_BLE_GQ_QUEUE_SIZE - Queue size for BLE GATT Queue module.
61#ifndef NRF_BLE_GQ_QUEUE_SIZE
62#define NRF_BLE_GQ_QUEUE_SIZE 8
63#endif
64
65// </h>
66//==========================================================
67
68// <h> Board Support
69
70//==========================================================
71// <q> BSP_BTN_BLE_ENABLED - bsp_btn_ble - Button Control for BLE
72
73#ifndef BSP_BTN_BLE_ENABLED
74#define BSP_BTN_BLE_ENABLED 0
75#endif
76
77// </h>
78//==========================================================
79
80// <h> nRF_BLE
81
82//==========================================================
83// <q> BLE_ADVERTISING_ENABLED - ble_advertising - Advertising module
84
85#ifndef BLE_ADVERTISING_ENABLED
86#define BLE_ADVERTISING_ENABLED 0
87#endif
88
89// <q> BLE_DB_DISCOVERY_ENABLED - ble_db_discovery - Database discovery module
90
91#ifndef BLE_DB_DISCOVERY_ENABLED
92#define BLE_DB_DISCOVERY_ENABLED 0
93#endif
94
95// <e> NRF_BLE_CONN_PARAMS_ENABLED - ble_conn_params - Initiating and executing a connection parameters negotiation
96// procedure
97//==========================================================
98#ifndef NRF_BLE_CONN_PARAMS_ENABLED
99#define NRF_BLE_CONN_PARAMS_ENABLED 0
100#endif
101// <o> NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION - The largest acceptable deviation in slave latency.
102// <i> The largest deviation (+ or -) from the requested slave latency that will not be renegotiated.
103
104#ifndef NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION
105#define NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION 499
106#endif
107
108// <o> NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION - The largest acceptable deviation (in 10 ms units) in
109// supervision timeout. <i> The largest deviation (+ or -, in 10 ms units) from the requested supervision timeout that
110// will not be renegotiated.
111
112#ifndef NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION
113#define NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION 65535
114#endif
115
116// </e>
117
118// <e> NRF_BLE_GATT_ENABLED - nrf_ble_gatt - GATT module
119//==========================================================
120#ifndef NRF_BLE_GATT_ENABLED
121#define NRF_BLE_GATT_ENABLED 0
122#endif
123// <q> NRF_BLE_GATT_MTU_EXCHANGE_INITIATION_ENABLED - Enable GATT MTU exchange initiation
124
125#ifndef NRF_BLE_GATT_MTU_EXCHANGE_INITIATION_ENABLED
126#define NRF_BLE_GATT_MTU_EXCHANGE_INITIATION_ENABLED 0
127#endif
128
129// </e>
130
131// <e> NRF_BLE_GQ_ENABLED - nrf_ble_gq - BLE GATT Queue Module
132//==========================================================
133#ifndef NRF_BLE_GQ_ENABLED
134#define NRF_BLE_GQ_ENABLED 0
135#endif
136// <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE - Default size of a single element in the pool of memory objects.
137#ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE
138#define NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE 20
139#endif
140
141// <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT - Default number of elements in the pool of memory objects.
142#ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT
143#define NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT 8
144#endif
145
146// <o> NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN - Maximal size of the data inside GATTC write request (in bytes).
147#ifndef NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN
148#define NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN 2
149#endif
150
151// <o> NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN - Maximal size of the data inside GATTC notification or indication request (in
152// bytes).
153#ifndef NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN
154#define NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN 16
155#endif
156
157// </e>
158
159// <e> NRF_BLE_QWR_ENABLED - nrf_ble_qwr - Queued writes support module (prepare/execute write)
160//==========================================================
161#ifndef NRF_BLE_QWR_ENABLED
162#define NRF_BLE_QWR_ENABLED 0
163#endif
164// <o> NRF_BLE_QWR_MAX_ATTR - Maximum number of attribute handles that can be registered. This number must be adjusted
165// according to the number of attributes for which Queued Writes will be enabled. If it is zero, the module will reject
166// all Queued Write requests.
167#ifndef NRF_BLE_QWR_MAX_ATTR
168#define NRF_BLE_QWR_MAX_ATTR 0
169#endif
170
171// </e>
172
173// <e> NRF_BLE_SCAN_ENABLED - nrf_ble_scan - Scanning Module
174//==========================================================
175#ifndef NRF_BLE_SCAN_ENABLED
176#define NRF_BLE_SCAN_ENABLED 0
177#endif
178// <o> NRF_BLE_SCAN_BUFFER - Data length for an advertising set.
179#ifndef NRF_BLE_SCAN_BUFFER
180#define NRF_BLE_SCAN_BUFFER 31
181#endif
182
183// <o> NRF_BLE_SCAN_NAME_MAX_LEN - Maximum size for the name to search in the advertisement report.
184#ifndef NRF_BLE_SCAN_NAME_MAX_LEN
185#define NRF_BLE_SCAN_NAME_MAX_LEN 32
186#endif
187
188// <o> NRF_BLE_SCAN_SHORT_NAME_MAX_LEN - Maximum size of the short name to search for in the advertisement report.
189#ifndef NRF_BLE_SCAN_SHORT_NAME_MAX_LEN
190#define NRF_BLE_SCAN_SHORT_NAME_MAX_LEN 32
191#endif
192
193// <o> NRF_BLE_SCAN_SCAN_INTERVAL - Scanning interval. Determines the scan interval in units of 0.625 millisecond.
194#ifndef NRF_BLE_SCAN_SCAN_INTERVAL
195#define NRF_BLE_SCAN_SCAN_INTERVAL 160
196#endif
197
198// <o> NRF_BLE_SCAN_SCAN_DURATION - Duration of a scanning session in units of 10 ms. Range: 0x0001 - 0xFFFF (10 ms
199// to 10.9225 ms). If set to 0x0000, the scanning continues until it is explicitly disabled.
200#ifndef NRF_BLE_SCAN_SCAN_DURATION
201#define NRF_BLE_SCAN_SCAN_DURATION 0
202#endif
203
204// <o> NRF_BLE_SCAN_SCAN_WINDOW - Scanning window. Determines the scanning window in units of 0.625 millisecond.
205#ifndef NRF_BLE_SCAN_SCAN_WINDOW
206#define NRF_BLE_SCAN_SCAN_WINDOW 80
207#endif
208
209// <o> NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL - Determines minimum connection interval in milliseconds.
210#ifndef NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL
211#define NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL 7.5
212#endif
213
214// <o> NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL - Determines maximum connection interval in milliseconds.
215#ifndef NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL
216#define NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL 30
217#endif
218
219// <o> NRF_BLE_SCAN_SLAVE_LATENCY - Determines the slave latency in counts of connection events.
220#ifndef NRF_BLE_SCAN_SLAVE_LATENCY
221#define NRF_BLE_SCAN_SLAVE_LATENCY 0
222#endif
223
224// <o> NRF_BLE_SCAN_SUPERVISION_TIMEOUT - Determines the supervision time-out in units of 10 millisecond.
225#ifndef NRF_BLE_SCAN_SUPERVISION_TIMEOUT
226#define NRF_BLE_SCAN_SUPERVISION_TIMEOUT 500
227#endif
228
229// <o> NRF_BLE_SCAN_SCAN_PHY - PHY to scan on.
230
231// <0=> BLE_GAP_PHY_AUTO
232// <1=> BLE_GAP_PHY_1MBPS
233// <2=> BLE_GAP_PHY_2MBPS
234// <4=> BLE_GAP_PHY_CODED
235// <255=> BLE_GAP_PHY_NOT_SET
236
237#ifndef NRF_BLE_SCAN_SCAN_PHY
238#define NRF_BLE_SCAN_SCAN_PHY 1
239#endif
240
241// <e> NRF_BLE_SCAN_FILTER_ENABLE - Enabling filters for the Scanning Module.
242//==========================================================
243#ifndef NRF_BLE_SCAN_FILTER_ENABLE
244#define NRF_BLE_SCAN_FILTER_ENABLE 1
245#endif
246// <o> NRF_BLE_SCAN_UUID_CNT - Number of filters for UUIDs.
247#ifndef NRF_BLE_SCAN_UUID_CNT
248#define NRF_BLE_SCAN_UUID_CNT 1
249#endif
250
251// <o> NRF_BLE_SCAN_NAME_CNT - Number of name filters.
252#ifndef NRF_BLE_SCAN_NAME_CNT
253#define NRF_BLE_SCAN_NAME_CNT 1
254#endif
255
256// <o> NRF_BLE_SCAN_SHORT_NAME_CNT - Number of short name filters.
257#ifndef NRF_BLE_SCAN_SHORT_NAME_CNT
258#define NRF_BLE_SCAN_SHORT_NAME_CNT 0
259#endif
260
261// <o> NRF_BLE_SCAN_ADDRESS_CNT - Number of address filters.
262#ifndef NRF_BLE_SCAN_ADDRESS_CNT
263#define NRF_BLE_SCAN_ADDRESS_CNT 0
264#endif
265
266// <o> NRF_BLE_SCAN_APPEARANCE_CNT - Number of appearance filters.
267#ifndef NRF_BLE_SCAN_APPEARANCE_CNT
268#define NRF_BLE_SCAN_APPEARANCE_CNT 0
269#endif
270
271// </e>
272
273// </e>
274
275// <e> PEER_MANAGER_ENABLED - peer_manager - Peer Manager
276//==========================================================
277#ifndef PEER_MANAGER_ENABLED
278#define PEER_MANAGER_ENABLED 0
279#endif
280// <o> PM_MAX_REGISTRANTS - Number of event handlers that can be registered.
281#ifndef PM_MAX_REGISTRANTS
282#define PM_MAX_REGISTRANTS 3
283#endif
284
285// <o> PM_FLASH_BUFFERS - Number of internal buffers for flash operations.
286// <i> Decrease this value to lower RAM usage.
287
288#ifndef PM_FLASH_BUFFERS
289#define PM_FLASH_BUFFERS 4
290#endif
291
292// <q> PM_CENTRAL_ENABLED - Enable/disable central-specific Peer Manager functionality.
293
294// <i> Enable/disable central-specific Peer Manager functionality.
295
296#ifndef PM_CENTRAL_ENABLED
297#define PM_CENTRAL_ENABLED 0
298#endif
299
300// <q> PM_SERVICE_CHANGED_ENABLED - Enable/disable the service changed management for GATT server in Peer Manager.
301
302// <i> If not using a GATT server, or using a server wihout a service changed characteristic,
303// <i> disable this to save code space.
304
305#ifndef PM_SERVICE_CHANGED_ENABLED
306#define PM_SERVICE_CHANGED_ENABLED 0
307#endif
308
309// <q> PM_PEER_RANKS_ENABLED - Enable/disable the peer rank management in Peer Manager.
310
311// <i> Set this to false to save code space if not using the peer rank API.
312
313#ifndef PM_PEER_RANKS_ENABLED
314#define PM_PEER_RANKS_ENABLED 0
315#endif
316
317// <q> PM_LESC_ENABLED - Enable/disable LESC support in Peer Manager.
318
319// <i> If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to respond to LESC-related BLE
320// events. If LESC support is not required, set this to false to save code space.
321
322#ifndef PM_LESC_ENABLED
323#define PM_LESC_ENABLED 0
324#endif
325
326// <e> PM_RA_PROTECTION_ENABLED - Enable/disable protection against repeated pairing attempts in Peer Manager.
327//==========================================================
328#ifndef PM_RA_PROTECTION_ENABLED
329#define PM_RA_PROTECTION_ENABLED 0
330#endif
331// <o> PM_RA_PROTECTION_TRACKED_PEERS_NUM - Maximum number of peers whose authorization status can be tracked.
332#ifndef PM_RA_PROTECTION_TRACKED_PEERS_NUM
333#define PM_RA_PROTECTION_TRACKED_PEERS_NUM 8
334#endif
335
336// <o> PM_RA_PROTECTION_MIN_WAIT_INTERVAL - Minimum waiting interval (in ms) before a new pairing attempt can be
337// initiated.
338#ifndef PM_RA_PROTECTION_MIN_WAIT_INTERVAL
339#define PM_RA_PROTECTION_MIN_WAIT_INTERVAL 4000
340#endif
341
342// <o> PM_RA_PROTECTION_MAX_WAIT_INTERVAL - Maximum waiting interval (in ms) before a new pairing attempt can be
343// initiated.
344#ifndef PM_RA_PROTECTION_MAX_WAIT_INTERVAL
345#define PM_RA_PROTECTION_MAX_WAIT_INTERVAL 64000
346#endif
347
348// <o> PM_RA_PROTECTION_REWARD_PERIOD - Reward period (in ms).
349// <i> The waiting interval is gradually decreased when no new failed pairing attempts are made during reward period.
350
351#ifndef PM_RA_PROTECTION_REWARD_PERIOD
352#define PM_RA_PROTECTION_REWARD_PERIOD 10000
353#endif
354
355// </e>
356
357// <o> PM_HANDLER_SEC_DELAY_MS - Delay before starting security.
358// <i> This might be necessary for interoperability reasons, especially as peripheral.
359
360#ifndef PM_HANDLER_SEC_DELAY_MS
361#define PM_HANDLER_SEC_DELAY_MS 0
362#endif
363
364// </e>
365
366// <h> nrf_ble_lesc - Le Secure Connection
367
368//==========================================================
369// <q> NRF_BLE_LESC_ENABLED - Enable LESC Module
370
371#ifndef NRF_BLE_LESC_ENABLED
372#define NRF_BLE_LESC_ENABLED 0
373#endif
374
375// <q> NRF_BLE_LESC_GENERATE_NEW_KEYS - Generate new LESC keys after every pairing attempt. Keys are generated on the
376// auth status event
377
378#ifndef NRF_BLE_LESC_GENERATE_NEW_KEYS
379#define NRF_BLE_LESC_GENERATE_NEW_KEYS 0
380#endif
381
382// </h>
383//==========================================================
384
385// </h>
386//==========================================================
387
388// <h> nRF_BLE_Services
389
390//==========================================================
391// <q> BLE_HRS_C_ENABLED - ble_hrs_c - Heart Rate Service Client
392
393#ifndef BLE_HRS_C_ENABLED
394#define BLE_HRS_C_ENABLED 0
395#endif
396
397// <q> BLE_HRS_ENABLED - ble_hrs - Heart Rate Service
398
399#ifndef BLE_HRS_ENABLED
400#define BLE_HRS_ENABLED 0
401#endif
402
403// </h>
404//==========================================================
405
406// <h> nRF_Crypto
407
408//==========================================================
409// <e> NRF_CRYPTO_ENABLED - nrf_crypto - Cryptography library.
410//==========================================================
411#ifndef NRF_CRYPTO_ENABLED
412#define NRF_CRYPTO_ENABLED 1
413#endif
414// <o> NRF_CRYPTO_ALLOCATOR - Memory allocator
415
416// <i> Choose memory allocator used by nrf_crypto. Default is alloca if possible or nrf_malloc otherwise. If 'User
417// macros' are selected, the user has to create 'nrf_crypto_allocator.h' file that contains NRF_CRYPTO_ALLOC,
418// NRF_CRYPTO_FREE, and NRF_CRYPTO_ALLOC_ON_STACK. <0=> Default <1=> User macros <2=> On stack (alloca) <3=> C dynamic
419// memory (malloc) <4=> SDK Memory Manager (nrf_malloc)
420
421#ifndef NRF_CRYPTO_ALLOCATOR
422#define NRF_CRYPTO_ALLOCATOR 0
423#endif
424
425// <e> NRF_CRYPTO_BACKEND_CC310_BL_ENABLED - Enable the ARM Cryptocell CC310 reduced backend.
426
427// <i> The CC310 hardware-accelerated cryptography backend with reduced functionality and footprint (only available on
428// nRF52840).
429//==========================================================
430#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ENABLED
431#define NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 0
432#endif
433// <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310_BL.
434
435#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED
436#define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 0
437#endif
438
439// <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310_BL.
440
441#ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED
442#define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 1
443#endif
444
445// <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED - CC310_BL SHA-256 hash functionality.
446
447// <i> CC310_BL backend implementation for hardware-accelerated SHA-256.
448
449#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED
450#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 1
451#endif
452
453// <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED - nrf_cc310_bl buffers to RAM before running hash
454// operation
455
456// <i> Enabling this makes hashing of addresses in FLASH range possible. Size of buffer allocated for hashing is set by
457// NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
458
459#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED
460#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 0
461#endif
462
463// <o> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE - nrf_cc310_bl hash outputs digests in little endian
464// <i> Makes the nrf_cc310_bl hash functions output digests in little endian format. Only for use in nRF SDK DFU!
465
466#ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
467#define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 4096
468#endif
469
470// <q> NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310 bl.
471
472// <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint
473// must be used
474
475#ifndef NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED
476#define NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 1
477#endif
478
479// </e>
480
481// <e> NRF_CRYPTO_BACKEND_CC310_ENABLED - Enable the ARM Cryptocell CC310 backend.
482
483// <i> The CC310 hardware-accelerated cryptography backend (only available on nRF52840).
484//==========================================================
485#ifndef NRF_CRYPTO_BACKEND_CC310_ENABLED
486#define NRF_CRYPTO_BACKEND_CC310_ENABLED 0
487#endif
488// <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED - Enable the AES CBC mode using CC310.
489
490#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED
491#define NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 1
492#endif
493
494// <q> NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED - Enable the AES CTR mode using CC310.
495
496#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED
497#define NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 1
498#endif
499
500// <q> NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED - Enable the AES ECB mode using CC310.
501
502#ifndef NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED
503#define NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 1
504#endif
505
506// <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED - Enable the AES CBC_MAC mode using CC310.
507
508#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED
509#define NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 1
510#endif
511
512// <q> NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED - Enable the AES CMAC mode using CC310.
513
514#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED
515#define NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 1
516#endif
517
518// <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED - Enable the AES CCM mode using CC310.
519
520#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED
521#define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1
522#endif
523
524// <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED - Enable the AES CCM* mode using CC310.
525
526#ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED
527#define NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 1
528#endif
529
530// <q> NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using CC310.
531
532#ifndef NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED
533#define NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 1
534#endif
535
536// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED - Enable the secp160r1 elliptic curve support using CC310.
537
538#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED
539#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 1
540#endif
541
542// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED - Enable the secp160r2 elliptic curve support using CC310.
543
544#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED
545#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 1
546#endif
547
548// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED - Enable the secp192r1 elliptic curve support using CC310.
549
550#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED
551#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 1
552#endif
553
554// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310.
555
556#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED
557#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 1
558#endif
559
560// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310.
561
562#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED
563#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1
564#endif
565
566// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED - Enable the secp384r1 elliptic curve support using CC310.
567
568#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED
569#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 1
570#endif
571
572// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED - Enable the secp521r1 elliptic curve support using CC310.
573
574#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED
575#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 1
576#endif
577
578// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED - Enable the secp160k1 elliptic curve support using CC310.
579
580#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED
581#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 1
582#endif
583
584// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED - Enable the secp192k1 elliptic curve support using CC310.
585
586#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED
587#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 1
588#endif
589
590// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED - Enable the secp224k1 elliptic curve support using CC310.
591
592#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED
593#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 1
594#endif
595
596// <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED - Enable the secp256k1 elliptic curve support using CC310.
597
598#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED
599#define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 1
600#endif
601
602// <q> NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED - Enable the Curve25519 curve support using CC310.
603
604#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED
605#define NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 1
606#endif
607
608// <q> NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED - Enable the Ed25519 curve support using CC310.
609
610#ifndef NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED
611#define NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 1
612#endif
613
614// <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED - CC310 SHA-256 hash functionality.
615
616// <i> CC310 backend implementation for hardware-accelerated SHA-256.
617
618#ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED
619#define NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 1
620#endif
621
622// <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED - CC310 SHA-512 hash functionality
623
624// <i> CC310 backend implementation for SHA-512 (in software).
625
626#ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED
627#define NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 1
628#endif
629
630// <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED - CC310 HMAC using SHA-256
631
632// <i> CC310 backend implementation for HMAC using hardware-accelerated SHA-256.
633
634#ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED
635#define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 1
636#endif
637
638// <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED - CC310 HMAC using SHA-512
639
640// <i> CC310 backend implementation for HMAC using SHA-512 (in software).
641
642#ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED
643#define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 1
644#endif
645
646// <q> NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED - Enable RNG support using CC310.
647
648#ifndef NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED
649#define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1
650#endif
651
652// <q> NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310.
653
654// <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint
655// must be used
656
657#ifndef NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED
658#define NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 1
659#endif
660
661// </e>
662
663// <e> NRF_CRYPTO_BACKEND_CIFRA_ENABLED - Enable the Cifra backend.
664//==========================================================
665#ifndef NRF_CRYPTO_BACKEND_CIFRA_ENABLED
666#define NRF_CRYPTO_BACKEND_CIFRA_ENABLED 0
667#endif
668// <q> NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED - Enable the AES EAX mode using Cifra.
669
670#ifndef NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED
671#define NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 1
672#endif
673
674// </e>
675
676// <e> NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED - Enable the mbed TLS backend.
677//==========================================================
678#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED
679#define NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 0
680#endif
681// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED - Enable the AES CBC mode mbed TLS.
682
683#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED
684#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 1
685#endif
686
687// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED - Enable the AES CTR mode using mbed TLS.
688
689#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED
690#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 1
691#endif
692
693// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED - Enable the AES CFB mode using mbed TLS.
694
695#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED
696#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 1
697#endif
698
699// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED - Enable the AES ECB mode using mbed TLS.
700
701#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED
702#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 1
703#endif
704
705// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED - Enable the AES CBC MAC mode using mbed TLS.
706
707#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED
708#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 1
709#endif
710
711// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED - Enable the AES CMAC mode using mbed TLS.
712
713#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED
714#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 1
715#endif
716
717// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED - Enable the AES CCM mode using mbed TLS.
718
719#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED
720#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 1
721#endif
722
723// <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED - Enable the AES GCM mode using mbed TLS.
724
725#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED
726#define NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 1
727#endif
728
729// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
730
731// <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using MBEDTLS
732
733#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED
734#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 1
735#endif
736
737// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
738
739// <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using MBEDTLS
740
741#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED
742#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 1
743#endif
744
745// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
746
747// <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using MBEDTLS
748
749#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED
750#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 1
751#endif
752
753// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED - Enable secp384r1 (NIST 384-bit) curve
754
755// <i> Enable this setting if you need secp384r1 (NIST 384-bit) support using MBEDTLS
756
757#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED
758#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 1
759#endif
760
761// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED - Enable secp521r1 (NIST 521-bit) curve
762
763// <i> Enable this setting if you need secp521r1 (NIST 521-bit) support using MBEDTLS
764
765#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED
766#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 1
767#endif
768
769// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED - Enable secp192k1 (Koblitz 192-bit) curve
770
771// <i> Enable this setting if you need secp192k1 (Koblitz 192-bit) support using MBEDTLS
772
773#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED
774#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 1
775#endif
776
777// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED - Enable secp224k1 (Koblitz 224-bit) curve
778
779// <i> Enable this setting if you need secp224k1 (Koblitz 224-bit) support using MBEDTLS
780
781#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED
782#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 1
783#endif
784
785// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
786
787// <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using MBEDTLS
788
789#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED
790#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 1
791#endif
792
793// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED - Enable bp256r1 (Brainpool 256-bit) curve
794
795// <i> Enable this setting if you need bp256r1 (Brainpool 256-bit) support using MBEDTLS
796
797#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED
798#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 1
799#endif
800
801// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED - Enable bp384r1 (Brainpool 384-bit) curve
802
803// <i> Enable this setting if you need bp384r1 (Brainpool 384-bit) support using MBEDTLS
804
805#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED
806#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 1
807#endif
808
809// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED - Enable bp512r1 (Brainpool 512-bit) curve
810
811// <i> Enable this setting if you need bp512r1 (Brainpool 512-bit) support using MBEDTLS
812
813#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED
814#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 1
815#endif
816
817// <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED - Enable Curve25519 curve
818
819// <i> Enable this setting if you need Curve25519 support using MBEDTLS
820
821#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED
822#define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 1
823#endif
824
825// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED - Enable mbed TLS SHA-256 hash functionality.
826
827// <i> mbed TLS backend implementation for SHA-256.
828
829#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED
830#define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 1
831#endif
832
833// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED - Enable mbed TLS SHA-512 hash functionality.
834
835// <i> mbed TLS backend implementation for SHA-512.
836
837#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED
838#define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 1
839#endif
840
841// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED - Enable mbed TLS HMAC using SHA-256.
842
843// <i> mbed TLS backend implementation for HMAC using SHA-256.
844
845#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED
846#define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 1
847#endif
848
849// <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED - Enable mbed TLS HMAC using SHA-512.
850
851// <i> mbed TLS backend implementation for HMAC using SHA-512.
852
853#ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED
854#define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 1
855#endif
856
857// </e>
858
859// <e> NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED - Enable the micro-ecc backend.
860//==========================================================
861#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED
862#define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 0
863#endif
864// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
865
866// <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using micro-ecc
867
868#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED
869#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 1
870#endif
871
872// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
873
874// <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using micro-ecc
875
876#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED
877#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 1
878#endif
879
880// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
881
882// <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using micro-ecc
883
884#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED
885#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 1
886#endif
887
888// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
889
890// <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using micro-ecc
891
892#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED
893#define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 1
894#endif
895
896// </e>
897
898// <e> NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED - Enable the nRF HW RNG backend.
899
900// <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices.
901//==========================================================
902#ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED
903#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 1
904#endif
905// <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm.
906
907// <i> Enable mbed TLS CTR-DRBG standardized by NIST (NIST SP 800-90A Rev. 1). The nRF HW RNG is used as an entropy
908// source for seeding.
909
910#ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED
911#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 1
912#endif
913
914// </e>
915
916// <e> NRF_CRYPTO_BACKEND_NRF_SW_ENABLED - Enable the legacy nRFx sw for crypto.
917
918// <i> The nRF SW cryptography backend (only used in bootloader context).
919//==========================================================
920#ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED
921#define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 0
922#endif
923// <q> NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED - nRF SW hash backend support for SHA-256
924
925// <i> The nRF SW backend provide access to nRF SDK legacy hash implementation of SHA-256.
926
927#ifndef NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED
928#define NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 1
929#endif
930
931// </e>
932
933// <e> NRF_CRYPTO_BACKEND_OBERON_ENABLED - Enable the Oberon backend
934
935// <i> The Oberon backend
936//==========================================================
937#ifndef NRF_CRYPTO_BACKEND_OBERON_ENABLED
938#define NRF_CRYPTO_BACKEND_OBERON_ENABLED 1
939#endif
940// <q> NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using Oberon.
941
942#ifndef NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED
943#define NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 1
944#endif
945
946// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED - Enable secp256r1 curve
947
948// <i> Enable this setting if you need secp256r1 curve support using Oberon library
949
950#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED
951#define NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 1
952#endif
953
954// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED - Enable Curve25519 ECDH
955
956// <i> Enable this setting if you need Curve25519 ECDH support using Oberon library
957
958#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED
959#define NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 1
960#endif
961
962// <q> NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED - Enable Ed25519 signature scheme
963
964// <i> Enable this setting if you need Ed25519 support using Oberon library
965
966#ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED
967#define NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 1
968#endif
969
970// <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED - Oberon SHA-256 hash functionality
971
972// <i> Oberon backend implementation for SHA-256.
973
974#ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED
975#define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 1
976#endif
977
978// <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED - Oberon SHA-512 hash functionality
979
980// <i> Oberon backend implementation for SHA-512.
981
982#ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED
983#define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 1
984#endif
985
986// <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED - Oberon HMAC using SHA-256
987
988// <i> Oberon backend implementation for HMAC using SHA-256.
989
990#ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED
991#define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 1
992#endif
993
994// <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED - Oberon HMAC using SHA-512
995
996// <i> Oberon backend implementation for HMAC using SHA-512.
997
998#ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED
999#define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 1
1000#endif
1001
1002// </e>
1003
1004// <e> NRF_CRYPTO_BACKEND_OPTIGA_ENABLED - Enable the nrf_crypto Optiga Trust X backend.
1005
1006// <i> Enables the nrf_crypto backend for Optiga Trust X devices.
1007//==========================================================
1008#ifndef NRF_CRYPTO_BACKEND_OPTIGA_ENABLED
1009#define NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 0
1010#endif
1011// <q> NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED - Optiga backend support for RNG
1012
1013// <i> The Optiga backend provide external chip RNG.
1014
1015#ifndef NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED
1016#define NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 0
1017#endif
1018
1019// <q> NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED - Optiga backend support for ECC secp256r1
1020
1021// <i> The Optiga backend provide external chip ECC using secp256r1.
1022
1023#ifndef NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED
1024#define NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 1
1025#endif
1026
1027// </e>
1028
1029// <q> NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED - Big-endian byte order in raw Curve25519 data
1030
1031// <i> Enable big-endian byte order in Curve25519 API, if set to 1. Use little-endian, if set to 0.
1032
1033#ifndef NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED
1034#define NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 0
1035#endif
1036
1037// </e>
1038
1039// <h> nrf_crypto_rng - RNG Configuration
1040
1041//==========================================================
1042// <q> NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED - Use static memory buffers for context and temporary init buffer.
1043
1044// <i> Always recommended when using the nRF HW RNG as the context and temporary buffers are small. Consider disabling
1045// if using the CC310 RNG in a RAM constrained application. In this case, memory must be provided to
1046// nrf_crypto_rng_init, or it can be allocated internally provided that NRF_CRYPTO_ALLOCATOR does not allocate memory on
1047// the stack.
1048
1049#ifndef NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED
1050#define NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED 1
1051#endif
1052
1053// <q> NRF_CRYPTO_RNG_AUTO_INIT_ENABLED - Initialize the RNG module automatically when nrf_crypto is initialized.
1054
1055// <i> Automatic initialization is only supported with static or internally allocated context and temporary memory.
1056
1057#ifndef NRF_CRYPTO_RNG_AUTO_INIT_ENABLED
1058#define NRF_CRYPTO_RNG_AUTO_INIT_ENABLED 1
1059#endif
1060
1061// </h>
1062//==========================================================
1063
1064// </h>
1065//==========================================================
1066
1067// <h> nRF_Drivers
1068
1069//==========================================================
1070// <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer
1071//==========================================================
1072
1073// Warning, disabling the legacy driver also disables the non-legacy driver.
1074// Hence, having this set will also disable NRX_GPIOTE_ENABLED !
1075// That is why we comment this entire block
1076// This is namely more often the case when we want to move from legacy
1077//#ifndef GPIOTE_ENABLED
1078//#define GPIOTE_ENABLED 0
1079//#endif
1080
1081// <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
1082#ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
1083#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
1084#endif
1085
1086// <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
1087
1088// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1089// <0=> 0 (highest)
1090// <1=> 1
1091// <2=> 2
1092// <3=> 3
1093// <4=> 4
1094// <5=> 5
1095// <6=> 6
1096// <7=> 7
1097
1098#ifndef GPIOTE_CONFIG_IRQ_PRIORITY
1099#define GPIOTE_CONFIG_IRQ_PRIORITY 6
1100#endif
1101
1102// </e>
1103
1104// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
1105//==========================================================
1106#ifndef NRFX_GPIOTE_ENABLED
1107#define NRFX_GPIOTE_ENABLED 0
1108#endif
1109// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
1110#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
1111#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
1112#endif
1113
1114// <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
1115
1116// <0=> 0 (highest)
1117// <1=> 1
1118// <2=> 2
1119// <3=> 3
1120// <4=> 4
1121// <5=> 5
1122// <6=> 6
1123// <7=> 7
1124
1125#ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
1126#define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6
1127#endif
1128
1129// <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1130//==========================================================
1131#ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
1132#define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
1133#endif
1134// <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
1135
1136// <0=> Off
1137// <1=> Error
1138// <2=> Warning
1139// <3=> Info
1140// <4=> Debug
1141
1142#ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
1143#define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
1144#endif
1145
1146// <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
1147
1148// <0=> Default
1149// <1=> Black
1150// <2=> Red
1151// <3=> Green
1152// <4=> Yellow
1153// <5=> Blue
1154// <6=> Magenta
1155// <7=> Cyan
1156// <8=> White
1157
1158#ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
1159#define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
1160#endif
1161
1162// <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1163
1164// <0=> Default
1165// <1=> Black
1166// <2=> Red
1167// <3=> Green
1168// <4=> Yellow
1169// <5=> Blue
1170// <6=> Magenta
1171// <7=> Cyan
1172// <8=> White
1173
1174#ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
1175#define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
1176#endif
1177
1178// </e>
1179
1180// </e>
1181
1182// <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
1183//==========================================================
1184#ifndef NRFX_PRS_ENABLED
1185#define NRFX_PRS_ENABLED 0
1186#endif
1187// <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
1188
1189#ifndef NRFX_PRS_BOX_0_ENABLED
1190#define NRFX_PRS_BOX_0_ENABLED 0
1191#endif
1192
1193// <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
1194
1195#ifndef NRFX_PRS_BOX_1_ENABLED
1196#define NRFX_PRS_BOX_1_ENABLED 0
1197#endif
1198
1199// <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
1200
1201#ifndef NRFX_PRS_BOX_2_ENABLED
1202#define NRFX_PRS_BOX_2_ENABLED 0
1203#endif
1204
1205// <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
1206
1207#ifndef NRFX_PRS_BOX_3_ENABLED
1208#define NRFX_PRS_BOX_3_ENABLED 0
1209#endif
1210
1211// <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
1212
1213#ifndef NRFX_PRS_BOX_4_ENABLED
1214#define NRFX_PRS_BOX_4_ENABLED 0
1215#endif
1216
1217// <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
1218//==========================================================
1219#ifndef NRFX_PRS_CONFIG_LOG_ENABLED
1220#define NRFX_PRS_CONFIG_LOG_ENABLED 0
1221#endif
1222// <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level
1223
1224// <0=> Off
1225// <1=> Error
1226// <2=> Warning
1227// <3=> Info
1228// <4=> Debug
1229
1230#ifndef NRFX_PRS_CONFIG_LOG_LEVEL
1231#define NRFX_PRS_CONFIG_LOG_LEVEL 3
1232#endif
1233
1234// <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
1235
1236// <0=> Default
1237// <1=> Black
1238// <2=> Red
1239// <3=> Green
1240// <4=> Yellow
1241// <5=> Blue
1242// <6=> Magenta
1243// <7=> Cyan
1244// <8=> White
1245
1246#ifndef NRFX_PRS_CONFIG_INFO_COLOR
1247#define NRFX_PRS_CONFIG_INFO_COLOR 0
1248#endif
1249
1250// <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1251
1252// <0=> Default
1253// <1=> Black
1254// <2=> Red
1255// <3=> Green
1256// <4=> Yellow
1257// <5=> Blue
1258// <6=> Magenta
1259// <7=> Cyan
1260// <8=> White
1261
1262#ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
1263#define NRFX_PRS_CONFIG_DEBUG_COLOR 0
1264#endif
1265
1266// </e>
1267
1268// </e>
1269
1270// <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
1271//==========================================================
1272#ifndef NRFX_RNG_ENABLED
1273#define NRFX_RNG_ENABLED 0
1274#endif
1275// <q> NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction
1276
1277#ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
1278#define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
1279#endif
1280
1281// <o> NRFX_RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
1282
1283// <0=> 0 (highest)
1284// <1=> 1
1285// <2=> 2
1286// <3=> 3
1287// <4=> 4
1288// <5=> 5
1289// <6=> 6
1290// <7=> 7
1291
1292#ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
1293#define NRFX_RNG_CONFIG_IRQ_PRIORITY 6
1294#endif
1295
1296// <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
1297//==========================================================
1298#ifndef NRFX_RNG_CONFIG_LOG_ENABLED
1299#define NRFX_RNG_CONFIG_LOG_ENABLED 0
1300#endif
1301// <o> NRFX_RNG_CONFIG_LOG_LEVEL - Default Severity level
1302
1303// <0=> Off
1304// <1=> Error
1305// <2=> Warning
1306// <3=> Info
1307// <4=> Debug
1308
1309#ifndef NRFX_RNG_CONFIG_LOG_LEVEL
1310#define NRFX_RNG_CONFIG_LOG_LEVEL 3
1311#endif
1312
1313// <o> NRFX_RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
1314
1315// <0=> Default
1316// <1=> Black
1317// <2=> Red
1318// <3=> Green
1319// <4=> Yellow
1320// <5=> Blue
1321// <6=> Magenta
1322// <7=> Cyan
1323// <8=> White
1324
1325#ifndef NRFX_RNG_CONFIG_INFO_COLOR
1326#define NRFX_RNG_CONFIG_INFO_COLOR 0
1327#endif
1328
1329// <o> NRFX_RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1330
1331// <0=> Default
1332// <1=> Black
1333// <2=> Red
1334// <3=> Green
1335// <4=> Yellow
1336// <5=> Blue
1337// <6=> Magenta
1338// <7=> Cyan
1339// <8=> White
1340
1341#ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
1342#define NRFX_RNG_CONFIG_DEBUG_COLOR 0
1343#endif
1344
1345// </e>
1346
1347// </e>
1348
1349// <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
1350//==========================================================
1351#ifndef NRFX_TWI_ENABLED
1352#define NRFX_TWI_ENABLED 0
1353#endif
1354// <q> NRFX_TWI0_ENABLED - Enable TWI0 instance
1355
1356#ifndef NRFX_TWI0_ENABLED
1357#define NRFX_TWI0_ENABLED 0
1358#endif
1359
1360// <q> NRFX_TWI1_ENABLED - Enable TWI1 instance
1361
1362#ifndef NRFX_TWI1_ENABLED
1363#define NRFX_TWI1_ENABLED 0
1364#endif
1365
1366// <o> NRFX_TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
1367
1368// <26738688=> 100k
1369// <67108864=> 250k
1370// <104857600=> 400k
1371
1372#ifndef NRFX_TWI_DEFAULT_CONFIG_FREQUENCY
1373#define NRFX_TWI_DEFAULT_CONFIG_FREQUENCY 26738688
1374#endif
1375
1376// <q> NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
1377
1378#ifndef NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
1379#define NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
1380#endif
1381
1382// <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
1383
1384// <0=> 0 (highest)
1385// <1=> 1
1386// <2=> 2
1387// <3=> 3
1388// <4=> 4
1389// <5=> 5
1390// <6=> 6
1391// <7=> 7
1392
1393#ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
1394#define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
1395#endif
1396
1397// <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
1398//==========================================================
1399#ifndef NRFX_TWI_CONFIG_LOG_ENABLED
1400#define NRFX_TWI_CONFIG_LOG_ENABLED 0
1401#endif
1402// <o> NRFX_TWI_CONFIG_LOG_LEVEL - Default Severity level
1403
1404// <0=> Off
1405// <1=> Error
1406// <2=> Warning
1407// <3=> Info
1408// <4=> Debug
1409
1410#ifndef NRFX_TWI_CONFIG_LOG_LEVEL
1411#define NRFX_TWI_CONFIG_LOG_LEVEL 3
1412#endif
1413
1414// <o> NRFX_TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
1415
1416// <0=> Default
1417// <1=> Black
1418// <2=> Red
1419// <3=> Green
1420// <4=> Yellow
1421// <5=> Blue
1422// <6=> Magenta
1423// <7=> Cyan
1424// <8=> White
1425
1426#ifndef NRFX_TWI_CONFIG_INFO_COLOR
1427#define NRFX_TWI_CONFIG_INFO_COLOR 0
1428#endif
1429
1430// <o> NRFX_TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1431
1432// <0=> Default
1433// <1=> Black
1434// <2=> Red
1435// <3=> Green
1436// <4=> Yellow
1437// <5=> Blue
1438// <6=> Magenta
1439// <7=> Cyan
1440// <8=> White
1441
1442#ifndef NRFX_TWI_CONFIG_DEBUG_COLOR
1443#define NRFX_TWI_CONFIG_DEBUG_COLOR 0
1444#endif
1445
1446// </e>
1447
1448// </e>
1449
1450// <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
1451//==========================================================
1452#ifndef NRFX_UARTE_ENABLED
1453#define NRFX_UARTE_ENABLED 0
1454#endif
1455// <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
1456#ifndef NRFX_UARTE0_ENABLED
1457#define NRFX_UARTE0_ENABLED 0
1458#endif
1459
1460// <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control
1461
1462// <0=> Disabled
1463// <1=> Enabled
1464
1465#ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
1466#define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
1467#endif
1468
1469// <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity
1470
1471// <0=> Excluded
1472// <14=> Included
1473
1474#ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
1475#define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
1476#endif
1477
1478// <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
1479
1480// <323584=> 1200 baud
1481// <643072=> 2400 baud
1482// <1290240=> 4800 baud
1483// <2576384=> 9600 baud
1484// <3862528=> 14400 baud
1485// <5152768=> 19200 baud
1486// <7716864=> 28800 baud
1487// <8388608=> 31250 baud
1488// <10289152=> 38400 baud
1489// <15007744=> 56000 baud
1490// <15400960=> 57600 baud
1491// <20615168=> 76800 baud
1492// <30801920=> 115200 baud
1493// <61865984=> 230400 baud
1494// <67108864=> 250000 baud
1495// <121634816=> 460800 baud
1496// <251658240=> 921600 baud
1497// <268435456=> 1000000 baud
1498
1499#ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
1500#define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
1501#endif
1502
1503// <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
1504
1505// <0=> 0 (highest)
1506// <1=> 1
1507// <2=> 2
1508// <3=> 3
1509// <4=> 4
1510// <5=> 5
1511// <6=> 6
1512// <7=> 7
1513
1514#ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
1515#define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 6
1516#endif
1517
1518// <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1519//==========================================================
1520#ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
1521#define NRFX_UARTE_CONFIG_LOG_ENABLED 0
1522#endif
1523// <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level
1524
1525// <0=> Off
1526// <1=> Error
1527// <2=> Warning
1528// <3=> Info
1529// <4=> Debug
1530
1531#ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
1532#define NRFX_UARTE_CONFIG_LOG_LEVEL 3
1533#endif
1534
1535// <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
1536
1537// <0=> Default
1538// <1=> Black
1539// <2=> Red
1540// <3=> Green
1541// <4=> Yellow
1542// <5=> Blue
1543// <6=> Magenta
1544// <7=> Cyan
1545// <8=> White
1546
1547#ifndef NRFX_UARTE_CONFIG_INFO_COLOR
1548#define NRFX_UARTE_CONFIG_INFO_COLOR 0
1549#endif
1550
1551// <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1552
1553// <0=> Default
1554// <1=> Black
1555// <2=> Red
1556// <3=> Green
1557// <4=> Yellow
1558// <5=> Blue
1559// <6=> Magenta
1560// <7=> Cyan
1561// <8=> White
1562
1563#ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
1564#define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
1565#endif
1566
1567// </e>
1568
1569// </e>
1570
1571// <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
1572//==========================================================
1573#ifndef NRFX_UART_ENABLED
1574#define NRFX_UART_ENABLED 0
1575#endif
1576// <o> NRFX_UART0_ENABLED - Enable UART0 instance
1577#ifndef NRFX_UART0_ENABLED
1578#define NRFX_UART0_ENABLED 0
1579#endif
1580
1581// <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
1582
1583// <0=> Disabled
1584// <1=> Enabled
1585
1586#ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
1587#define NRFX_UART_DEFAULT_CONFIG_HWFC 0
1588#endif
1589
1590// <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity
1591
1592// <0=> Excluded
1593// <14=> Included
1594
1595#ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
1596#define NRFX_UART_DEFAULT_CONFIG_PARITY 0
1597#endif
1598
1599// <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
1600
1601// <323584=> 1200 baud
1602// <643072=> 2400 baud
1603// <1290240=> 4800 baud
1604// <2576384=> 9600 baud
1605// <3866624=> 14400 baud
1606// <5152768=> 19200 baud
1607// <7729152=> 28800 baud
1608// <8388608=> 31250 baud
1609// <10309632=> 38400 baud
1610// <15007744=> 56000 baud
1611// <15462400=> 57600 baud
1612// <20615168=> 76800 baud
1613// <30924800=> 115200 baud
1614// <61845504=> 230400 baud
1615// <67108864=> 250000 baud
1616// <123695104=> 460800 baud
1617// <247386112=> 921600 baud
1618// <268435456=> 1000000 baud
1619
1620#ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
1621#define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
1622#endif
1623
1624// <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
1625
1626// <0=> 0 (highest)
1627// <1=> 1
1628// <2=> 2
1629// <3=> 3
1630// <4=> 4
1631// <5=> 5
1632// <6=> 6
1633// <7=> 7
1634
1635#ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
1636#define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
1637#endif
1638
1639// <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
1640//==========================================================
1641#ifndef NRFX_UART_CONFIG_LOG_ENABLED
1642#define NRFX_UART_CONFIG_LOG_ENABLED 0
1643#endif
1644// <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level
1645
1646// <0=> Off
1647// <1=> Error
1648// <2=> Warning
1649// <3=> Info
1650// <4=> Debug
1651
1652#ifndef NRFX_UART_CONFIG_LOG_LEVEL
1653#define NRFX_UART_CONFIG_LOG_LEVEL 3
1654#endif
1655
1656// <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
1657
1658// <0=> Default
1659// <1=> Black
1660// <2=> Red
1661// <3=> Green
1662// <4=> Yellow
1663// <5=> Blue
1664// <6=> Magenta
1665// <7=> Cyan
1666// <8=> White
1667
1668#ifndef NRFX_UART_CONFIG_INFO_COLOR
1669#define NRFX_UART_CONFIG_INFO_COLOR 0
1670#endif
1671
1672// <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1673
1674// <0=> Default
1675// <1=> Black
1676// <2=> Red
1677// <3=> Green
1678// <4=> Yellow
1679// <5=> Blue
1680// <6=> Magenta
1681// <7=> Cyan
1682// <8=> White
1683
1684#ifndef NRFX_UART_CONFIG_DEBUG_COLOR
1685#define NRFX_UART_CONFIG_DEBUG_COLOR 0
1686#endif
1687
1688// </e>
1689
1690// </e>
1691
1692// <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
1693//==========================================================
1694#ifndef RNG_ENABLED
1695#define RNG_ENABLED 0
1696#endif
1697// <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
1698
1699#ifndef RNG_CONFIG_ERROR_CORRECTION
1700#define RNG_CONFIG_ERROR_CORRECTION 1
1701#endif
1702
1703// <o> RNG_CONFIG_POOL_SIZE - Pool size
1704#ifndef RNG_CONFIG_POOL_SIZE
1705#define RNG_CONFIG_POOL_SIZE 64
1706#endif
1707
1708// <o> RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
1709
1710// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1711// <0=> 0 (highest)
1712// <1=> 1
1713// <2=> 2
1714// <3=> 3
1715// <4=> 4
1716// <5=> 5
1717// <6=> 6
1718// <7=> 7
1719
1720#ifndef RNG_CONFIG_IRQ_PRIORITY
1721#define RNG_CONFIG_IRQ_PRIORITY 6
1722#endif
1723
1724// </e>
1725
1726// <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
1727//==========================================================
1728#ifndef UART_ENABLED
1729#define UART_ENABLED 0
1730#endif
1731// <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
1732
1733// <0=> Disabled
1734// <1=> Enabled
1735
1736#ifndef UART_DEFAULT_CONFIG_HWFC
1737#define UART_DEFAULT_CONFIG_HWFC 0
1738#endif
1739
1740// <o> UART_DEFAULT_CONFIG_PARITY - Parity
1741
1742// <0=> Excluded
1743// <14=> Included
1744
1745#ifndef UART_DEFAULT_CONFIG_PARITY
1746#define UART_DEFAULT_CONFIG_PARITY 0
1747#endif
1748
1749// <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
1750
1751// <323584=> 1200 baud
1752// <643072=> 2400 baud
1753// <1290240=> 4800 baud
1754// <2576384=> 9600 baud
1755// <3862528=> 14400 baud
1756// <5152768=> 19200 baud
1757// <7716864=> 28800 baud
1758// <10289152=> 38400 baud
1759// <15400960=> 57600 baud
1760// <20615168=> 76800 baud
1761// <30801920=> 115200 baud
1762// <61865984=> 230400 baud
1763// <67108864=> 250000 baud
1764// <121634816=> 460800 baud
1765// <251658240=> 921600 baud
1766// <268435456=> 1000000 baud
1767
1768#ifndef UART_DEFAULT_CONFIG_BAUDRATE
1769#define UART_DEFAULT_CONFIG_BAUDRATE 30801920
1770#endif
1771
1772// <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
1773
1774// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1775// <0=> 0 (highest)
1776// <1=> 1
1777// <2=> 2
1778// <3=> 3
1779// <4=> 4
1780// <5=> 5
1781// <6=> 6
1782// <7=> 7
1783
1784#ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
1785#define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
1786#endif
1787
1788// <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
1789
1790#ifndef UART_EASY_DMA_SUPPORT
1791#define UART_EASY_DMA_SUPPORT 1
1792#endif
1793
1794// <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
1795
1796#ifndef UART_LEGACY_SUPPORT
1797#define UART_LEGACY_SUPPORT 1
1798#endif
1799
1800// <e> UART0_ENABLED - Enable UART0 instance
1801//==========================================================
1802#ifndef UART0_ENABLED
1803#define UART0_ENABLED 1
1804#endif
1805// <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
1806
1807#ifndef UART0_CONFIG_USE_EASY_DMA
1808#define UART0_CONFIG_USE_EASY_DMA 1
1809#endif
1810
1811// </e>
1812
1813// </e>
1814
1815// </h>
1816//==========================================================
1817
1818// <h> nRF_Libraries
1819
1820//==========================================================
1821// <e> APP_SCHEDULER_ENABLED - app_scheduler - Events scheduler
1822//==========================================================
1823#ifndef APP_SCHEDULER_ENABLED
1824#define APP_SCHEDULER_ENABLED 0
1825#endif
1826// <q> APP_SCHEDULER_WITH_PAUSE - Enabling pause feature
1827
1828#ifndef APP_SCHEDULER_WITH_PAUSE
1829#define APP_SCHEDULER_WITH_PAUSE 0
1830#endif
1831
1832// <q> APP_SCHEDULER_WITH_PROFILER - Enabling scheduler profiling
1833
1834#ifndef APP_SCHEDULER_WITH_PROFILER
1835#define APP_SCHEDULER_WITH_PROFILER 0
1836#endif
1837
1838// </e>
1839
1840// <e> APP_TIMER_ENABLED - app_timer - Application timer functionality
1841//==========================================================
1842#ifndef APP_TIMER_ENABLED
1843#define APP_TIMER_ENABLED 0
1844#endif
1845// <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler.
1846
1847// <0=> 32768 Hz
1848// <1=> 16384 Hz
1849// <3=> 8192 Hz
1850// <7=> 4096 Hz
1851// <15=> 2048 Hz
1852// <31=> 1024 Hz
1853
1854#ifndef APP_TIMER_CONFIG_RTC_FREQUENCY
1855#define APP_TIMER_CONFIG_RTC_FREQUENCY 0
1856#endif
1857
1858// <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority
1859
1860// <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
1861// <0=> 0 (highest)
1862// <1=> 1
1863// <2=> 2
1864// <3=> 3
1865// <4=> 4
1866// <5=> 5
1867// <6=> 6
1868// <7=> 7
1869
1870#ifndef APP_TIMER_CONFIG_IRQ_PRIORITY
1871#define APP_TIMER_CONFIG_IRQ_PRIORITY 6
1872#endif
1873
1874// <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue.
1875// <i> Size of the queue depends on how many timers are used
1876// <i> in the system, how often timers are started and overall
1877// <i> system latency. If queue size is too small app_timer calls
1878// <i> will fail.
1879
1880#ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
1881#define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
1882#endif
1883
1884// <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler
1885
1886#ifndef APP_TIMER_CONFIG_USE_SCHEDULER
1887#define APP_TIMER_CONFIG_USE_SCHEDULER 0
1888#endif
1889
1890// <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on
1891
1892// <i> If option is enabled RTC is kept running even if there is no active timers.
1893// <i> This option can be used when app_timer is used for timestamping.
1894
1895#ifndef APP_TIMER_KEEPS_RTC_ACTIVE
1896#define APP_TIMER_KEEPS_RTC_ACTIVE 0
1897#endif
1898
1899// <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event.
1900// <i> Maximum possible timeout that can be set is reduced by safe window.
1901// <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS.
1902// <i> Since RTC is not stopped when processor is halted in debugging session, this value
1903// <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS
1904// <i> without corrupting app_timer behavior.
1905
1906#ifndef APP_TIMER_SAFE_WINDOW_MS
1907#define APP_TIMER_SAFE_WINDOW_MS 300000
1908#endif
1909
1910// <h> App Timer Legacy configuration - Legacy configuration.
1911
1912//==========================================================
1913// <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling
1914
1915#ifndef APP_TIMER_WITH_PROFILER
1916#define APP_TIMER_WITH_PROFILER 0
1917#endif
1918
1919// <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used.
1920
1921#ifndef APP_TIMER_CONFIG_SWI_NUMBER
1922#define APP_TIMER_CONFIG_SWI_NUMBER 0
1923#endif
1924
1925// </h>
1926//==========================================================
1927
1928// </e>
1929
1930// <q> CRC16_ENABLED - crc16 - CRC16 calculation routines
1931
1932#ifndef CRC16_ENABLED
1933#define CRC16_ENABLED 0
1934#endif
1935
1936// <e> FDS_ENABLED - fds - Flash data storage module
1937//==========================================================
1938#ifndef FDS_ENABLED
1939#define FDS_ENABLED 0
1940#endif
1941// <h> Pages - Virtual page settings
1942
1943// <i> Configure the number of virtual pages to use and their size.
1944//==========================================================
1945// <o> FDS_VIRTUAL_PAGES - Number of virtual flash pages to use.
1946// <i> One of the virtual pages is reserved by the system for garbage collection.
1947// <i> Therefore, the minimum is two virtual pages: one page to store data and one page to be used by the system for
1948// garbage collection. <i> The total amount of flash memory that is used by FDS amounts to @ref FDS_VIRTUAL_PAGES * @ref
1949// FDS_VIRTUAL_PAGE_SIZE * 4 bytes.
1950
1951#ifndef FDS_VIRTUAL_PAGES
1952#define FDS_VIRTUAL_PAGES 3
1953#endif
1954
1955// <o> FDS_VIRTUAL_PAGE_SIZE - The size of a virtual flash page.
1956
1957// <i> Expressed in number of 4-byte words.
1958// <i> By default, a virtual page is the same size as a physical page.
1959// <i> The size of a virtual page must be a multiple of the size of a physical page.
1960// <1024=> 1024
1961// <2048=> 2048
1962
1963#ifndef FDS_VIRTUAL_PAGE_SIZE
1964#define FDS_VIRTUAL_PAGE_SIZE 1024
1965#endif
1966
1967// <o> FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.
1968// <i> FDS module stores its data in the last pages of the flash memory.
1969// <i> By setting this value, you can move flash end address used by the FDS.
1970// <i> As a result the reserved space can be used by other modules.
1971
1972#ifndef FDS_VIRTUAL_PAGES_RESERVED
1973#define FDS_VIRTUAL_PAGES_RESERVED 0
1974#endif
1975
1976// </h>
1977//==========================================================
1978
1979// <h> Backend - Backend configuration
1980
1981// <i> Configure which nrf_fstorage backend is used by FDS to write to flash.
1982//==========================================================
1983// <o> FDS_BACKEND - FDS flash backend.
1984
1985// <i> NRF_FSTORAGE_SD uses the nrf_fstorage_sd backend implementation using the SoftDevice API. Use this if you have a
1986// SoftDevice present. <i> NRF_FSTORAGE_NVMC uses the nrf_fstorage_nvmc implementation. Use this setting if you don't
1987// use the SoftDevice. <1=> NRF_FSTORAGE_NVMC <2=> NRF_FSTORAGE_SD
1988
1989#ifndef FDS_BACKEND
1990#define FDS_BACKEND 2
1991#endif
1992
1993// </h>
1994//==========================================================
1995
1996// <h> Queue - Queue settings
1997
1998//==========================================================
1999// <o> FDS_OP_QUEUE_SIZE - Size of the internal queue.
2000// <i> Increase this value if you frequently get synchronous FDS_ERR_NO_SPACE_IN_QUEUES errors.
2001
2002#ifndef FDS_OP_QUEUE_SIZE
2003#define FDS_OP_QUEUE_SIZE 4
2004#endif
2005
2006// </h>
2007//==========================================================
2008
2009// <h> CRC - CRC functionality
2010
2011//==========================================================
2012// <e> FDS_CRC_CHECK_ON_READ - Enable CRC checks.
2013
2014// <i> Save a record's CRC when it is written to flash and check it when the record is opened.
2015// <i> Records with an incorrect CRC can still be 'seen' by the user using FDS functions, but they cannot be opened.
2016// <i> Additionally, they will not be garbage collected until they are deleted.
2017//==========================================================
2018#ifndef FDS_CRC_CHECK_ON_READ
2019#define FDS_CRC_CHECK_ON_READ 0
2020#endif
2021// <o> FDS_CRC_CHECK_ON_WRITE - Perform a CRC check on newly written records.
2022
2023// <i> Perform a CRC check on newly written records.
2024// <i> This setting can be used to make sure that the record data was not altered while being written to flash.
2025// <1=> Enabled
2026// <0=> Disabled
2027
2028#ifndef FDS_CRC_CHECK_ON_WRITE
2029#define FDS_CRC_CHECK_ON_WRITE 0
2030#endif
2031
2032// </e>
2033
2034// </h>
2035//==========================================================
2036
2037// <h> Users - Number of users
2038
2039//==========================================================
2040// <o> FDS_MAX_USERS - Maximum number of callbacks that can be registered.
2041#ifndef FDS_MAX_USERS
2042#define FDS_MAX_USERS 4
2043#endif
2044
2045// </h>
2046//==========================================================
2047
2048// </e>
2049
2050// <e> MEM_MANAGER_ENABLED - mem_manager - Dynamic memory allocator
2051//==========================================================
2052#ifndef MEM_MANAGER_ENABLED
2053#define MEM_MANAGER_ENABLED 0
2054#endif
2055// <o> MEMORY_MANAGER_SMALL_BLOCK_COUNT - Size of each memory blocks identified as 'small' block. <0-255>
2056
2057#ifndef MEMORY_MANAGER_SMALL_BLOCK_COUNT
2058#define MEMORY_MANAGER_SMALL_BLOCK_COUNT 1
2059#endif
2060
2061// <o> MEMORY_MANAGER_SMALL_BLOCK_SIZE - Size of each memory blocks identified as 'small' block.
2062// <i> Size of each memory blocks identified as 'small' block. Memory block are recommended to be word-sized.
2063
2064#ifndef MEMORY_MANAGER_SMALL_BLOCK_SIZE
2065#define MEMORY_MANAGER_SMALL_BLOCK_SIZE 32
2066#endif
2067
2068// <o> MEMORY_MANAGER_MEDIUM_BLOCK_COUNT - Size of each memory blocks identified as 'medium' block. <0-255>
2069
2070#ifndef MEMORY_MANAGER_MEDIUM_BLOCK_COUNT
2071#define MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 0
2072#endif
2073
2074// <o> MEMORY_MANAGER_MEDIUM_BLOCK_SIZE - Size of each memory blocks identified as 'medium' block.
2075// <i> Size of each memory blocks identified as 'medium' block. Memory block are recommended to be word-sized.
2076
2077#ifndef MEMORY_MANAGER_MEDIUM_BLOCK_SIZE
2078#define MEMORY_MANAGER_MEDIUM_BLOCK_SIZE 256
2079#endif
2080
2081// <o> MEMORY_MANAGER_LARGE_BLOCK_COUNT - Size of each memory blocks identified as 'large' block. <0-255>
2082
2083#ifndef MEMORY_MANAGER_LARGE_BLOCK_COUNT
2084#define MEMORY_MANAGER_LARGE_BLOCK_COUNT 0
2085#endif
2086
2087// <o> MEMORY_MANAGER_LARGE_BLOCK_SIZE - Size of each memory blocks identified as 'large' block.
2088// <i> Size of each memory blocks identified as 'large' block. Memory block are recommended to be word-sized.
2089
2090#ifndef MEMORY_MANAGER_LARGE_BLOCK_SIZE
2091#define MEMORY_MANAGER_LARGE_BLOCK_SIZE 256
2092#endif
2093
2094// <o> MEMORY_MANAGER_XLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra large' block. <0-255>
2095
2096#ifndef MEMORY_MANAGER_XLARGE_BLOCK_COUNT
2097#define MEMORY_MANAGER_XLARGE_BLOCK_COUNT 0
2098#endif
2099
2100// <o> MEMORY_MANAGER_XLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra large' block.
2101// <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
2102
2103#ifndef MEMORY_MANAGER_XLARGE_BLOCK_SIZE
2104#define MEMORY_MANAGER_XLARGE_BLOCK_SIZE 1320
2105#endif
2106
2107// <o> MEMORY_MANAGER_XXLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra large' block. <0-255>
2108
2109#ifndef MEMORY_MANAGER_XXLARGE_BLOCK_COUNT
2110#define MEMORY_MANAGER_XXLARGE_BLOCK_COUNT 0
2111#endif
2112
2113// <o> MEMORY_MANAGER_XXLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra large' block.
2114// <i> Size of each memory blocks identified as 'extra extra large' block. Memory block are recommended to be
2115// word-sized.
2116
2117#ifndef MEMORY_MANAGER_XXLARGE_BLOCK_SIZE
2118#define MEMORY_MANAGER_XXLARGE_BLOCK_SIZE 3444
2119#endif
2120
2121// <o> MEMORY_MANAGER_XSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra small' block. <0-255>
2122
2123#ifndef MEMORY_MANAGER_XSMALL_BLOCK_COUNT
2124#define MEMORY_MANAGER_XSMALL_BLOCK_COUNT 0
2125#endif
2126
2127// <o> MEMORY_MANAGER_XSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra small' block.
2128// <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
2129
2130#ifndef MEMORY_MANAGER_XSMALL_BLOCK_SIZE
2131#define MEMORY_MANAGER_XSMALL_BLOCK_SIZE 64
2132#endif
2133
2134// <o> MEMORY_MANAGER_XXSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra small' block. <0-255>
2135
2136#ifndef MEMORY_MANAGER_XXSMALL_BLOCK_COUNT
2137#define MEMORY_MANAGER_XXSMALL_BLOCK_COUNT 0
2138#endif
2139
2140// <o> MEMORY_MANAGER_XXSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra small' block.
2141// <i> Size of each memory blocks identified as 'extra extra small' block. Memory block are recommended to be
2142// word-sized.
2143
2144#ifndef MEMORY_MANAGER_XXSMALL_BLOCK_SIZE
2145#define MEMORY_MANAGER_XXSMALL_BLOCK_SIZE 32
2146#endif
2147
2148// <e> MEM_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
2149//==========================================================
2150#ifndef MEM_MANAGER_CONFIG_LOG_ENABLED
2151#define MEM_MANAGER_CONFIG_LOG_ENABLED 0
2152#endif
2153// <o> MEM_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
2154
2155// <0=> Off
2156// <1=> Error
2157// <2=> Warning
2158// <3=> Info
2159// <4=> Debug
2160
2161#ifndef MEM_MANAGER_CONFIG_LOG_LEVEL
2162#define MEM_MANAGER_CONFIG_LOG_LEVEL 3
2163#endif
2164
2165// <o> MEM_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
2166
2167// <0=> Default
2168// <1=> Black
2169// <2=> Red
2170// <3=> Green
2171// <4=> Yellow
2172// <5=> Blue
2173// <6=> Magenta
2174// <7=> Cyan
2175// <8=> White
2176
2177#ifndef MEM_MANAGER_CONFIG_INFO_COLOR
2178#define MEM_MANAGER_CONFIG_INFO_COLOR 0
2179#endif
2180
2181// <o> MEM_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2182
2183// <0=> Default
2184// <1=> Black
2185// <2=> Red
2186// <3=> Green
2187// <4=> Yellow
2188// <5=> Blue
2189// <6=> Magenta
2190// <7=> Cyan
2191// <8=> White
2192
2193#ifndef MEM_MANAGER_CONFIG_DEBUG_COLOR
2194#define MEM_MANAGER_CONFIG_DEBUG_COLOR 0
2195#endif
2196
2197// </e>
2198
2199// <q> MEM_MANAGER_DISABLE_API_PARAM_CHECK - Disable API parameter checks in the module.
2200
2201#ifndef MEM_MANAGER_DISABLE_API_PARAM_CHECK
2202#define MEM_MANAGER_DISABLE_API_PARAM_CHECK 0
2203#endif
2204
2205// </e>
2206
2207// <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
2208//==========================================================
2209#ifndef NRF_BALLOC_ENABLED
2210#define NRF_BALLOC_ENABLED 1
2211#endif
2212// <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
2213//==========================================================
2214#ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
2215#define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
2216#endif
2217// <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
2218
2219#ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
2220#define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
2221#endif
2222
2223// <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
2224
2225#ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
2226#define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
2227#endif
2228
2229// <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
2230
2231#ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
2232#define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
2233#endif
2234
2235// <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
2236
2237#ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
2238#define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
2239#endif
2240
2241// <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
2242
2243#ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
2244#define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
2245#endif
2246
2247// <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
2248
2249#ifndef NRF_BALLOC_CLI_CMDS
2250#define NRF_BALLOC_CLI_CMDS 0
2251#endif
2252
2253// </e>
2254
2255// </e>
2256
2257// <e> NRF_FSTORAGE_ENABLED - nrf_fstorage - Flash abstraction library
2258//==========================================================
2259#ifndef NRF_FSTORAGE_ENABLED
2260#define NRF_FSTORAGE_ENABLED 0
2261#endif
2262// <h> nrf_fstorage - Common settings
2263
2264// <i> Common settings to all fstorage implementations
2265//==========================================================
2266// <q> NRF_FSTORAGE_PARAM_CHECK_DISABLED - Disable user input validation
2267
2268// <i> If selected, use ASSERT to validate user input.
2269// <i> This effectively removes user input validation in production code.
2270// <i> Recommended setting: OFF, only enable this setting if size is a major concern.
2271
2272#ifndef NRF_FSTORAGE_PARAM_CHECK_DISABLED
2273#define NRF_FSTORAGE_PARAM_CHECK_DISABLED 0
2274#endif
2275
2276// </h>
2277//==========================================================
2278
2279// <h> nrf_fstorage_sd - Implementation using the SoftDevice
2280
2281// <i> Configuration options for the fstorage implementation using the SoftDevice
2282//==========================================================
2283// <o> NRF_FSTORAGE_SD_QUEUE_SIZE - Size of the internal queue of operations
2284// <i> Increase this value if API calls frequently return the error @ref NRF_ERROR_NO_MEM.
2285
2286#ifndef NRF_FSTORAGE_SD_QUEUE_SIZE
2287#define NRF_FSTORAGE_SD_QUEUE_SIZE 4
2288#endif
2289
2290// <o> NRF_FSTORAGE_SD_MAX_RETRIES - Maximum number of attempts at executing an operation when the SoftDevice is busy
2291// <i> Increase this value if events frequently return the @ref NRF_ERROR_TIMEOUT error.
2292// <i> The SoftDevice might fail to schedule flash access due to high BLE activity.
2293
2294#ifndef NRF_FSTORAGE_SD_MAX_RETRIES
2295#define NRF_FSTORAGE_SD_MAX_RETRIES 8
2296#endif
2297
2298// <o> NRF_FSTORAGE_SD_MAX_WRITE_SIZE - Maximum number of bytes to be written to flash in a single operation
2299// <i> This value must be a multiple of four.
2300// <i> Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between
2301// radio activity. <i> This value is bound by the maximum number of bytes that can be written to flash in a single call
2302// to @ref sd_flash_write. <i> That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
2303
2304#ifndef NRF_FSTORAGE_SD_MAX_WRITE_SIZE
2305#define NRF_FSTORAGE_SD_MAX_WRITE_SIZE 4096
2306#endif
2307
2308// </h>
2309//==========================================================
2310
2311// </e>
2312
2313// <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
2314
2315#ifndef NRF_MEMOBJ_ENABLED
2316#define NRF_MEMOBJ_ENABLED 1
2317#endif
2318
2319// <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
2320//==========================================================
2321#ifndef NRF_PWR_MGMT_ENABLED
2322#define NRF_PWR_MGMT_ENABLED 0
2323#endif
2324// <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module.
2325
2326// <i> Selected pin will be set when CPU is in sleep mode.
2327//==========================================================
2328#ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED
2329#define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0
2330#endif
2331// <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number
2332
2333// <0=> 0 (P0.0)
2334// <1=> 1 (P0.1)
2335// <2=> 2 (P0.2)
2336// <3=> 3 (P0.3)
2337// <4=> 4 (P0.4)
2338// <5=> 5 (P0.5)
2339// <6=> 6 (P0.6)
2340// <7=> 7 (P0.7)
2341// <8=> 8 (P0.8)
2342// <9=> 9 (P0.9)
2343// <10=> 10 (P0.10)
2344// <11=> 11 (P0.11)
2345// <12=> 12 (P0.12)
2346// <13=> 13 (P0.13)
2347// <14=> 14 (P0.14)
2348// <15=> 15 (P0.15)
2349// <16=> 16 (P0.16)
2350// <17=> 17 (P0.17)
2351// <18=> 18 (P0.18)
2352// <19=> 19 (P0.19)
2353// <20=> 20 (P0.20)
2354// <21=> 21 (P0.21)
2355// <22=> 22 (P0.22)
2356// <23=> 23 (P0.23)
2357// <24=> 24 (P0.24)
2358// <25=> 25 (P0.25)
2359// <26=> 26 (P0.26)
2360// <27=> 27 (P0.27)
2361// <28=> 28 (P0.28)
2362// <29=> 29 (P0.29)
2363// <30=> 30 (P0.30)
2364// <31=> 31 (P0.31)
2365// <4294967295=> Not connected
2366
2367#ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN
2368#define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 31
2369#endif
2370
2371// </e>
2372
2373// <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor.
2374
2375// <i> Module will trace percentage of CPU usage in one second intervals.
2376
2377#ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED
2378#define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 0
2379#endif
2380
2381// <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout.
2382//==========================================================
2383#ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED
2384#define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 0
2385#endif
2386// <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds).
2387// <i> Shutdown procedure will begin no earlier than after this number of seconds.
2388
2389#ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S
2390#define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 3
2391#endif
2392
2393// </e>
2394
2395// <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning.
2396
2397#ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED
2398#define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 0
2399#endif
2400
2401// <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second.
2402
2403#ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY
2404#define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 0
2405#endif
2406
2407// <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler.
2408
2409#ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER
2410#define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0
2411#endif
2412
2413// <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers.
2414// <i> The number of stages of the shutdown process.
2415
2416#ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT
2417#define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3
2418#endif
2419
2420// </e>
2421
2422// <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
2423//==========================================================
2424#ifndef NRF_QUEUE_ENABLED
2425#define NRF_QUEUE_ENABLED 0
2426#endif
2427// <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
2428
2429#ifndef NRF_QUEUE_CLI_CMDS
2430#define NRF_QUEUE_CLI_CMDS 0
2431#endif
2432
2433// </e>
2434
2435// <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator
2436
2437#ifndef NRF_SECTION_ITER_ENABLED
2438#define NRF_SECTION_ITER_ENABLED 1
2439#endif
2440
2441// <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list
2442
2443#ifndef NRF_SORTLIST_ENABLED
2444#define NRF_SORTLIST_ENABLED 0
2445#endif
2446
2447// <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
2448
2449#ifndef NRF_STRERROR_ENABLED
2450#define NRF_STRERROR_ENABLED 1
2451#endif
2452
2453// <h> app_button - buttons handling module
2454
2455//==========================================================
2456// <q> BUTTON_ENABLED - Enables Button module
2457
2458#ifndef BUTTON_ENABLED
2459#define BUTTON_ENABLED 0
2460#endif
2461
2462// <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
2463
2464#ifndef BUTTON_HIGH_ACCURACY_ENABLED
2465#define BUTTON_HIGH_ACCURACY_ENABLED 0
2466#endif
2467
2468// </h>
2469//==========================================================
2470
2471// <h> nrf_fprintf - fprintf function.
2472
2473//==========================================================
2474// <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
2475
2476#ifndef NRF_FPRINTF_ENABLED
2477#define NRF_FPRINTF_ENABLED 0
2478#endif
2479
2480// <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
2481
2482#ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
2483#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1
2484#endif
2485
2486// <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
2487
2488#ifndef NRF_FPRINTF_DOUBLE_ENABLED
2489#define NRF_FPRINTF_DOUBLE_ENABLED 0
2490#endif
2491
2492// </h>
2493//==========================================================
2494
2495// </h>
2496//==========================================================
2497
2498// <h> nRF_Log
2499
2500//==========================================================
2501// <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
2502//==========================================================
2503#ifndef NRF_LOG_BACKEND_RTT_ENABLED
2504#define NRF_LOG_BACKEND_RTT_ENABLED 0
2505#endif
2506// <o> NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
2507// <i> Size of the buffer is a trade-off between RAM usage and processing.
2508// <i> if buffer is smaller then strings will often be fragmented.
2509// <i> It is recommended to use size which will fit typical log and only the
2510// <i> longer one will be fragmented.
2511
2512#ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
2513#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64
2514#endif
2515
2516// <o> NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT
2517#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
2518#define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1
2519#endif
2520
2521// <o> NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries.
2522// <i> If RTT fails to accept any new data after retries
2523// <i> module assumes that host is not active and on next
2524// <i> request it will perform only one write attempt.
2525// <i> On successful writing, module assumes that host is active
2526// <i> and scheme with retry is applied again.
2527
2528#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
2529#define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3
2530#endif
2531
2532// </e>
2533
2534// <e> NRF_LOG_BACKEND_UART_ENABLED - nrf_log_backend_uart - Log UART backend
2535//==========================================================
2536#ifndef NRF_LOG_BACKEND_UART_ENABLED
2537#define NRF_LOG_BACKEND_UART_ENABLED 0
2538#endif
2539// <o> NRF_LOG_BACKEND_UART_TX_PIN - UART TX pin
2540#ifndef NRF_LOG_BACKEND_UART_TX_PIN
2541#define NRF_LOG_BACKEND_UART_TX_PIN 6
2542#endif
2543
2544// <o> NRF_LOG_BACKEND_UART_BAUDRATE - Default Baudrate
2545
2546// <323584=> 1200 baud
2547// <643072=> 2400 baud
2548// <1290240=> 4800 baud
2549// <2576384=> 9600 baud
2550// <3862528=> 14400 baud
2551// <5152768=> 19200 baud
2552// <7716864=> 28800 baud
2553// <10289152=> 38400 baud
2554// <15400960=> 57600 baud
2555// <20615168=> 76800 baud
2556// <30801920=> 115200 baud
2557// <61865984=> 230400 baud
2558// <67108864=> 250000 baud
2559// <121634816=> 460800 baud
2560// <251658240=> 921600 baud
2561// <268435456=> 1000000 baud
2562
2563#ifndef NRF_LOG_BACKEND_UART_BAUDRATE
2564#define NRF_LOG_BACKEND_UART_BAUDRATE 30801920
2565#endif
2566
2567// <o> NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
2568// <i> Size of the buffer is a trade-off between RAM usage and processing.
2569// <i> if buffer is smaller then strings will often be fragmented.
2570// <i> It is recommended to use size which will fit typical log and only the
2571// <i> longer one will be fragmented.
2572
2573#ifndef NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE
2574#define NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE 128
2575#endif
2576
2577// </e>
2578
2579// <e> NRF_LOG_ENABLED - nrf_log - Logger
2580//==========================================================
2581#ifndef NRF_LOG_ENABLED
2582#define NRF_LOG_ENABLED 0
2583#endif
2584// <h> Log message pool - Configuration of log message pool
2585
2586//==========================================================
2587// <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
2588// <i> If a small value is set, then performance of logs processing
2589// <i> is degraded because data is fragmented. Bigger value impacts
2590// <i> RAM memory utilization. The size is set to fit a message with
2591// <i> a timestamp and up to 2 arguments in a single memory object.
2592
2593#ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
2594#define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
2595#endif
2596
2597// <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
2598// <i> If a small value is set, then it may lead to a deadlock
2599// <i> in certain cases if backend has high latency and holds
2600// <i> multiple messages for long time. Bigger value impacts
2601// <i> RAM memory usage.
2602
2603#ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
2604#define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
2605#endif
2606
2607// </h>
2608//==========================================================
2609
2610// <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
2611
2612// <i> If set then oldest logs are overwritten. Otherwise a
2613// <i> marker is injected informing about overflow.
2614
2615#ifndef NRF_LOG_ALLOW_OVERFLOW
2616#define NRF_LOG_ALLOW_OVERFLOW 1
2617#endif
2618
2619// <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
2620
2621// <i> Must be power of 2 and multiple of 4.
2622// <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
2623// <128=> 128
2624// <256=> 256
2625// <512=> 512
2626// <1024=> 1024
2627// <2048=> 2048
2628// <4096=> 4096
2629// <8192=> 8192
2630// <16384=> 16384
2631
2632#ifndef NRF_LOG_BUFSIZE
2633#define NRF_LOG_BUFSIZE 1024
2634#endif
2635
2636// <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
2637
2638#ifndef NRF_LOG_CLI_CMDS
2639#define NRF_LOG_CLI_CMDS 0
2640#endif
2641
2642// <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
2643
2644// <0=> Off
2645// <1=> Error
2646// <2=> Warning
2647// <3=> Info
2648// <4=> Debug
2649
2650#ifndef NRF_LOG_DEFAULT_LEVEL
2651#define NRF_LOG_DEFAULT_LEVEL 3
2652#endif
2653
2654// <q> NRF_LOG_DEFERRED - Enable deffered logger.
2655
2656// <i> Log data is buffered and can be processed in idle.
2657
2658#ifndef NRF_LOG_DEFERRED
2659#define NRF_LOG_DEFERRED 1
2660#endif
2661
2662// <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
2663
2664#ifndef NRF_LOG_FILTERS_ENABLED
2665#define NRF_LOG_FILTERS_ENABLED 0
2666#endif
2667
2668// <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing
2669// logs.
2670
2671// <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
2672// <i> Log output will never be corrupted as access to the log backend is exclusive
2673// <i> but system will spend significant amount of time in critical section
2674
2675#ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
2676#define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
2677#endif
2678
2679// <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
2680
2681// <16=> 16
2682// <32=> 32
2683// <64=> 64
2684// <128=> 128
2685// <256=> 256
2686// <512=> 512
2687// <1024=> 1024
2688
2689#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
2690#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
2691#endif
2692
2693// <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
2694
2695// <16=> 16
2696// <32=> 32
2697// <64=> 64
2698// <128=> 128
2699// <256=> 256
2700// <512=> 512
2701// <1024=> 1024
2702
2703#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
2704#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
2705#endif
2706
2707// <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
2708//==========================================================
2709#ifndef NRF_LOG_USES_COLORS
2710#define NRF_LOG_USES_COLORS 0
2711#endif
2712// <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
2713
2714// <0=> Default
2715// <1=> Black
2716// <2=> Red
2717// <3=> Green
2718// <4=> Yellow
2719// <5=> Blue
2720// <6=> Magenta
2721// <7=> Cyan
2722// <8=> White
2723
2724#ifndef NRF_LOG_COLOR_DEFAULT
2725#define NRF_LOG_COLOR_DEFAULT 0
2726#endif
2727
2728// <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
2729
2730// <0=> Default
2731// <1=> Black
2732// <2=> Red
2733// <3=> Green
2734// <4=> Yellow
2735// <5=> Blue
2736// <6=> Magenta
2737// <7=> Cyan
2738// <8=> White
2739
2740#ifndef NRF_LOG_ERROR_COLOR
2741#define NRF_LOG_ERROR_COLOR 2
2742#endif
2743
2744// <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
2745
2746// <0=> Default
2747// <1=> Black
2748// <2=> Red
2749// <3=> Green
2750// <4=> Yellow
2751// <5=> Blue
2752// <6=> Magenta
2753// <7=> Cyan
2754// <8=> White
2755
2756#ifndef NRF_LOG_WARNING_COLOR
2757#define NRF_LOG_WARNING_COLOR 4
2758#endif
2759
2760// </e>
2761
2762// <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
2763
2764// <i> Function for getting the timestamp is provided by the user
2765//==========================================================
2766#ifndef NRF_LOG_USES_TIMESTAMP
2767#define NRF_LOG_USES_TIMESTAMP 0
2768#endif
2769// <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
2770#ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
2771#define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
2772#endif
2773
2774// </e>
2775
2776// <h> nrf_log module configuration
2777
2778//==========================================================
2779// <h> nrf_log in nRF_Core
2780
2781//==========================================================
2782// <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
2783//==========================================================
2784#ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
2785#define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0
2786#endif
2787// <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
2788
2789// <0=> Off
2790// <1=> Error
2791// <2=> Warning
2792// <3=> Info
2793// <4=> Debug
2794
2795#ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
2796#define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
2797#endif
2798
2799// <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
2800
2801// <0=> Default
2802// <1=> Black
2803// <2=> Red
2804// <3=> Green
2805// <4=> Yellow
2806// <5=> Blue
2807// <6=> Magenta
2808// <7=> Cyan
2809// <8=> White
2810
2811#ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
2812#define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
2813#endif
2814
2815// <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2816
2817// <0=> Default
2818// <1=> Black
2819// <2=> Red
2820// <3=> Green
2821// <4=> Yellow
2822// <5=> Blue
2823// <6=> Magenta
2824// <7=> Cyan
2825// <8=> White
2826
2827#ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
2828#define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
2829#endif
2830
2831// </e>
2832
2833// <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
2834//==========================================================
2835#ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
2836#define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
2837#endif
2838// <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
2839
2840// <0=> Off
2841// <1=> Error
2842// <2=> Warning
2843// <3=> Info
2844// <4=> Debug
2845
2846#ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
2847#define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
2848#endif
2849
2850// <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
2851
2852// <0=> Default
2853// <1=> Black
2854// <2=> Red
2855// <3=> Green
2856// <4=> Yellow
2857// <5=> Blue
2858// <6=> Magenta
2859// <7=> Cyan
2860// <8=> White
2861
2862#ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
2863#define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
2864#endif
2865
2866// <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2867
2868// <0=> Default
2869// <1=> Black
2870// <2=> Red
2871// <3=> Green
2872// <4=> Yellow
2873// <5=> Blue
2874// <6=> Magenta
2875// <7=> Cyan
2876// <8=> White
2877
2878#ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
2879#define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
2880#endif
2881
2882// </e>
2883
2884// <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
2885//==========================================================
2886#ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
2887#define TASK_MANAGER_CONFIG_LOG_ENABLED 0
2888#endif
2889// <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
2890
2891// <0=> Off
2892// <1=> Error
2893// <2=> Warning
2894// <3=> Info
2895// <4=> Debug
2896
2897#ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
2898#define TASK_MANAGER_CONFIG_LOG_LEVEL 3
2899#endif
2900
2901// <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
2902
2903// <0=> Default
2904// <1=> Black
2905// <2=> Red
2906// <3=> Green
2907// <4=> Yellow
2908// <5=> Blue
2909// <6=> Magenta
2910// <7=> Cyan
2911// <8=> White
2912
2913#ifndef TASK_MANAGER_CONFIG_INFO_COLOR
2914#define TASK_MANAGER_CONFIG_INFO_COLOR 0
2915#endif
2916
2917// <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2918
2919// <0=> Default
2920// <1=> Black
2921// <2=> Red
2922// <3=> Green
2923// <4=> Yellow
2924// <5=> Blue
2925// <6=> Magenta
2926// <7=> Cyan
2927// <8=> White
2928
2929#ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
2930#define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
2931#endif
2932
2933// </e>
2934
2935// </h>
2936//==========================================================
2937
2938// <h> nrf_log in nRF_Drivers
2939
2940//==========================================================
2941// <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
2942//==========================================================
2943#ifndef CLOCK_CONFIG_LOG_ENABLED
2944#define CLOCK_CONFIG_LOG_ENABLED 0
2945#endif
2946// <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
2947
2948// <0=> Off
2949// <1=> Error
2950// <2=> Warning
2951// <3=> Info
2952// <4=> Debug
2953
2954#ifndef CLOCK_CONFIG_LOG_LEVEL
2955#define CLOCK_CONFIG_LOG_LEVEL 3
2956#endif
2957
2958// <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
2959
2960// <0=> Default
2961// <1=> Black
2962// <2=> Red
2963// <3=> Green
2964// <4=> Yellow
2965// <5=> Blue
2966// <6=> Magenta
2967// <7=> Cyan
2968// <8=> White
2969
2970#ifndef CLOCK_CONFIG_INFO_COLOR
2971#define CLOCK_CONFIG_INFO_COLOR 0
2972#endif
2973
2974// <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2975
2976// <0=> Default
2977// <1=> Black
2978// <2=> Red
2979// <3=> Green
2980// <4=> Yellow
2981// <5=> Blue
2982// <6=> Magenta
2983// <7=> Cyan
2984// <8=> White
2985
2986#ifndef CLOCK_CONFIG_DEBUG_COLOR
2987#define CLOCK_CONFIG_DEBUG_COLOR 0
2988#endif
2989
2990// </e>
2991
2992// <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
2993//==========================================================
2994#ifndef COMP_CONFIG_LOG_ENABLED
2995#define COMP_CONFIG_LOG_ENABLED 0
2996#endif
2997// <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
2998
2999// <0=> Off
3000// <1=> Error
3001// <2=> Warning
3002// <3=> Info
3003// <4=> Debug
3004
3005#ifndef COMP_CONFIG_LOG_LEVEL
3006#define COMP_CONFIG_LOG_LEVEL 3
3007#endif
3008
3009// <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
3010
3011// <0=> Default
3012// <1=> Black
3013// <2=> Red
3014// <3=> Green
3015// <4=> Yellow
3016// <5=> Blue
3017// <6=> Magenta
3018// <7=> Cyan
3019// <8=> White
3020
3021#ifndef COMP_CONFIG_INFO_COLOR
3022#define COMP_CONFIG_INFO_COLOR 0
3023#endif
3024
3025// <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3026
3027// <0=> Default
3028// <1=> Black
3029// <2=> Red
3030// <3=> Green
3031// <4=> Yellow
3032// <5=> Blue
3033// <6=> Magenta
3034// <7=> Cyan
3035// <8=> White
3036
3037#ifndef COMP_CONFIG_DEBUG_COLOR
3038#define COMP_CONFIG_DEBUG_COLOR 0
3039#endif
3040
3041// </e>
3042
3043// <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
3044//==========================================================
3045#ifndef GPIOTE_CONFIG_LOG_ENABLED
3046#define GPIOTE_CONFIG_LOG_ENABLED 0
3047#endif
3048// <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
3049
3050// <0=> Off
3051// <1=> Error
3052// <2=> Warning
3053// <3=> Info
3054// <4=> Debug
3055
3056#ifndef GPIOTE_CONFIG_LOG_LEVEL
3057#define GPIOTE_CONFIG_LOG_LEVEL 3
3058#endif
3059
3060// <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
3061
3062// <0=> Default
3063// <1=> Black
3064// <2=> Red
3065// <3=> Green
3066// <4=> Yellow
3067// <5=> Blue
3068// <6=> Magenta
3069// <7=> Cyan
3070// <8=> White
3071
3072#ifndef GPIOTE_CONFIG_INFO_COLOR
3073#define GPIOTE_CONFIG_INFO_COLOR 0
3074#endif
3075
3076// <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3077
3078// <0=> Default
3079// <1=> Black
3080// <2=> Red
3081// <3=> Green
3082// <4=> Yellow
3083// <5=> Blue
3084// <6=> Magenta
3085// <7=> Cyan
3086// <8=> White
3087
3088#ifndef GPIOTE_CONFIG_DEBUG_COLOR
3089#define GPIOTE_CONFIG_DEBUG_COLOR 0
3090#endif
3091
3092// </e>
3093
3094// <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
3095//==========================================================
3096#ifndef LPCOMP_CONFIG_LOG_ENABLED
3097#define LPCOMP_CONFIG_LOG_ENABLED 0
3098#endif
3099// <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
3100
3101// <0=> Off
3102// <1=> Error
3103// <2=> Warning
3104// <3=> Info
3105// <4=> Debug
3106
3107#ifndef LPCOMP_CONFIG_LOG_LEVEL
3108#define LPCOMP_CONFIG_LOG_LEVEL 3
3109#endif
3110
3111// <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
3112
3113// <0=> Default
3114// <1=> Black
3115// <2=> Red
3116// <3=> Green
3117// <4=> Yellow
3118// <5=> Blue
3119// <6=> Magenta
3120// <7=> Cyan
3121// <8=> White
3122
3123#ifndef LPCOMP_CONFIG_INFO_COLOR
3124#define LPCOMP_CONFIG_INFO_COLOR 0
3125#endif
3126
3127// <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3128
3129// <0=> Default
3130// <1=> Black
3131// <2=> Red
3132// <3=> Green
3133// <4=> Yellow
3134// <5=> Blue
3135// <6=> Magenta
3136// <7=> Cyan
3137// <8=> White
3138
3139#ifndef LPCOMP_CONFIG_DEBUG_COLOR
3140#define LPCOMP_CONFIG_DEBUG_COLOR 0
3141#endif
3142
3143// </e>
3144
3145// <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
3146//==========================================================
3147#ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
3148#define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
3149#endif
3150// <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
3151
3152// <0=> Off
3153// <1=> Error
3154// <2=> Warning
3155// <3=> Info
3156// <4=> Debug
3157
3158#ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
3159#define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
3160#endif
3161
3162// <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
3163
3164// <0=> Default
3165// <1=> Black
3166// <2=> Red
3167// <3=> Green
3168// <4=> Yellow
3169// <5=> Blue
3170// <6=> Magenta
3171// <7=> Cyan
3172// <8=> White
3173
3174#ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
3175#define MAX3421E_HOST_CONFIG_INFO_COLOR 0
3176#endif
3177
3178// <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3179
3180// <0=> Default
3181// <1=> Black
3182// <2=> Red
3183// <3=> Green
3184// <4=> Yellow
3185// <5=> Blue
3186// <6=> Magenta
3187// <7=> Cyan
3188// <8=> White
3189
3190#ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
3191#define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
3192#endif
3193
3194// </e>
3195
3196// <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
3197//==========================================================
3198#ifndef NRFX_USBD_CONFIG_LOG_ENABLED
3199#define NRFX_USBD_CONFIG_LOG_ENABLED 0
3200#endif
3201// <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
3202
3203// <0=> Off
3204// <1=> Error
3205// <2=> Warning
3206// <3=> Info
3207// <4=> Debug
3208
3209#ifndef NRFX_USBD_CONFIG_LOG_LEVEL
3210#define NRFX_USBD_CONFIG_LOG_LEVEL 3
3211#endif
3212
3213// <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
3214
3215// <0=> Default
3216// <1=> Black
3217// <2=> Red
3218// <3=> Green
3219// <4=> Yellow
3220// <5=> Blue
3221// <6=> Magenta
3222// <7=> Cyan
3223// <8=> White
3224
3225#ifndef NRFX_USBD_CONFIG_INFO_COLOR
3226#define NRFX_USBD_CONFIG_INFO_COLOR 0
3227#endif
3228
3229// <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3230
3231// <0=> Default
3232// <1=> Black
3233// <2=> Red
3234// <3=> Green
3235// <4=> Yellow
3236// <5=> Blue
3237// <6=> Magenta
3238// <7=> Cyan
3239// <8=> White
3240
3241#ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
3242#define NRFX_USBD_CONFIG_DEBUG_COLOR 0
3243#endif
3244
3245// </e>
3246
3247// <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
3248//==========================================================
3249#ifndef PDM_CONFIG_LOG_ENABLED
3250#define PDM_CONFIG_LOG_ENABLED 0
3251#endif
3252// <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
3253
3254// <0=> Off
3255// <1=> Error
3256// <2=> Warning
3257// <3=> Info
3258// <4=> Debug
3259
3260#ifndef PDM_CONFIG_LOG_LEVEL
3261#define PDM_CONFIG_LOG_LEVEL 3
3262#endif
3263
3264// <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3265
3266// <0=> Default
3267// <1=> Black
3268// <2=> Red
3269// <3=> Green
3270// <4=> Yellow
3271// <5=> Blue
3272// <6=> Magenta
3273// <7=> Cyan
3274// <8=> White
3275
3276#ifndef PDM_CONFIG_INFO_COLOR
3277#define PDM_CONFIG_INFO_COLOR 0
3278#endif
3279
3280// <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3281
3282// <0=> Default
3283// <1=> Black
3284// <2=> Red
3285// <3=> Green
3286// <4=> Yellow
3287// <5=> Blue
3288// <6=> Magenta
3289// <7=> Cyan
3290// <8=> White
3291
3292#ifndef PDM_CONFIG_DEBUG_COLOR
3293#define PDM_CONFIG_DEBUG_COLOR 0
3294#endif
3295
3296// </e>
3297
3298// <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
3299//==========================================================
3300#ifndef PPI_CONFIG_LOG_ENABLED
3301#define PPI_CONFIG_LOG_ENABLED 0
3302#endif
3303// <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
3304
3305// <0=> Off
3306// <1=> Error
3307// <2=> Warning
3308// <3=> Info
3309// <4=> Debug
3310
3311#ifndef PPI_CONFIG_LOG_LEVEL
3312#define PPI_CONFIG_LOG_LEVEL 3
3313#endif
3314
3315// <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
3316
3317// <0=> Default
3318// <1=> Black
3319// <2=> Red
3320// <3=> Green
3321// <4=> Yellow
3322// <5=> Blue
3323// <6=> Magenta
3324// <7=> Cyan
3325// <8=> White
3326
3327#ifndef PPI_CONFIG_INFO_COLOR
3328#define PPI_CONFIG_INFO_COLOR 0
3329#endif
3330
3331// <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3332
3333// <0=> Default
3334// <1=> Black
3335// <2=> Red
3336// <3=> Green
3337// <4=> Yellow
3338// <5=> Blue
3339// <6=> Magenta
3340// <7=> Cyan
3341// <8=> White
3342
3343#ifndef PPI_CONFIG_DEBUG_COLOR
3344#define PPI_CONFIG_DEBUG_COLOR 0
3345#endif
3346
3347// </e>
3348
3349// <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
3350//==========================================================
3351#ifndef PWM_CONFIG_LOG_ENABLED
3352#define PWM_CONFIG_LOG_ENABLED 0
3353#endif
3354// <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
3355
3356// <0=> Off
3357// <1=> Error
3358// <2=> Warning
3359// <3=> Info
3360// <4=> Debug
3361
3362#ifndef PWM_CONFIG_LOG_LEVEL
3363#define PWM_CONFIG_LOG_LEVEL 3
3364#endif
3365
3366// <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
3367
3368// <0=> Default
3369// <1=> Black
3370// <2=> Red
3371// <3=> Green
3372// <4=> Yellow
3373// <5=> Blue
3374// <6=> Magenta
3375// <7=> Cyan
3376// <8=> White
3377
3378#ifndef PWM_CONFIG_INFO_COLOR
3379#define PWM_CONFIG_INFO_COLOR 0
3380#endif
3381
3382// <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3383
3384// <0=> Default
3385// <1=> Black
3386// <2=> Red
3387// <3=> Green
3388// <4=> Yellow
3389// <5=> Blue
3390// <6=> Magenta
3391// <7=> Cyan
3392// <8=> White
3393
3394#ifndef PWM_CONFIG_DEBUG_COLOR
3395#define PWM_CONFIG_DEBUG_COLOR 0
3396#endif
3397
3398// </e>
3399
3400// <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
3401//==========================================================
3402#ifndef QDEC_CONFIG_LOG_ENABLED
3403#define QDEC_CONFIG_LOG_ENABLED 0
3404#endif
3405// <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
3406
3407// <0=> Off
3408// <1=> Error
3409// <2=> Warning
3410// <3=> Info
3411// <4=> Debug
3412
3413#ifndef QDEC_CONFIG_LOG_LEVEL
3414#define QDEC_CONFIG_LOG_LEVEL 3
3415#endif
3416
3417// <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3418
3419// <0=> Default
3420// <1=> Black
3421// <2=> Red
3422// <3=> Green
3423// <4=> Yellow
3424// <5=> Blue
3425// <6=> Magenta
3426// <7=> Cyan
3427// <8=> White
3428
3429#ifndef QDEC_CONFIG_INFO_COLOR
3430#define QDEC_CONFIG_INFO_COLOR 0
3431#endif
3432
3433// <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3434
3435// <0=> Default
3436// <1=> Black
3437// <2=> Red
3438// <3=> Green
3439// <4=> Yellow
3440// <5=> Blue
3441// <6=> Magenta
3442// <7=> Cyan
3443// <8=> White
3444
3445#ifndef QDEC_CONFIG_DEBUG_COLOR
3446#define QDEC_CONFIG_DEBUG_COLOR 0
3447#endif
3448
3449// </e>
3450
3451// <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
3452//==========================================================
3453#ifndef RNG_CONFIG_LOG_ENABLED
3454#define RNG_CONFIG_LOG_ENABLED 0
3455#endif
3456// <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
3457
3458// <0=> Off
3459// <1=> Error
3460// <2=> Warning
3461// <3=> Info
3462// <4=> Debug
3463
3464#ifndef RNG_CONFIG_LOG_LEVEL
3465#define RNG_CONFIG_LOG_LEVEL 3
3466#endif
3467
3468// <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
3469
3470// <0=> Default
3471// <1=> Black
3472// <2=> Red
3473// <3=> Green
3474// <4=> Yellow
3475// <5=> Blue
3476// <6=> Magenta
3477// <7=> Cyan
3478// <8=> White
3479
3480#ifndef RNG_CONFIG_INFO_COLOR
3481#define RNG_CONFIG_INFO_COLOR 0
3482#endif
3483
3484// <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3485
3486// <0=> Default
3487// <1=> Black
3488// <2=> Red
3489// <3=> Green
3490// <4=> Yellow
3491// <5=> Blue
3492// <6=> Magenta
3493// <7=> Cyan
3494// <8=> White
3495
3496#ifndef RNG_CONFIG_DEBUG_COLOR
3497#define RNG_CONFIG_DEBUG_COLOR 0
3498#endif
3499
3500// <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
3501
3502#ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
3503#define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
3504#endif
3505
3506// </e>
3507
3508// <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
3509//==========================================================
3510#ifndef RTC_CONFIG_LOG_ENABLED
3511#define RTC_CONFIG_LOG_ENABLED 0
3512#endif
3513// <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
3514
3515// <0=> Off
3516// <1=> Error
3517// <2=> Warning
3518// <3=> Info
3519// <4=> Debug
3520
3521#ifndef RTC_CONFIG_LOG_LEVEL
3522#define RTC_CONFIG_LOG_LEVEL 3
3523#endif
3524
3525// <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3526
3527// <0=> Default
3528// <1=> Black
3529// <2=> Red
3530// <3=> Green
3531// <4=> Yellow
3532// <5=> Blue
3533// <6=> Magenta
3534// <7=> Cyan
3535// <8=> White
3536
3537#ifndef RTC_CONFIG_INFO_COLOR
3538#define RTC_CONFIG_INFO_COLOR 0
3539#endif
3540
3541// <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3542
3543// <0=> Default
3544// <1=> Black
3545// <2=> Red
3546// <3=> Green
3547// <4=> Yellow
3548// <5=> Blue
3549// <6=> Magenta
3550// <7=> Cyan
3551// <8=> White
3552
3553#ifndef RTC_CONFIG_DEBUG_COLOR
3554#define RTC_CONFIG_DEBUG_COLOR 0
3555#endif
3556
3557// </e>
3558
3559// <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
3560//==========================================================
3561#ifndef SAADC_CONFIG_LOG_ENABLED
3562#define SAADC_CONFIG_LOG_ENABLED 0
3563#endif
3564// <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
3565
3566// <0=> Off
3567// <1=> Error
3568// <2=> Warning
3569// <3=> Info
3570// <4=> Debug
3571
3572#ifndef SAADC_CONFIG_LOG_LEVEL
3573#define SAADC_CONFIG_LOG_LEVEL 3
3574#endif
3575
3576// <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
3577
3578// <0=> Default
3579// <1=> Black
3580// <2=> Red
3581// <3=> Green
3582// <4=> Yellow
3583// <5=> Blue
3584// <6=> Magenta
3585// <7=> Cyan
3586// <8=> White
3587
3588#ifndef SAADC_CONFIG_INFO_COLOR
3589#define SAADC_CONFIG_INFO_COLOR 0
3590#endif
3591
3592// <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3593
3594// <0=> Default
3595// <1=> Black
3596// <2=> Red
3597// <3=> Green
3598// <4=> Yellow
3599// <5=> Blue
3600// <6=> Magenta
3601// <7=> Cyan
3602// <8=> White
3603
3604#ifndef SAADC_CONFIG_DEBUG_COLOR
3605#define SAADC_CONFIG_DEBUG_COLOR 0
3606#endif
3607
3608// </e>
3609
3610// <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
3611//==========================================================
3612#ifndef SPIS_CONFIG_LOG_ENABLED
3613#define SPIS_CONFIG_LOG_ENABLED 0
3614#endif
3615// <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
3616
3617// <0=> Off
3618// <1=> Error
3619// <2=> Warning
3620// <3=> Info
3621// <4=> Debug
3622
3623#ifndef SPIS_CONFIG_LOG_LEVEL
3624#define SPIS_CONFIG_LOG_LEVEL 3
3625#endif
3626
3627// <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
3628
3629// <0=> Default
3630// <1=> Black
3631// <2=> Red
3632// <3=> Green
3633// <4=> Yellow
3634// <5=> Blue
3635// <6=> Magenta
3636// <7=> Cyan
3637// <8=> White
3638
3639#ifndef SPIS_CONFIG_INFO_COLOR
3640#define SPIS_CONFIG_INFO_COLOR 0
3641#endif
3642
3643// <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3644
3645// <0=> Default
3646// <1=> Black
3647// <2=> Red
3648// <3=> Green
3649// <4=> Yellow
3650// <5=> Blue
3651// <6=> Magenta
3652// <7=> Cyan
3653// <8=> White
3654
3655#ifndef SPIS_CONFIG_DEBUG_COLOR
3656#define SPIS_CONFIG_DEBUG_COLOR 0
3657#endif
3658
3659// </e>
3660
3661// <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
3662//==========================================================
3663#ifndef SPI_CONFIG_LOG_ENABLED
3664#define SPI_CONFIG_LOG_ENABLED 0
3665#endif
3666// <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
3667
3668// <0=> Off
3669// <1=> Error
3670// <2=> Warning
3671// <3=> Info
3672// <4=> Debug
3673
3674#ifndef SPI_CONFIG_LOG_LEVEL
3675#define SPI_CONFIG_LOG_LEVEL 3
3676#endif
3677
3678// <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
3679
3680// <0=> Default
3681// <1=> Black
3682// <2=> Red
3683// <3=> Green
3684// <4=> Yellow
3685// <5=> Blue
3686// <6=> Magenta
3687// <7=> Cyan
3688// <8=> White
3689
3690#ifndef SPI_CONFIG_INFO_COLOR
3691#define SPI_CONFIG_INFO_COLOR 0
3692#endif
3693
3694// <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3695
3696// <0=> Default
3697// <1=> Black
3698// <2=> Red
3699// <3=> Green
3700// <4=> Yellow
3701// <5=> Blue
3702// <6=> Magenta
3703// <7=> Cyan
3704// <8=> White
3705
3706#ifndef SPI_CONFIG_DEBUG_COLOR
3707#define SPI_CONFIG_DEBUG_COLOR 0
3708#endif
3709
3710// </e>
3711
3712// <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
3713//==========================================================
3714#ifndef TIMER_CONFIG_LOG_ENABLED
3715#define TIMER_CONFIG_LOG_ENABLED 0
3716#endif
3717// <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
3718
3719// <0=> Off
3720// <1=> Error
3721// <2=> Warning
3722// <3=> Info
3723// <4=> Debug
3724
3725#ifndef TIMER_CONFIG_LOG_LEVEL
3726#define TIMER_CONFIG_LOG_LEVEL 3
3727#endif
3728
3729// <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
3730
3731// <0=> Default
3732// <1=> Black
3733// <2=> Red
3734// <3=> Green
3735// <4=> Yellow
3736// <5=> Blue
3737// <6=> Magenta
3738// <7=> Cyan
3739// <8=> White
3740
3741#ifndef TIMER_CONFIG_INFO_COLOR
3742#define TIMER_CONFIG_INFO_COLOR 0
3743#endif
3744
3745// <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3746
3747// <0=> Default
3748// <1=> Black
3749// <2=> Red
3750// <3=> Green
3751// <4=> Yellow
3752// <5=> Blue
3753// <6=> Magenta
3754// <7=> Cyan
3755// <8=> White
3756
3757#ifndef TIMER_CONFIG_DEBUG_COLOR
3758#define TIMER_CONFIG_DEBUG_COLOR 0
3759#endif
3760
3761// </e>
3762
3763// <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
3764//==========================================================
3765#ifndef TWIS_CONFIG_LOG_ENABLED
3766#define TWIS_CONFIG_LOG_ENABLED 0
3767#endif
3768// <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
3769
3770// <0=> Off
3771// <1=> Error
3772// <2=> Warning
3773// <3=> Info
3774// <4=> Debug
3775
3776#ifndef TWIS_CONFIG_LOG_LEVEL
3777#define TWIS_CONFIG_LOG_LEVEL 3
3778#endif
3779
3780// <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
3781
3782// <0=> Default
3783// <1=> Black
3784// <2=> Red
3785// <3=> Green
3786// <4=> Yellow
3787// <5=> Blue
3788// <6=> Magenta
3789// <7=> Cyan
3790// <8=> White
3791
3792#ifndef TWIS_CONFIG_INFO_COLOR
3793#define TWIS_CONFIG_INFO_COLOR 0
3794#endif
3795
3796// <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3797
3798// <0=> Default
3799// <1=> Black
3800// <2=> Red
3801// <3=> Green
3802// <4=> Yellow
3803// <5=> Blue
3804// <6=> Magenta
3805// <7=> Cyan
3806// <8=> White
3807
3808#ifndef TWIS_CONFIG_DEBUG_COLOR
3809#define TWIS_CONFIG_DEBUG_COLOR 0
3810#endif
3811
3812// </e>
3813
3814// <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
3815//==========================================================
3816#ifndef TWI_CONFIG_LOG_ENABLED
3817#define TWI_CONFIG_LOG_ENABLED 0
3818#endif
3819// <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
3820
3821// <0=> Off
3822// <1=> Error
3823// <2=> Warning
3824// <3=> Info
3825// <4=> Debug
3826
3827#ifndef TWI_CONFIG_LOG_LEVEL
3828#define TWI_CONFIG_LOG_LEVEL 3
3829#endif
3830
3831// <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
3832
3833// <0=> Default
3834// <1=> Black
3835// <2=> Red
3836// <3=> Green
3837// <4=> Yellow
3838// <5=> Blue
3839// <6=> Magenta
3840// <7=> Cyan
3841// <8=> White
3842
3843#ifndef TWI_CONFIG_INFO_COLOR
3844#define TWI_CONFIG_INFO_COLOR 0
3845#endif
3846
3847// <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3848
3849// <0=> Default
3850// <1=> Black
3851// <2=> Red
3852// <3=> Green
3853// <4=> Yellow
3854// <5=> Blue
3855// <6=> Magenta
3856// <7=> Cyan
3857// <8=> White
3858
3859#ifndef TWI_CONFIG_DEBUG_COLOR
3860#define TWI_CONFIG_DEBUG_COLOR 0
3861#endif
3862
3863// </e>
3864
3865// <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
3866//==========================================================
3867#ifndef UART_CONFIG_LOG_ENABLED
3868#define UART_CONFIG_LOG_ENABLED 0
3869#endif
3870// <o> UART_CONFIG_LOG_LEVEL - Default Severity level
3871
3872// <0=> Off
3873// <1=> Error
3874// <2=> Warning
3875// <3=> Info
3876// <4=> Debug
3877
3878#ifndef UART_CONFIG_LOG_LEVEL
3879#define UART_CONFIG_LOG_LEVEL 3
3880#endif
3881
3882// <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
3883
3884// <0=> Default
3885// <1=> Black
3886// <2=> Red
3887// <3=> Green
3888// <4=> Yellow
3889// <5=> Blue
3890// <6=> Magenta
3891// <7=> Cyan
3892// <8=> White
3893
3894#ifndef UART_CONFIG_INFO_COLOR
3895#define UART_CONFIG_INFO_COLOR 0
3896#endif
3897
3898// <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3899
3900// <0=> Default
3901// <1=> Black
3902// <2=> Red
3903// <3=> Green
3904// <4=> Yellow
3905// <5=> Blue
3906// <6=> Magenta
3907// <7=> Cyan
3908// <8=> White
3909
3910#ifndef UART_CONFIG_DEBUG_COLOR
3911#define UART_CONFIG_DEBUG_COLOR 0
3912#endif
3913
3914// </e>
3915
3916// <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
3917//==========================================================
3918#ifndef USBD_CONFIG_LOG_ENABLED
3919#define USBD_CONFIG_LOG_ENABLED 0
3920#endif
3921// <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
3922
3923// <0=> Off
3924// <1=> Error
3925// <2=> Warning
3926// <3=> Info
3927// <4=> Debug
3928
3929#ifndef USBD_CONFIG_LOG_LEVEL
3930#define USBD_CONFIG_LOG_LEVEL 3
3931#endif
3932
3933// <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
3934
3935// <0=> Default
3936// <1=> Black
3937// <2=> Red
3938// <3=> Green
3939// <4=> Yellow
3940// <5=> Blue
3941// <6=> Magenta
3942// <7=> Cyan
3943// <8=> White
3944
3945#ifndef USBD_CONFIG_INFO_COLOR
3946#define USBD_CONFIG_INFO_COLOR 0
3947#endif
3948
3949// <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3950
3951// <0=> Default
3952// <1=> Black
3953// <2=> Red
3954// <3=> Green
3955// <4=> Yellow
3956// <5=> Blue
3957// <6=> Magenta
3958// <7=> Cyan
3959// <8=> White
3960
3961#ifndef USBD_CONFIG_DEBUG_COLOR
3962#define USBD_CONFIG_DEBUG_COLOR 0
3963#endif
3964
3965// </e>
3966
3967// <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
3968//==========================================================
3969#ifndef WDT_CONFIG_LOG_ENABLED
3970#define WDT_CONFIG_LOG_ENABLED 0
3971#endif
3972// <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
3973
3974// <0=> Off
3975// <1=> Error
3976// <2=> Warning
3977// <3=> Info
3978// <4=> Debug
3979
3980#ifndef WDT_CONFIG_LOG_LEVEL
3981#define WDT_CONFIG_LOG_LEVEL 3
3982#endif
3983
3984// <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
3985
3986// <0=> Default
3987// <1=> Black
3988// <2=> Red
3989// <3=> Green
3990// <4=> Yellow
3991// <5=> Blue
3992// <6=> Magenta
3993// <7=> Cyan
3994// <8=> White
3995
3996#ifndef WDT_CONFIG_INFO_COLOR
3997#define WDT_CONFIG_INFO_COLOR 0
3998#endif
3999
4000// <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4001
4002// <0=> Default
4003// <1=> Black
4004// <2=> Red
4005// <3=> Green
4006// <4=> Yellow
4007// <5=> Blue
4008// <6=> Magenta
4009// <7=> Cyan
4010// <8=> White
4011
4012#ifndef WDT_CONFIG_DEBUG_COLOR
4013#define WDT_CONFIG_DEBUG_COLOR 0
4014#endif
4015
4016// </e>
4017
4018// </h>
4019//==========================================================
4020
4021// <h> nrf_log in nRF_Libraries
4022
4023//==========================================================
4024// <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
4025//==========================================================
4026#ifndef APP_BUTTON_CONFIG_LOG_ENABLED
4027#define APP_BUTTON_CONFIG_LOG_ENABLED 0
4028#endif
4029// <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
4030
4031// <0=> Off
4032// <1=> Error
4033// <2=> Warning
4034// <3=> Info
4035// <4=> Debug
4036
4037#ifndef APP_BUTTON_CONFIG_LOG_LEVEL
4038#define APP_BUTTON_CONFIG_LOG_LEVEL 3
4039#endif
4040
4041// <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
4042
4043// <i> If module generates a lot of logs, initial log level can
4044// <i> be decreased to prevent flooding. Severity level can be
4045// <i> increased on instance basis.
4046// <0=> Off
4047// <1=> Error
4048// <2=> Warning
4049// <3=> Info
4050// <4=> Debug
4051
4052#ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
4053#define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
4054#endif
4055
4056// <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
4057
4058// <0=> Default
4059// <1=> Black
4060// <2=> Red
4061// <3=> Green
4062// <4=> Yellow
4063// <5=> Blue
4064// <6=> Magenta
4065// <7=> Cyan
4066// <8=> White
4067
4068#ifndef APP_BUTTON_CONFIG_INFO_COLOR
4069#define APP_BUTTON_CONFIG_INFO_COLOR 0
4070#endif
4071
4072// <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4073
4074// <0=> Default
4075// <1=> Black
4076// <2=> Red
4077// <3=> Green
4078// <4=> Yellow
4079// <5=> Blue
4080// <6=> Magenta
4081// <7=> Cyan
4082// <8=> White
4083
4084#ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
4085#define APP_BUTTON_CONFIG_DEBUG_COLOR 0
4086#endif
4087
4088// </e>
4089
4090// <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
4091//==========================================================
4092#ifndef APP_TIMER_CONFIG_LOG_ENABLED
4093#define APP_TIMER_CONFIG_LOG_ENABLED 0
4094#endif
4095// <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
4096
4097// <0=> Off
4098// <1=> Error
4099// <2=> Warning
4100// <3=> Info
4101// <4=> Debug
4102
4103#ifndef APP_TIMER_CONFIG_LOG_LEVEL
4104#define APP_TIMER_CONFIG_LOG_LEVEL 3
4105#endif
4106
4107// <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
4108
4109// <i> If module generates a lot of logs, initial log level can
4110// <i> be decreased to prevent flooding. Severity level can be
4111// <i> increased on instance basis.
4112// <0=> Off
4113// <1=> Error
4114// <2=> Warning
4115// <3=> Info
4116// <4=> Debug
4117
4118#ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
4119#define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
4120#endif
4121
4122// <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
4123
4124// <0=> Default
4125// <1=> Black
4126// <2=> Red
4127// <3=> Green
4128// <4=> Yellow
4129// <5=> Blue
4130// <6=> Magenta
4131// <7=> Cyan
4132// <8=> White
4133
4134#ifndef APP_TIMER_CONFIG_INFO_COLOR
4135#define APP_TIMER_CONFIG_INFO_COLOR 0
4136#endif
4137
4138// <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4139
4140// <0=> Default
4141// <1=> Black
4142// <2=> Red
4143// <3=> Green
4144// <4=> Yellow
4145// <5=> Blue
4146// <6=> Magenta
4147// <7=> Cyan
4148// <8=> White
4149
4150#ifndef APP_TIMER_CONFIG_DEBUG_COLOR
4151#define APP_TIMER_CONFIG_DEBUG_COLOR 0
4152#endif
4153
4154// </e>
4155
4156// <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
4157//==========================================================
4158#ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
4159#define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
4160#endif
4161// <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
4162
4163// <0=> Off
4164// <1=> Error
4165// <2=> Warning
4166// <3=> Info
4167// <4=> Debug
4168
4169#ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
4170#define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
4171#endif
4172
4173// <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
4174
4175// <0=> Default
4176// <1=> Black
4177// <2=> Red
4178// <3=> Green
4179// <4=> Yellow
4180// <5=> Blue
4181// <6=> Magenta
4182// <7=> Cyan
4183// <8=> White
4184
4185#ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
4186#define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
4187#endif
4188
4189// <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4190
4191// <0=> Default
4192// <1=> Black
4193// <2=> Red
4194// <3=> Green
4195// <4=> Yellow
4196// <5=> Blue
4197// <6=> Magenta
4198// <7=> Cyan
4199// <8=> White
4200
4201#ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
4202#define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
4203#endif
4204
4205// </e>
4206
4207// <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
4208//==========================================================
4209#ifndef APP_USBD_CONFIG_LOG_ENABLED
4210#define APP_USBD_CONFIG_LOG_ENABLED 0
4211#endif
4212// <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
4213
4214// <0=> Off
4215// <1=> Error
4216// <2=> Warning
4217// <3=> Info
4218// <4=> Debug
4219
4220#ifndef APP_USBD_CONFIG_LOG_LEVEL
4221#define APP_USBD_CONFIG_LOG_LEVEL 3
4222#endif
4223
4224// <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
4225
4226// <0=> Default
4227// <1=> Black
4228// <2=> Red
4229// <3=> Green
4230// <4=> Yellow
4231// <5=> Blue
4232// <6=> Magenta
4233// <7=> Cyan
4234// <8=> White
4235
4236#ifndef APP_USBD_CONFIG_INFO_COLOR
4237#define APP_USBD_CONFIG_INFO_COLOR 0
4238#endif
4239
4240// <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4241
4242// <0=> Default
4243// <1=> Black
4244// <2=> Red
4245// <3=> Green
4246// <4=> Yellow
4247// <5=> Blue
4248// <6=> Magenta
4249// <7=> Cyan
4250// <8=> White
4251
4252#ifndef APP_USBD_CONFIG_DEBUG_COLOR
4253#define APP_USBD_CONFIG_DEBUG_COLOR 0
4254#endif
4255
4256// </e>
4257
4258// <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
4259//==========================================================
4260#ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
4261#define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
4262#endif
4263// <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
4264
4265// <0=> Off
4266// <1=> Error
4267// <2=> Warning
4268// <3=> Info
4269// <4=> Debug
4270
4271#ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
4272#define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
4273#endif
4274
4275// <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
4276
4277// <0=> Default
4278// <1=> Black
4279// <2=> Red
4280// <3=> Green
4281// <4=> Yellow
4282// <5=> Blue
4283// <6=> Magenta
4284// <7=> Cyan
4285// <8=> White
4286
4287#ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
4288#define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
4289#endif
4290
4291// <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4292
4293// <0=> Default
4294// <1=> Black
4295// <2=> Red
4296// <3=> Green
4297// <4=> Yellow
4298// <5=> Blue
4299// <6=> Magenta
4300// <7=> Cyan
4301// <8=> White
4302
4303#ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
4304#define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
4305#endif
4306
4307// </e>
4308
4309// <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
4310//==========================================================
4311#ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
4312#define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
4313#endif
4314// <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
4315
4316// <0=> Off
4317// <1=> Error
4318// <2=> Warning
4319// <3=> Info
4320// <4=> Debug
4321
4322#ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
4323#define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
4324#endif
4325
4326// <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
4327
4328// <0=> Default
4329// <1=> Black
4330// <2=> Red
4331// <3=> Green
4332// <4=> Yellow
4333// <5=> Blue
4334// <6=> Magenta
4335// <7=> Cyan
4336// <8=> White
4337
4338#ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
4339#define APP_USBD_MSC_CONFIG_INFO_COLOR 0
4340#endif
4341
4342// <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4343
4344// <0=> Default
4345// <1=> Black
4346// <2=> Red
4347// <3=> Green
4348// <4=> Yellow
4349// <5=> Blue
4350// <6=> Magenta
4351// <7=> Cyan
4352// <8=> White
4353
4354#ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
4355#define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
4356#endif
4357
4358// </e>
4359
4360// <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
4361//==========================================================
4362#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
4363#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
4364#endif
4365// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
4366
4367// <0=> Off
4368// <1=> Error
4369// <2=> Warning
4370// <3=> Info
4371// <4=> Debug
4372
4373#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
4374#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
4375#endif
4376
4377// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
4378
4379// <0=> Default
4380// <1=> Black
4381// <2=> Red
4382// <3=> Green
4383// <4=> Yellow
4384// <5=> Blue
4385// <6=> Magenta
4386// <7=> Cyan
4387// <8=> White
4388
4389#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
4390#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
4391#endif
4392
4393// <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4394
4395// <0=> Default
4396// <1=> Black
4397// <2=> Red
4398// <3=> Green
4399// <4=> Yellow
4400// <5=> Blue
4401// <6=> Magenta
4402// <7=> Cyan
4403// <8=> White
4404
4405#ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
4406#define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
4407#endif
4408
4409// </e>
4410
4411// <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
4412//==========================================================
4413#ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
4414#define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
4415#endif
4416// <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
4417
4418// <0=> Off
4419// <1=> Error
4420// <2=> Warning
4421// <3=> Info
4422// <4=> Debug
4423
4424#ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
4425#define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
4426#endif
4427
4428// <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
4429
4430// <0=> Off
4431// <1=> Error
4432// <2=> Warning
4433// <3=> Info
4434// <4=> Debug
4435
4436#ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
4437#define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
4438#endif
4439
4440// <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
4441
4442// <0=> Default
4443// <1=> Black
4444// <2=> Red
4445// <3=> Green
4446// <4=> Yellow
4447// <5=> Blue
4448// <6=> Magenta
4449// <7=> Cyan
4450// <8=> White
4451
4452#ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
4453#define NRF_ATFIFO_CONFIG_INFO_COLOR 0
4454#endif
4455
4456// <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4457
4458// <0=> Default
4459// <1=> Black
4460// <2=> Red
4461// <3=> Green
4462// <4=> Yellow
4463// <5=> Blue
4464// <6=> Magenta
4465// <7=> Cyan
4466// <8=> White
4467
4468#ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
4469#define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
4470#endif
4471
4472// </e>
4473
4474// <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
4475//==========================================================
4476#ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
4477#define NRF_BALLOC_CONFIG_LOG_ENABLED 0
4478#endif
4479// <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
4480
4481// <0=> Off
4482// <1=> Error
4483// <2=> Warning
4484// <3=> Info
4485// <4=> Debug
4486
4487#ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
4488#define NRF_BALLOC_CONFIG_LOG_LEVEL 3
4489#endif
4490
4491// <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
4492
4493// <i> If module generates a lot of logs, initial log level can
4494// <i> be decreased to prevent flooding. Severity level can be
4495// <i> increased on instance basis.
4496// <0=> Off
4497// <1=> Error
4498// <2=> Warning
4499// <3=> Info
4500// <4=> Debug
4501
4502#ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
4503#define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
4504#endif
4505
4506// <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
4507
4508// <0=> Default
4509// <1=> Black
4510// <2=> Red
4511// <3=> Green
4512// <4=> Yellow
4513// <5=> Blue
4514// <6=> Magenta
4515// <7=> Cyan
4516// <8=> White
4517
4518#ifndef NRF_BALLOC_CONFIG_INFO_COLOR
4519#define NRF_BALLOC_CONFIG_INFO_COLOR 0
4520#endif
4521
4522// <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4523
4524// <0=> Default
4525// <1=> Black
4526// <2=> Red
4527// <3=> Green
4528// <4=> Yellow
4529// <5=> Blue
4530// <6=> Magenta
4531// <7=> Cyan
4532// <8=> White
4533
4534#ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
4535#define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
4536#endif
4537
4538// </e>
4539
4540// <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
4541//==========================================================
4542#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
4543#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
4544#endif
4545// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
4546
4547// <0=> Off
4548// <1=> Error
4549// <2=> Warning
4550// <3=> Info
4551// <4=> Debug
4552
4553#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
4554#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
4555#endif
4556
4557// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
4558
4559// <0=> Off
4560// <1=> Error
4561// <2=> Warning
4562// <3=> Info
4563// <4=> Debug
4564
4565#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
4566#define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
4567#endif
4568
4569// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
4570
4571// <0=> Default
4572// <1=> Black
4573// <2=> Red
4574// <3=> Green
4575// <4=> Yellow
4576// <5=> Blue
4577// <6=> Magenta
4578// <7=> Cyan
4579// <8=> White
4580
4581#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
4582#define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
4583#endif
4584
4585// <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4586
4587// <0=> Default
4588// <1=> Black
4589// <2=> Red
4590// <3=> Green
4591// <4=> Yellow
4592// <5=> Blue
4593// <6=> Magenta
4594// <7=> Cyan
4595// <8=> White
4596
4597#ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
4598#define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
4599#endif
4600
4601// </e>
4602
4603// <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
4604//==========================================================
4605#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
4606#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
4607#endif
4608// <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
4609
4610// <0=> Off
4611// <1=> Error
4612// <2=> Warning
4613// <3=> Info
4614// <4=> Debug
4615
4616#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
4617#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
4618#endif
4619
4620// <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
4621
4622// <0=> Off
4623// <1=> Error
4624// <2=> Warning
4625// <3=> Info
4626// <4=> Debug
4627
4628#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
4629#define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
4630#endif
4631
4632// <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
4633
4634// <0=> Default
4635// <1=> Black
4636// <2=> Red
4637// <3=> Green
4638// <4=> Yellow
4639// <5=> Blue
4640// <6=> Magenta
4641// <7=> Cyan
4642// <8=> White
4643
4644#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
4645#define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
4646#endif
4647
4648// <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4649
4650// <0=> Default
4651// <1=> Black
4652// <2=> Red
4653// <3=> Green
4654// <4=> Yellow
4655// <5=> Blue
4656// <6=> Magenta
4657// <7=> Cyan
4658// <8=> White
4659
4660#ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
4661#define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
4662#endif
4663
4664// </e>
4665
4666// <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
4667//==========================================================
4668#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
4669#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
4670#endif
4671// <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
4672
4673// <0=> Off
4674// <1=> Error
4675// <2=> Warning
4676// <3=> Info
4677// <4=> Debug
4678
4679#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
4680#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
4681#endif
4682
4683// <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
4684
4685// <0=> Off
4686// <1=> Error
4687// <2=> Warning
4688// <3=> Info
4689// <4=> Debug
4690
4691#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
4692#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
4693#endif
4694
4695// <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
4696
4697// <0=> Default
4698// <1=> Black
4699// <2=> Red
4700// <3=> Green
4701// <4=> Yellow
4702// <5=> Blue
4703// <6=> Magenta
4704// <7=> Cyan
4705// <8=> White
4706
4707#ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
4708#define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
4709#endif
4710
4711// <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4712
4713// <0=> Default
4714// <1=> Black
4715// <2=> Red
4716// <3=> Green
4717// <4=> Yellow
4718// <5=> Blue
4719// <6=> Magenta
4720// <7=> Cyan
4721// <8=> White
4722
4723#ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
4724#define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
4725#endif
4726
4727// </e>
4728
4729// <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
4730//==========================================================
4731#ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
4732#define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
4733#endif
4734// <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
4735
4736// <0=> Off
4737// <1=> Error
4738// <2=> Warning
4739// <3=> Info
4740// <4=> Debug
4741
4742#ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
4743#define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
4744#endif
4745
4746// <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
4747
4748// <0=> Default
4749// <1=> Black
4750// <2=> Red
4751// <3=> Green
4752// <4=> Yellow
4753// <5=> Blue
4754// <6=> Magenta
4755// <7=> Cyan
4756// <8=> White
4757
4758#ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
4759#define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
4760#endif
4761
4762// <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4763
4764// <0=> Default
4765// <1=> Black
4766// <2=> Red
4767// <3=> Green
4768// <4=> Yellow
4769// <5=> Blue
4770// <6=> Magenta
4771// <7=> Cyan
4772// <8=> White
4773
4774#ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
4775#define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
4776#endif
4777
4778// </e>
4779
4780// <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
4781//==========================================================
4782#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
4783#define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
4784#endif
4785// <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
4786
4787// <0=> Off
4788// <1=> Error
4789// <2=> Warning
4790// <3=> Info
4791// <4=> Debug
4792
4793#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
4794#define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
4795#endif
4796
4797// <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
4798
4799// <0=> Default
4800// <1=> Black
4801// <2=> Red
4802// <3=> Green
4803// <4=> Yellow
4804// <5=> Blue
4805// <6=> Magenta
4806// <7=> Cyan
4807// <8=> White
4808
4809#ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
4810#define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
4811#endif
4812
4813// <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4814
4815// <0=> Default
4816// <1=> Black
4817// <2=> Red
4818// <3=> Green
4819// <4=> Yellow
4820// <5=> Blue
4821// <6=> Magenta
4822// <7=> Cyan
4823// <8=> White
4824
4825#ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
4826#define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
4827#endif
4828
4829// </e>
4830
4831// <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
4832//==========================================================
4833#ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
4834#define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
4835#endif
4836// <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
4837
4838// <0=> Off
4839// <1=> Error
4840// <2=> Warning
4841// <3=> Info
4842// <4=> Debug
4843
4844#ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
4845#define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
4846#endif
4847
4848// <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
4849
4850// <0=> Default
4851// <1=> Black
4852// <2=> Red
4853// <3=> Green
4854// <4=> Yellow
4855// <5=> Blue
4856// <6=> Magenta
4857// <7=> Cyan
4858// <8=> White
4859
4860#ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
4861#define NRF_CLI_UART_CONFIG_INFO_COLOR 0
4862#endif
4863
4864// <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4865
4866// <0=> Default
4867// <1=> Black
4868// <2=> Red
4869// <3=> Green
4870// <4=> Yellow
4871// <5=> Blue
4872// <6=> Magenta
4873// <7=> Cyan
4874// <8=> White
4875
4876#ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
4877#define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
4878#endif
4879
4880// </e>
4881
4882// <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
4883//==========================================================
4884#ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
4885#define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
4886#endif
4887// <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
4888
4889// <0=> Off
4890// <1=> Error
4891// <2=> Warning
4892// <3=> Info
4893// <4=> Debug
4894
4895#ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
4896#define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
4897#endif
4898
4899// <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
4900
4901// <0=> Default
4902// <1=> Black
4903// <2=> Red
4904// <3=> Green
4905// <4=> Yellow
4906// <5=> Blue
4907// <6=> Magenta
4908// <7=> Cyan
4909// <8=> White
4910
4911#ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
4912#define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
4913#endif
4914
4915// <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4916
4917// <0=> Default
4918// <1=> Black
4919// <2=> Red
4920// <3=> Green
4921// <4=> Yellow
4922// <5=> Blue
4923// <6=> Magenta
4924// <7=> Cyan
4925// <8=> White
4926
4927#ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
4928#define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
4929#endif
4930
4931// </e>
4932
4933// <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
4934//==========================================================
4935#ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
4936#define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
4937#endif
4938// <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
4939
4940// <0=> Off
4941// <1=> Error
4942// <2=> Warning
4943// <3=> Info
4944// <4=> Debug
4945
4946#ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
4947#define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
4948#endif
4949
4950// <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
4951
4952// <0=> Default
4953// <1=> Black
4954// <2=> Red
4955// <3=> Green
4956// <4=> Yellow
4957// <5=> Blue
4958// <6=> Magenta
4959// <7=> Cyan
4960// <8=> White
4961
4962#ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
4963#define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
4964#endif
4965
4966// <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
4967
4968// <0=> Default
4969// <1=> Black
4970// <2=> Red
4971// <3=> Green
4972// <4=> Yellow
4973// <5=> Blue
4974// <6=> Magenta
4975// <7=> Cyan
4976// <8=> White
4977
4978#ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
4979#define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
4980#endif
4981
4982// </e>
4983
4984// <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
4985//==========================================================
4986#ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
4987#define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
4988#endif
4989// <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
4990
4991// <0=> Off
4992// <1=> Error
4993// <2=> Warning
4994// <3=> Info
4995// <4=> Debug
4996
4997#ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
4998#define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
4999#endif
5000
5001// <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
5002
5003// <0=> Default
5004// <1=> Black
5005// <2=> Red
5006// <3=> Green
5007// <4=> Yellow
5008// <5=> Blue
5009// <6=> Magenta
5010// <7=> Cyan
5011// <8=> White
5012
5013#ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
5014#define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
5015#endif
5016
5017// <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5018
5019// <0=> Default
5020// <1=> Black
5021// <2=> Red
5022// <3=> Green
5023// <4=> Yellow
5024// <5=> Blue
5025// <6=> Magenta
5026// <7=> Cyan
5027// <8=> White
5028
5029#ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
5030#define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
5031#endif
5032
5033// </e>
5034
5035// <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
5036//==========================================================
5037#ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
5038#define NRF_QUEUE_CONFIG_LOG_ENABLED 0
5039#endif
5040// <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
5041
5042// <0=> Off
5043// <1=> Error
5044// <2=> Warning
5045// <3=> Info
5046// <4=> Debug
5047
5048#ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
5049#define NRF_QUEUE_CONFIG_LOG_LEVEL 3
5050#endif
5051
5052// <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
5053
5054// <0=> Off
5055// <1=> Error
5056// <2=> Warning
5057// <3=> Info
5058// <4=> Debug
5059
5060#ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
5061#define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
5062#endif
5063
5064// <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
5065
5066// <0=> Default
5067// <1=> Black
5068// <2=> Red
5069// <3=> Green
5070// <4=> Yellow
5071// <5=> Blue
5072// <6=> Magenta
5073// <7=> Cyan
5074// <8=> White
5075
5076#ifndef NRF_QUEUE_CONFIG_INFO_COLOR
5077#define NRF_QUEUE_CONFIG_INFO_COLOR 0
5078#endif
5079
5080// <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5081
5082// <0=> Default
5083// <1=> Black
5084// <2=> Red
5085// <3=> Green
5086// <4=> Yellow
5087// <5=> Blue
5088// <6=> Magenta
5089// <7=> Cyan
5090// <8=> White
5091
5092#ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
5093#define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
5094#endif
5095
5096// </e>
5097
5098// <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
5099//==========================================================
5100#ifndef NRF_SDH_ANT_LOG_ENABLED
5101#define NRF_SDH_ANT_LOG_ENABLED 0
5102#endif
5103// <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
5104
5105// <0=> Off
5106// <1=> Error
5107// <2=> Warning
5108// <3=> Info
5109// <4=> Debug
5110
5111#ifndef NRF_SDH_ANT_LOG_LEVEL
5112#define NRF_SDH_ANT_LOG_LEVEL 3
5113#endif
5114
5115// <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
5116
5117// <0=> Default
5118// <1=> Black
5119// <2=> Red
5120// <3=> Green
5121// <4=> Yellow
5122// <5=> Blue
5123// <6=> Magenta
5124// <7=> Cyan
5125// <8=> White
5126
5127#ifndef NRF_SDH_ANT_INFO_COLOR
5128#define NRF_SDH_ANT_INFO_COLOR 0
5129#endif
5130
5131// <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
5132
5133// <0=> Default
5134// <1=> Black
5135// <2=> Red
5136// <3=> Green
5137// <4=> Yellow
5138// <5=> Blue
5139// <6=> Magenta
5140// <7=> Cyan
5141// <8=> White
5142
5143#ifndef NRF_SDH_ANT_DEBUG_COLOR
5144#define NRF_SDH_ANT_DEBUG_COLOR 0
5145#endif
5146
5147// </e>
5148
5149// <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
5150//==========================================================
5151#ifndef NRF_SDH_BLE_LOG_ENABLED
5152#define NRF_SDH_BLE_LOG_ENABLED 1
5153#endif
5154// <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
5155
5156// <0=> Off
5157// <1=> Error
5158// <2=> Warning
5159// <3=> Info
5160// <4=> Debug
5161
5162#ifndef NRF_SDH_BLE_LOG_LEVEL
5163#define NRF_SDH_BLE_LOG_LEVEL 3
5164#endif
5165
5166// <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
5167
5168// <0=> Default
5169// <1=> Black
5170// <2=> Red
5171// <3=> Green
5172// <4=> Yellow
5173// <5=> Blue
5174// <6=> Magenta
5175// <7=> Cyan
5176// <8=> White
5177
5178#ifndef NRF_SDH_BLE_INFO_COLOR
5179#define NRF_SDH_BLE_INFO_COLOR 0
5180#endif
5181
5182// <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
5183
5184// <0=> Default
5185// <1=> Black
5186// <2=> Red
5187// <3=> Green
5188// <4=> Yellow
5189// <5=> Blue
5190// <6=> Magenta
5191// <7=> Cyan
5192// <8=> White
5193
5194#ifndef NRF_SDH_BLE_DEBUG_COLOR
5195#define NRF_SDH_BLE_DEBUG_COLOR 0
5196#endif
5197
5198// </e>
5199
5200// <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
5201//==========================================================
5202#ifndef NRF_SDH_LOG_ENABLED
5203#define NRF_SDH_LOG_ENABLED 1
5204#endif
5205// <o> NRF_SDH_LOG_LEVEL - Default Severity level
5206
5207// <0=> Off
5208// <1=> Error
5209// <2=> Warning
5210// <3=> Info
5211// <4=> Debug
5212
5213#ifndef NRF_SDH_LOG_LEVEL
5214#define NRF_SDH_LOG_LEVEL 3
5215#endif
5216
5217// <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
5218
5219// <0=> Default
5220// <1=> Black
5221// <2=> Red
5222// <3=> Green
5223// <4=> Yellow
5224// <5=> Blue
5225// <6=> Magenta
5226// <7=> Cyan
5227// <8=> White
5228
5229#ifndef NRF_SDH_INFO_COLOR
5230#define NRF_SDH_INFO_COLOR 0
5231#endif
5232
5233// <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
5234
5235// <0=> Default
5236// <1=> Black
5237// <2=> Red
5238// <3=> Green
5239// <4=> Yellow
5240// <5=> Blue
5241// <6=> Magenta
5242// <7=> Cyan
5243// <8=> White
5244
5245#ifndef NRF_SDH_DEBUG_COLOR
5246#define NRF_SDH_DEBUG_COLOR 0
5247#endif
5248
5249// </e>
5250
5251// <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
5252//==========================================================
5253#ifndef NRF_SDH_SOC_LOG_ENABLED
5254#define NRF_SDH_SOC_LOG_ENABLED 1
5255#endif
5256// <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
5257
5258// <0=> Off
5259// <1=> Error
5260// <2=> Warning
5261// <3=> Info
5262// <4=> Debug
5263
5264#ifndef NRF_SDH_SOC_LOG_LEVEL
5265#define NRF_SDH_SOC_LOG_LEVEL 3
5266#endif
5267
5268// <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
5269
5270// <0=> Default
5271// <1=> Black
5272// <2=> Red
5273// <3=> Green
5274// <4=> Yellow
5275// <5=> Blue
5276// <6=> Magenta
5277// <7=> Cyan
5278// <8=> White
5279
5280#ifndef NRF_SDH_SOC_INFO_COLOR
5281#define NRF_SDH_SOC_INFO_COLOR 0
5282#endif
5283
5284// <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
5285
5286// <0=> Default
5287// <1=> Black
5288// <2=> Red
5289// <3=> Green
5290// <4=> Yellow
5291// <5=> Blue
5292// <6=> Magenta
5293// <7=> Cyan
5294// <8=> White
5295
5296#ifndef NRF_SDH_SOC_DEBUG_COLOR
5297#define NRF_SDH_SOC_DEBUG_COLOR 0
5298#endif
5299
5300// </e>
5301
5302// <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
5303//==========================================================
5304#ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
5305#define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
5306#endif
5307// <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
5308
5309// <0=> Off
5310// <1=> Error
5311// <2=> Warning
5312// <3=> Info
5313// <4=> Debug
5314
5315#ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
5316#define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
5317#endif
5318
5319// <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
5320
5321// <0=> Default
5322// <1=> Black
5323// <2=> Red
5324// <3=> Green
5325// <4=> Yellow
5326// <5=> Blue
5327// <6=> Magenta
5328// <7=> Cyan
5329// <8=> White
5330
5331#ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
5332#define NRF_SORTLIST_CONFIG_INFO_COLOR 0
5333#endif
5334
5335// <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5336
5337// <0=> Default
5338// <1=> Black
5339// <2=> Red
5340// <3=> Green
5341// <4=> Yellow
5342// <5=> Blue
5343// <6=> Magenta
5344// <7=> Cyan
5345// <8=> White
5346
5347#ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
5348#define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
5349#endif
5350
5351// </e>
5352
5353// <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
5354//==========================================================
5355#ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
5356#define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
5357#endif
5358// <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
5359
5360// <0=> Off
5361// <1=> Error
5362// <2=> Warning
5363// <3=> Info
5364// <4=> Debug
5365
5366#ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
5367#define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
5368#endif
5369
5370// <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
5371
5372// <0=> Default
5373// <1=> Black
5374// <2=> Red
5375// <3=> Green
5376// <4=> Yellow
5377// <5=> Blue
5378// <6=> Magenta
5379// <7=> Cyan
5380// <8=> White
5381
5382#ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
5383#define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
5384#endif
5385
5386// <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5387
5388// <0=> Default
5389// <1=> Black
5390// <2=> Red
5391// <3=> Green
5392// <4=> Yellow
5393// <5=> Blue
5394// <6=> Magenta
5395// <7=> Cyan
5396// <8=> White
5397
5398#ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
5399#define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
5400#endif
5401
5402// </e>
5403
5404// <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
5405//==========================================================
5406#ifndef PM_LOG_ENABLED
5407#define PM_LOG_ENABLED 1
5408#endif
5409// <o> PM_LOG_LEVEL - Default Severity level
5410
5411// <0=> Off
5412// <1=> Error
5413// <2=> Warning
5414// <3=> Info
5415// <4=> Debug
5416
5417#ifndef PM_LOG_LEVEL
5418#define PM_LOG_LEVEL 3
5419#endif
5420
5421// <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
5422
5423// <0=> Default
5424// <1=> Black
5425// <2=> Red
5426// <3=> Green
5427// <4=> Yellow
5428// <5=> Blue
5429// <6=> Magenta
5430// <7=> Cyan
5431// <8=> White
5432
5433#ifndef PM_LOG_INFO_COLOR
5434#define PM_LOG_INFO_COLOR 0
5435#endif
5436
5437// <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
5438
5439// <0=> Default
5440// <1=> Black
5441// <2=> Red
5442// <3=> Green
5443// <4=> Yellow
5444// <5=> Blue
5445// <6=> Magenta
5446// <7=> Cyan
5447// <8=> White
5448
5449#ifndef PM_LOG_DEBUG_COLOR
5450#define PM_LOG_DEBUG_COLOR 0
5451#endif
5452
5453// </e>
5454
5455// </h>
5456//==========================================================
5457
5458// <h> nrf_log in nRF_Serialization
5459
5460//==========================================================
5461// <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
5462//==========================================================
5463#ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
5464#define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
5465#endif
5466// <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
5467
5468// <0=> Off
5469// <1=> Error
5470// <2=> Warning
5471// <3=> Info
5472// <4=> Debug
5473
5474#ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
5475#define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
5476#endif
5477
5478// <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
5479
5480// <0=> Default
5481// <1=> Black
5482// <2=> Red
5483// <3=> Green
5484// <4=> Yellow
5485// <5=> Blue
5486// <6=> Magenta
5487// <7=> Cyan
5488// <8=> White
5489
5490#ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
5491#define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
5492#endif
5493
5494// <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
5495
5496// <0=> Default
5497// <1=> Black
5498// <2=> Red
5499// <3=> Green
5500// <4=> Yellow
5501// <5=> Blue
5502// <6=> Magenta
5503// <7=> Cyan
5504// <8=> White
5505
5506#ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
5507#define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
5508#endif
5509
5510// </e>
5511
5512// </h>
5513//==========================================================
5514
5515// </h>
5516//==========================================================
5517
5518// </e>
5519
5520// <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
5521
5522#ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
5523#define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
5524#endif
5525
5526// </h>
5527//==========================================================
5528
5529// <h> nRF_Segger_RTT
5530
5531//==========================================================
5532// <h> segger_rtt - SEGGER RTT
5533
5534//==========================================================
5535// <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_UP - Size of upstream buffer.
5536// <i> Note that either @ref NRF_LOG_BACKEND_RTT_OUTPUT_BUFFER_SIZE
5537// <i> or this value is actually used. It depends on which one is bigger.
5538
5539#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
5540#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512
5541#endif
5542
5543// <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
5544#ifndef SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS
5545#define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 2
5546#endif
5547
5548// <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN - Size of downstream buffer.
5549#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN
5550#define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16
5551#endif
5552
5553// <o> SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS - Maximum number of downstream buffers.
5554#ifndef SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS
5555#define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 2
5556#endif
5557
5558// <o> SEGGER_RTT_CONFIG_DEFAULT_MODE - RTT behavior if the buffer is full.
5559
5560// <i> The following modes are supported:
5561// <i> - SKIP - Do not block, output nothing.
5562// <i> - TRIM - Do not block, output as much as fits.
5563// <i> - BLOCK - Wait until there is space in the buffer.
5564// <0=> SKIP
5565// <1=> TRIM
5566// <2=> BLOCK_IF_FIFO_FULL
5567
5568#ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE
5569#define SEGGER_RTT_CONFIG_DEFAULT_MODE 0
5570#endif
5571
5572// </h>
5573//==========================================================
5574
5575// </h>
5576//==========================================================
5577
5578// <h> nRF_SoftDevice
5579
5580//==========================================================
5581// <e> NRF_SDH_BLE_ENABLED - nrf_sdh_ble - SoftDevice BLE event handler
5582//==========================================================
5583#ifndef NRF_SDH_BLE_ENABLED
5584#define NRF_SDH_BLE_ENABLED 0
5585#endif
5586// <h> BLE Stack configuration - Stack configuration parameters
5587
5588// <i> The SoftDevice handler will configure the stack with these parameters when calling @ref
5589// nrf_sdh_ble_default_cfg_set. <i> Other libraries might depend on these values; keep them up-to-date even if you are
5590// not explicitely calling @ref nrf_sdh_ble_default_cfg_set.
5591//==========================================================
5592// <o> NRF_SDH_BLE_GAP_DATA_LENGTH <27-251>
5593
5594// <i> Requested BLE GAP data length to be negotiated.
5595
5596#ifndef NRF_SDH_BLE_GAP_DATA_LENGTH
5597#define NRF_SDH_BLE_GAP_DATA_LENGTH 27
5598#endif
5599
5600// <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links.
5601#ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
5602#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 0
5603#endif
5604
5605// <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links.
5606#ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
5607#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 0
5608#endif
5609
5610// <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count.
5611// <i> Maximum number of total concurrent connections using the default configuration.
5612
5613#ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
5614#define NRF_SDH_BLE_TOTAL_LINK_COUNT 1
5615#endif
5616
5617// <o> NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length.
5618// <i> The time set aside for this connection on every connection interval in 1.25 ms units.
5619
5620#ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
5621#define NRF_SDH_BLE_GAP_EVENT_LENGTH 6
5622#endif
5623
5624// <o> NRF_SDH_BLE_GATT_MAX_MTU_SIZE - Static maximum MTU size.
5625#ifndef NRF_SDH_BLE_GATT_MAX_MTU_SIZE
5626#define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 23
5627#endif
5628
5629// <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4.
5630#ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
5631#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
5632#endif
5633
5634// <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs.
5635#ifndef NRF_SDH_BLE_VS_UUID_COUNT
5636#define NRF_SDH_BLE_VS_UUID_COUNT 0
5637#endif
5638
5639// <q> NRF_SDH_BLE_SERVICE_CHANGED - Include the Service Changed characteristic in the Attribute Table.
5640
5641#ifndef NRF_SDH_BLE_SERVICE_CHANGED
5642#define NRF_SDH_BLE_SERVICE_CHANGED 0
5643#endif
5644
5645// </h>
5646//==========================================================
5647
5648// <h> BLE Observers - Observers and priority levels
5649
5650//==========================================================
5651// <o> NRF_SDH_BLE_OBSERVER_PRIO_LEVELS - Total number of priority levels for BLE observers.
5652// <i> This setting configures the number of priority levels available for BLE event handlers.
5653// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
5654
5655#ifndef NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
5656#define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS 4
5657#endif
5658
5659// <h> BLE Observers priorities - Invididual priorities
5660
5661//==========================================================
5662// <o> BLE_ADV_BLE_OBSERVER_PRIO
5663// <i> Priority with which BLE events are dispatched to the Advertising module.
5664
5665#ifndef BLE_ADV_BLE_OBSERVER_PRIO
5666#define BLE_ADV_BLE_OBSERVER_PRIO 1
5667#endif
5668
5669// <o> BLE_ANCS_C_BLE_OBSERVER_PRIO
5670// <i> Priority with which BLE events are dispatched to the Apple Notification Service Client.
5671
5672#ifndef BLE_ANCS_C_BLE_OBSERVER_PRIO
5673#define BLE_ANCS_C_BLE_OBSERVER_PRIO 2
5674#endif
5675
5676// <o> BLE_ANS_C_BLE_OBSERVER_PRIO
5677// <i> Priority with which BLE events are dispatched to the Alert Notification Service Client.
5678
5679#ifndef BLE_ANS_C_BLE_OBSERVER_PRIO
5680#define BLE_ANS_C_BLE_OBSERVER_PRIO 2
5681#endif
5682
5683// <o> BLE_BAS_BLE_OBSERVER_PRIO
5684// <i> Priority with which BLE events are dispatched to the Battery Service.
5685
5686#ifndef BLE_BAS_BLE_OBSERVER_PRIO
5687#define BLE_BAS_BLE_OBSERVER_PRIO 2
5688#endif
5689
5690// <o> BLE_BAS_C_BLE_OBSERVER_PRIO
5691// <i> Priority with which BLE events are dispatched to the Battery Service Client.
5692
5693#ifndef BLE_BAS_C_BLE_OBSERVER_PRIO
5694#define BLE_BAS_C_BLE_OBSERVER_PRIO 2
5695#endif
5696
5697// <o> BLE_BPS_BLE_OBSERVER_PRIO
5698// <i> Priority with which BLE events are dispatched to the Blood Pressure Service.
5699
5700#ifndef BLE_BPS_BLE_OBSERVER_PRIO
5701#define BLE_BPS_BLE_OBSERVER_PRIO 2
5702#endif
5703
5704// <o> BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
5705// <i> Priority with which BLE events are dispatched to the Connection parameters module.
5706
5707#ifndef BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
5708#define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO 1
5709#endif
5710
5711// <o> BLE_CONN_STATE_BLE_OBSERVER_PRIO
5712// <i> Priority with which BLE events are dispatched to the Connection State module.
5713
5714#ifndef BLE_CONN_STATE_BLE_OBSERVER_PRIO
5715#define BLE_CONN_STATE_BLE_OBSERVER_PRIO 0
5716#endif
5717
5718// <o> BLE_CSCS_BLE_OBSERVER_PRIO
5719// <i> Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.
5720
5721#ifndef BLE_CSCS_BLE_OBSERVER_PRIO
5722#define BLE_CSCS_BLE_OBSERVER_PRIO 2
5723#endif
5724
5725// <o> BLE_CTS_C_BLE_OBSERVER_PRIO
5726// <i> Priority with which BLE events are dispatched to the Current Time Service Client.
5727
5728#ifndef BLE_CTS_C_BLE_OBSERVER_PRIO
5729#define BLE_CTS_C_BLE_OBSERVER_PRIO 2
5730#endif
5731
5732// <o> BLE_DB_DISC_BLE_OBSERVER_PRIO
5733// <i> Priority with which BLE events are dispatched to the Database Discovery module.
5734
5735#ifndef BLE_DB_DISC_BLE_OBSERVER_PRIO
5736#define BLE_DB_DISC_BLE_OBSERVER_PRIO 1
5737#endif
5738
5739// <o> BLE_DFU_BLE_OBSERVER_PRIO
5740// <i> Priority with which BLE events are dispatched to the DFU Service.
5741
5742#ifndef BLE_DFU_BLE_OBSERVER_PRIO
5743#define BLE_DFU_BLE_OBSERVER_PRIO 2
5744#endif
5745
5746// <o> BLE_DIS_C_BLE_OBSERVER_PRIO
5747// <i> Priority with which BLE events are dispatched to the Device Information Client.
5748
5749#ifndef BLE_DIS_C_BLE_OBSERVER_PRIO
5750#define BLE_DIS_C_BLE_OBSERVER_PRIO 2
5751#endif
5752
5753// <o> BLE_GLS_BLE_OBSERVER_PRIO
5754// <i> Priority with which BLE events are dispatched to the Glucose Service.
5755
5756#ifndef BLE_GLS_BLE_OBSERVER_PRIO
5757#define BLE_GLS_BLE_OBSERVER_PRIO 2
5758#endif
5759
5760// <o> BLE_HIDS_BLE_OBSERVER_PRIO
5761// <i> Priority with which BLE events are dispatched to the Human Interface Device Service.
5762
5763#ifndef BLE_HIDS_BLE_OBSERVER_PRIO
5764#define BLE_HIDS_BLE_OBSERVER_PRIO 2
5765#endif
5766
5767// <o> BLE_HRS_BLE_OBSERVER_PRIO
5768// <i> Priority with which BLE events are dispatched to the Heart Rate Service.
5769
5770#ifndef BLE_HRS_BLE_OBSERVER_PRIO
5771#define BLE_HRS_BLE_OBSERVER_PRIO 2
5772#endif
5773
5774// <o> BLE_HRS_C_BLE_OBSERVER_PRIO
5775// <i> Priority with which BLE events are dispatched to the Heart Rate Service Client.
5776
5777#ifndef BLE_HRS_C_BLE_OBSERVER_PRIO
5778#define BLE_HRS_C_BLE_OBSERVER_PRIO 2
5779#endif
5780
5781// <o> BLE_HTS_BLE_OBSERVER_PRIO
5782// <i> Priority with which BLE events are dispatched to the Health Thermometer Service.
5783
5784#ifndef BLE_HTS_BLE_OBSERVER_PRIO
5785#define BLE_HTS_BLE_OBSERVER_PRIO 2
5786#endif
5787
5788// <o> BLE_IAS_BLE_OBSERVER_PRIO
5789// <i> Priority with which BLE events are dispatched to the Immediate Alert Service.
5790
5791#ifndef BLE_IAS_BLE_OBSERVER_PRIO
5792#define BLE_IAS_BLE_OBSERVER_PRIO 2
5793#endif
5794
5795// <o> BLE_IAS_C_BLE_OBSERVER_PRIO
5796// <i> Priority with which BLE events are dispatched to the Immediate Alert Service Client.
5797
5798#ifndef BLE_IAS_C_BLE_OBSERVER_PRIO
5799#define BLE_IAS_C_BLE_OBSERVER_PRIO 2
5800#endif
5801
5802// <o> BLE_LBS_BLE_OBSERVER_PRIO
5803// <i> Priority with which BLE events are dispatched to the LED Button Service.
5804
5805#ifndef BLE_LBS_BLE_OBSERVER_PRIO
5806#define BLE_LBS_BLE_OBSERVER_PRIO 2
5807#endif
5808
5809// <o> BLE_LBS_C_BLE_OBSERVER_PRIO
5810// <i> Priority with which BLE events are dispatched to the LED Button Service Client.
5811
5812#ifndef BLE_LBS_C_BLE_OBSERVER_PRIO
5813#define BLE_LBS_C_BLE_OBSERVER_PRIO 2
5814#endif
5815
5816// <o> BLE_LLS_BLE_OBSERVER_PRIO
5817// <i> Priority with which BLE events are dispatched to the Link Loss Service.
5818
5819#ifndef BLE_LLS_BLE_OBSERVER_PRIO
5820#define BLE_LLS_BLE_OBSERVER_PRIO 2
5821#endif
5822
5823// <o> BLE_LNS_BLE_OBSERVER_PRIO
5824// <i> Priority with which BLE events are dispatched to the Location Navigation Service.
5825
5826#ifndef BLE_LNS_BLE_OBSERVER_PRIO
5827#define BLE_LNS_BLE_OBSERVER_PRIO 2
5828#endif
5829
5830// <o> BLE_NUS_BLE_OBSERVER_PRIO
5831// <i> Priority with which BLE events are dispatched to the UART Service.
5832
5833#ifndef BLE_NUS_BLE_OBSERVER_PRIO
5834#define BLE_NUS_BLE_OBSERVER_PRIO 2
5835#endif
5836
5837// <o> BLE_NUS_C_BLE_OBSERVER_PRIO
5838// <i> Priority with which BLE events are dispatched to the UART Central Service.
5839
5840#ifndef BLE_NUS_C_BLE_OBSERVER_PRIO
5841#define BLE_NUS_C_BLE_OBSERVER_PRIO 2
5842#endif
5843
5844// <o> BLE_OTS_BLE_OBSERVER_PRIO
5845// <i> Priority with which BLE events are dispatched to the Object transfer service.
5846
5847#ifndef BLE_OTS_BLE_OBSERVER_PRIO
5848#define BLE_OTS_BLE_OBSERVER_PRIO 2
5849#endif
5850
5851// <o> BLE_OTS_C_BLE_OBSERVER_PRIO
5852// <i> Priority with which BLE events are dispatched to the Object transfer service client.
5853
5854#ifndef BLE_OTS_C_BLE_OBSERVER_PRIO
5855#define BLE_OTS_C_BLE_OBSERVER_PRIO 2
5856#endif
5857
5858// <o> BLE_RSCS_BLE_OBSERVER_PRIO
5859// <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Service.
5860
5861#ifndef BLE_RSCS_BLE_OBSERVER_PRIO
5862#define BLE_RSCS_BLE_OBSERVER_PRIO 2
5863#endif
5864
5865// <o> BLE_RSCS_C_BLE_OBSERVER_PRIO
5866// <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Client.
5867
5868#ifndef BLE_RSCS_C_BLE_OBSERVER_PRIO
5869#define BLE_RSCS_C_BLE_OBSERVER_PRIO 2
5870#endif
5871
5872// <o> BLE_TPS_BLE_OBSERVER_PRIO
5873// <i> Priority with which BLE events are dispatched to the TX Power Service.
5874
5875#ifndef BLE_TPS_BLE_OBSERVER_PRIO
5876#define BLE_TPS_BLE_OBSERVER_PRIO 2
5877#endif
5878
5879// <o> BSP_BTN_BLE_OBSERVER_PRIO
5880// <i> Priority with which BLE events are dispatched to the Button Control module.
5881
5882#ifndef BSP_BTN_BLE_OBSERVER_PRIO
5883#define BSP_BTN_BLE_OBSERVER_PRIO 1
5884#endif
5885
5886// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5887// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5888
5889#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5890#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5891#endif
5892
5893// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5894// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5895
5896#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5897#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5898#endif
5899
5900// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5901// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5902
5903#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5904#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5905#endif
5906
5907// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5908// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5909
5910#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5911#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5912#endif
5913
5914// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5915// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5916
5917#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5918#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5919#endif
5920
5921// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5922// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5923
5924#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5925#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5926#endif
5927
5928// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5929// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5930
5931#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5932#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5933#endif
5934
5935// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5936// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5937
5938#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5939#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5940#endif
5941
5942// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5943// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5944
5945#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5946#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5947#endif
5948
5949// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5950// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5951
5952#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5953#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5954#endif
5955
5956// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5957// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5958
5959#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5960#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5961#endif
5962
5963// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5964// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5965
5966#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5967#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5968#endif
5969
5970// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5971// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5972
5973#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5974#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5975#endif
5976
5977// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5978// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5979
5980#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5981#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5982#endif
5983
5984// <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5985// <i> Priority with which BLE events are dispatched to the NFC pairing library.
5986
5987#ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
5988#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
5989#endif
5990
5991// <o> NRF_BLE_BMS_BLE_OBSERVER_PRIO
5992// <i> Priority with which BLE events are dispatched to the Bond Management Service.
5993
5994#ifndef NRF_BLE_BMS_BLE_OBSERVER_PRIO
5995#define NRF_BLE_BMS_BLE_OBSERVER_PRIO 2
5996#endif
5997
5998// <o> NRF_BLE_CGMS_BLE_OBSERVER_PRIO
5999// <i> Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.
6000
6001#ifndef NRF_BLE_CGMS_BLE_OBSERVER_PRIO
6002#define NRF_BLE_CGMS_BLE_OBSERVER_PRIO 2
6003#endif
6004
6005// <o> NRF_BLE_ES_BLE_OBSERVER_PRIO
6006// <i> Priority with which BLE events are dispatched to the Eddystone module.
6007
6008#ifndef NRF_BLE_ES_BLE_OBSERVER_PRIO
6009#define NRF_BLE_ES_BLE_OBSERVER_PRIO 2
6010#endif
6011
6012// <o> NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
6013// <i> Priority with which BLE events are dispatched to the GATT Service Client.
6014
6015#ifndef NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
6016#define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO 2
6017#endif
6018
6019// <o> NRF_BLE_GATT_BLE_OBSERVER_PRIO
6020// <i> Priority with which BLE events are dispatched to the GATT module.
6021
6022#ifndef NRF_BLE_GATT_BLE_OBSERVER_PRIO
6023#define NRF_BLE_GATT_BLE_OBSERVER_PRIO 1
6024#endif
6025
6026// <o> NRF_BLE_GQ_BLE_OBSERVER_PRIO
6027// <i> Priority with which BLE events are dispatched to the GATT Queue module.
6028
6029#ifndef NRF_BLE_GQ_BLE_OBSERVER_PRIO
6030#define NRF_BLE_GQ_BLE_OBSERVER_PRIO 1
6031#endif
6032
6033// <o> NRF_BLE_QWR_BLE_OBSERVER_PRIO
6034// <i> Priority with which BLE events are dispatched to the Queued writes module.
6035
6036#ifndef NRF_BLE_QWR_BLE_OBSERVER_PRIO
6037#define NRF_BLE_QWR_BLE_OBSERVER_PRIO 2
6038#endif
6039
6040// <o> NRF_BLE_SCAN_OBSERVER_PRIO
6041// <i> Priority for dispatching the BLE events to the Scanning Module.
6042
6043#ifndef NRF_BLE_SCAN_OBSERVER_PRIO
6044#define NRF_BLE_SCAN_OBSERVER_PRIO 1
6045#endif
6046
6047// <o> PM_BLE_OBSERVER_PRIO - Priority with which BLE events are dispatched to the Peer Manager module.
6048#ifndef PM_BLE_OBSERVER_PRIO
6049#define PM_BLE_OBSERVER_PRIO 1
6050#endif
6051
6052// </h>
6053//==========================================================
6054
6055// </h>
6056//==========================================================
6057
6058// </e>
6059
6060// <e> NRF_SDH_ENABLED - nrf_sdh - SoftDevice handler
6061//==========================================================
6062#ifndef NRF_SDH_ENABLED
6063#define NRF_SDH_ENABLED 0
6064#endif
6065// <h> Dispatch model
6066
6067// <i> This setting configures how Stack events are dispatched to the application.
6068//==========================================================
6069// <o> NRF_SDH_DISPATCH_MODEL
6070
6071// <i> NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
6072// <i> NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
6073// <i> NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
6074// <0=> NRF_SDH_DISPATCH_MODEL_INTERRUPT
6075// <1=> NRF_SDH_DISPATCH_MODEL_APPSH
6076// <2=> NRF_SDH_DISPATCH_MODEL_POLLING
6077
6078#ifndef NRF_SDH_DISPATCH_MODEL
6079#define NRF_SDH_DISPATCH_MODEL 0
6080#endif
6081
6082// </h>
6083//==========================================================
6084
6085// <h> Clock - SoftDevice clock configuration
6086
6087//==========================================================
6088// <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
6089
6090// <0=> NRF_CLOCK_LF_SRC_RC
6091// <1=> NRF_CLOCK_LF_SRC_XTAL
6092// <2=> NRF_CLOCK_LF_SRC_SYNTH
6093
6094#ifndef NRF_SDH_CLOCK_LF_SRC
6095#define NRF_SDH_CLOCK_LF_SRC 1
6096#endif
6097
6098// <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
6099#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
6100#define NRF_SDH_CLOCK_LF_RC_CTIV 0
6101#endif
6102
6103// <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
6104// <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
6105// <i> if the temperature has not changed.
6106
6107#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
6108#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
6109#endif
6110
6111// <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
6112
6113// <0=> NRF_CLOCK_LF_ACCURACY_250_PPM
6114// <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
6115// <2=> NRF_CLOCK_LF_ACCURACY_150_PPM
6116// <3=> NRF_CLOCK_LF_ACCURACY_100_PPM
6117// <4=> NRF_CLOCK_LF_ACCURACY_75_PPM
6118// <5=> NRF_CLOCK_LF_ACCURACY_50_PPM
6119// <6=> NRF_CLOCK_LF_ACCURACY_30_PPM
6120// <7=> NRF_CLOCK_LF_ACCURACY_20_PPM
6121// <8=> NRF_CLOCK_LF_ACCURACY_10_PPM
6122// <9=> NRF_CLOCK_LF_ACCURACY_5_PPM
6123// <10=> NRF_CLOCK_LF_ACCURACY_2_PPM
6124// <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
6125
6126#ifndef NRF_SDH_CLOCK_LF_ACCURACY
6127#define NRF_SDH_CLOCK_LF_ACCURACY 7
6128#endif
6129
6130// </h>
6131//==========================================================
6132
6133// <h> SDH Observers - Observers and priority levels
6134
6135//==========================================================
6136// <o> NRF_SDH_REQ_OBSERVER_PRIO_LEVELS - Total number of priority levels for request observers.
6137// <i> This setting configures the number of priority levels available for the SoftDevice request event handlers.
6138// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
6139
6140#ifndef NRF_SDH_REQ_OBSERVER_PRIO_LEVELS
6141#define NRF_SDH_REQ_OBSERVER_PRIO_LEVELS 2
6142#endif
6143
6144// <o> NRF_SDH_STATE_OBSERVER_PRIO_LEVELS - Total number of priority levels for state observers.
6145// <i> This setting configures the number of priority levels available for the SoftDevice state event handlers.
6146// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
6147
6148#ifndef NRF_SDH_STATE_OBSERVER_PRIO_LEVELS
6149#define NRF_SDH_STATE_OBSERVER_PRIO_LEVELS 2
6150#endif
6151
6152// <o> NRF_SDH_STACK_OBSERVER_PRIO_LEVELS - Total number of priority levels for stack event observers.
6153// <i> This setting configures the number of priority levels available for the SoftDevice stack event handlers (ANT,
6154// BLE, SoC). <i> The priority level of a handler determines the order in which it receives events, with respect to
6155// other handlers.
6156
6157#ifndef NRF_SDH_STACK_OBSERVER_PRIO_LEVELS
6158#define NRF_SDH_STACK_OBSERVER_PRIO_LEVELS 2
6159#endif
6160
6161// <h> State Observers priorities - Invididual priorities
6162
6163//==========================================================
6164// <o> CLOCK_CONFIG_STATE_OBSERVER_PRIO
6165// <i> Priority with which state events are dispatched to the Clock driver.
6166
6167#ifndef CLOCK_CONFIG_STATE_OBSERVER_PRIO
6168#define CLOCK_CONFIG_STATE_OBSERVER_PRIO 0
6169#endif
6170
6171// <o> POWER_CONFIG_STATE_OBSERVER_PRIO
6172// <i> Priority with which state events are dispatched to the Power driver.
6173
6174#ifndef POWER_CONFIG_STATE_OBSERVER_PRIO
6175#define POWER_CONFIG_STATE_OBSERVER_PRIO 0
6176#endif
6177
6178// <o> RNG_CONFIG_STATE_OBSERVER_PRIO
6179// <i> Priority with which state events are dispatched to this module.
6180
6181#ifndef RNG_CONFIG_STATE_OBSERVER_PRIO
6182#define RNG_CONFIG_STATE_OBSERVER_PRIO 0
6183#endif
6184
6185// </h>
6186//==========================================================
6187
6188// <h> Stack Event Observers priorities - Invididual priorities
6189
6190//==========================================================
6191// <o> NRF_SDH_ANT_STACK_OBSERVER_PRIO
6192// <i> This setting configures the priority with which ANT events are processed with respect to other events coming from
6193// the stack. <i> Modify this setting if you need to have ANT events dispatched before or after other stack events, such
6194// as BLE or SoC. <i> Zero is the highest priority.
6195
6196#ifndef NRF_SDH_ANT_STACK_OBSERVER_PRIO
6197#define NRF_SDH_ANT_STACK_OBSERVER_PRIO 0
6198#endif
6199
6200// <o> NRF_SDH_BLE_STACK_OBSERVER_PRIO
6201// <i> This setting configures the priority with which BLE events are processed with respect to other events coming from
6202// the stack. <i> Modify this setting if you need to have BLE events dispatched before or after other stack events, such
6203// as ANT or SoC. <i> Zero is the highest priority.
6204
6205#ifndef NRF_SDH_BLE_STACK_OBSERVER_PRIO
6206#define NRF_SDH_BLE_STACK_OBSERVER_PRIO 0
6207#endif
6208
6209// <o> NRF_SDH_SOC_STACK_OBSERVER_PRIO
6210// <i> This setting configures the priority with which SoC events are processed with respect to other events coming from
6211// the stack. <i> Modify this setting if you need to have SoC events dispatched before or after other stack events, such
6212// as ANT or BLE. <i> Zero is the highest priority.
6213
6214#ifndef NRF_SDH_SOC_STACK_OBSERVER_PRIO
6215#define NRF_SDH_SOC_STACK_OBSERVER_PRIO 0
6216#endif
6217
6218// </h>
6219//==========================================================
6220
6221// </h>
6222//==========================================================
6223
6224// </e>
6225
6226// <e> NRF_SDH_SOC_ENABLED - nrf_sdh_soc - SoftDevice SoC event handler
6227//==========================================================
6228#ifndef NRF_SDH_SOC_ENABLED
6229#define NRF_SDH_SOC_ENABLED 0
6230#endif
6231// <h> SoC Observers - Observers and priority levels
6232
6233//==========================================================
6234// <o> NRF_SDH_SOC_OBSERVER_PRIO_LEVELS - Total number of priority levels for SoC observers.
6235// <i> This setting configures the number of priority levels available for the SoC event handlers.
6236// <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
6237
6238#ifndef NRF_SDH_SOC_OBSERVER_PRIO_LEVELS
6239#define NRF_SDH_SOC_OBSERVER_PRIO_LEVELS 2
6240#endif
6241
6242// <h> SoC Observers priorities - Invididual priorities
6243
6244//==========================================================
6245// <o> BLE_DFU_SOC_OBSERVER_PRIO
6246// <i> Priority with which BLE events are dispatched to the DFU Service.
6247
6248#ifndef BLE_DFU_SOC_OBSERVER_PRIO
6249#define BLE_DFU_SOC_OBSERVER_PRIO 1
6250#endif
6251
6252// <o> CLOCK_CONFIG_SOC_OBSERVER_PRIO
6253// <i> Priority with which SoC events are dispatched to the Clock driver.
6254
6255#ifndef CLOCK_CONFIG_SOC_OBSERVER_PRIO
6256#define CLOCK_CONFIG_SOC_OBSERVER_PRIO 0
6257#endif
6258
6259// <o> POWER_CONFIG_SOC_OBSERVER_PRIO
6260// <i> Priority with which SoC events are dispatched to the Power driver.
6261
6262#ifndef POWER_CONFIG_SOC_OBSERVER_PRIO
6263#define POWER_CONFIG_SOC_OBSERVER_PRIO 0
6264#endif
6265
6266// </h>
6267//==========================================================
6268
6269// </h>
6270//==========================================================
6271
6272// </e>
6273
6274// </h>
6275//==========================================================
6276
6277// <<< end of configuration section >>>
6278#endif // SDK_CONFIG_H