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