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