Contiki-NG
sdk_config.h
1 /**
2  * Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
3  *
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without modification,
7  * are permitted provided that the following conditions are met:
8  *
9  * 1. Redistributions of source code must retain the above copyright notice, this
10  * list of conditions and the following disclaimer.
11  *
12  * 2. Redistributions in binary form, except as embedded into a Nordic
13  * Semiconductor ASA integrated circuit in a product or a software update for
14  * such product, must reproduce the above copyright notice, this list of
15  * conditions and the following disclaimer in the documentation and/or other
16  * materials provided with the distribution.
17  *
18  * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
19  * contributors may be used to endorse or promote products derived from this
20  * software without specific prior written permission.
21  *
22  * 4. This software, with or without modification, must only be used with a
23  * Nordic Semiconductor ASA integrated circuit.
24  *
25  * 5. Any software provided in binary form under this license must not be reverse
26  * engineered, decompiled, modified and/or disassembled.
27  *
28  * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
29  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30  * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
31  * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
32  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
34  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
37  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38  *
39  */
40 
41 
42 
43 #ifndef SDK_CONFIG_H
44 #define SDK_CONFIG_H
45 // <<< Use Configuration Wizard in Context Menu >>>\n
46 #ifdef USE_APP_CONFIG
47 #include "app_config.h"
48 #endif
49 // <h> nRF_Drivers
50 
51 //==========================================================
52 // <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer
53 //==========================================================
54 #ifndef GPIOTE_ENABLED
55 #define GPIOTE_ENABLED 1
56 #endif
57 // <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
58 #ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
59 #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
60 #endif
61 
62 // <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
63 
64 
65 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
66 // <0=> 0 (highest)
67 // <1=> 1
68 // <2=> 2
69 // <3=> 3
70 // <4=> 4
71 // <5=> 5
72 // <6=> 6
73 // <7=> 7
74 
75 #ifndef GPIOTE_CONFIG_IRQ_PRIORITY
76 #define GPIOTE_CONFIG_IRQ_PRIORITY 6
77 #endif
78 
79 // </e>
80 
81 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
82 //==========================================================
83 #ifndef NRFX_CLOCK_ENABLED
84 #define NRFX_CLOCK_ENABLED 1
85 #endif
86 // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
87 
88 // <0=> RC
89 // <1=> XTAL
90 // <2=> Synth
91 // <131073=> External Low Swing
92 // <196609=> External Full Swing
93 
94 #ifndef NRFX_CLOCK_CONFIG_LF_SRC
95 #define NRFX_CLOCK_CONFIG_LF_SRC 1
96 #endif
97 
98 // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
99 
100 // <0=> 0 (highest)
101 // <1=> 1
102 // <2=> 2
103 // <3=> 3
104 // <4=> 4
105 // <5=> 5
106 // <6=> 6
107 // <7=> 7
108 
109 #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
110 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
111 #endif
112 
113 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
114 //==========================================================
115 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
116 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
117 #endif
118 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
119 
120 // <0=> Off
121 // <1=> Error
122 // <2=> Warning
123 // <3=> Info
124 // <4=> Debug
125 
126 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
127 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
128 #endif
129 
130 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
131 
132 // <0=> Default
133 // <1=> Black
134 // <2=> Red
135 // <3=> Green
136 // <4=> Yellow
137 // <5=> Blue
138 // <6=> Magenta
139 // <7=> Cyan
140 // <8=> White
141 
142 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
143 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
144 #endif
145 
146 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
147 
148 // <0=> Default
149 // <1=> Black
150 // <2=> Red
151 // <3=> Green
152 // <4=> Yellow
153 // <5=> Blue
154 // <6=> Magenta
155 // <7=> Cyan
156 // <8=> White
157 
158 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
159 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
160 #endif
161 
162 // </e>
163 
164 // </e>
165 
166 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
167 //==========================================================
168 #ifndef NRFX_GPIOTE_ENABLED
169 #define NRFX_GPIOTE_ENABLED 1
170 #endif
171 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
172 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
173 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
174 #endif
175 
176 // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
177 
178 // <0=> 0 (highest)
179 // <1=> 1
180 // <2=> 2
181 // <3=> 3
182 // <4=> 4
183 // <5=> 5
184 // <6=> 6
185 // <7=> 7
186 
187 #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
188 #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6
189 #endif
190 
191 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
192 //==========================================================
193 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
194 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
195 #endif
196 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
197 
198 // <0=> Off
199 // <1=> Error
200 // <2=> Warning
201 // <3=> Info
202 // <4=> Debug
203 
204 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
205 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
206 #endif
207 
208 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
209 
210 // <0=> Default
211 // <1=> Black
212 // <2=> Red
213 // <3=> Green
214 // <4=> Yellow
215 // <5=> Blue
216 // <6=> Magenta
217 // <7=> Cyan
218 // <8=> White
219 
220 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
221 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
222 #endif
223 
224 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
225 
226 // <0=> Default
227 // <1=> Black
228 // <2=> Red
229 // <3=> Green
230 // <4=> Yellow
231 // <5=> Blue
232 // <6=> Magenta
233 // <7=> Cyan
234 // <8=> White
235 
236 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
237 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
238 #endif
239 
240 // </e>
241 
242 // </e>
243 
244 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
245 //==========================================================
246 #ifndef NRFX_RTC_ENABLED
247 #define NRFX_RTC_ENABLED 1
248 #endif
249 // <q> NRFX_RTC0_ENABLED - Enable RTC0 instance
250 
251 
252 #ifndef NRFX_RTC0_ENABLED
253 #define NRFX_RTC0_ENABLED 0
254 #endif
255 
256 // <q> NRFX_RTC1_ENABLED - Enable RTC1 instance
257 
258 
259 #ifndef NRFX_RTC1_ENABLED
260 #define NRFX_RTC1_ENABLED 1
261 #endif
262 
263 // <q> NRFX_RTC2_ENABLED - Enable RTC2 instance
264 
265 
266 #ifndef NRFX_RTC2_ENABLED
267 #define NRFX_RTC2_ENABLED 0
268 #endif
269 
270 // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
271 #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
272 #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
273 #endif
274 
275 // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
276 
277 
278 #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
279 #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 128
280 #endif
281 
282 // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
283 
284 
285 #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
286 #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
287 #endif
288 
289 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
290 
291 // <0=> 0 (highest)
292 // <1=> 1
293 // <2=> 2
294 // <3=> 3
295 // <4=> 4
296 // <5=> 5
297 // <6=> 6
298 // <7=> 7
299 
300 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
301 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
302 #endif
303 
304 // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
305 //==========================================================
306 #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
307 #define NRFX_RTC_CONFIG_LOG_ENABLED 0
308 #endif
309 // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default Severity level
310 
311 // <0=> Off
312 // <1=> Error
313 // <2=> Warning
314 // <3=> Info
315 // <4=> Debug
316 
317 #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
318 #define NRFX_RTC_CONFIG_LOG_LEVEL 3
319 #endif
320 
321 // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
322 
323 // <0=> Default
324 // <1=> Black
325 // <2=> Red
326 // <3=> Green
327 // <4=> Yellow
328 // <5=> Blue
329 // <6=> Magenta
330 // <7=> Cyan
331 // <8=> White
332 
333 #ifndef NRFX_RTC_CONFIG_INFO_COLOR
334 #define NRFX_RTC_CONFIG_INFO_COLOR 0
335 #endif
336 
337 // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
338 
339 // <0=> Default
340 // <1=> Black
341 // <2=> Red
342 // <3=> Green
343 // <4=> Yellow
344 // <5=> Blue
345 // <6=> Magenta
346 // <7=> Cyan
347 // <8=> White
348 
349 #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
350 #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
351 #endif
352 
353 // </e>
354 
355 // </e>
356 
357 // <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
358 //==========================================================
359 #ifndef NRF_CLOCK_ENABLED
360 #define NRF_CLOCK_ENABLED 1
361 #endif
362 // <o> CLOCK_CONFIG_LF_SRC - LF Clock Source
363 
364 // <0=> RC
365 // <1=> XTAL
366 // <2=> Synth
367 // <131073=> External Low Swing
368 // <196609=> External Full Swing
369 
370 #ifndef CLOCK_CONFIG_LF_SRC
371 #define CLOCK_CONFIG_LF_SRC 1
372 #endif
373 
374 // <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
375 
376 
377 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
378 // <0=> 0 (highest)
379 // <1=> 1
380 // <2=> 2
381 // <3=> 3
382 // <4=> 4
383 // <5=> 5
384 // <6=> 6
385 // <7=> 7
386 
387 #ifndef CLOCK_CONFIG_IRQ_PRIORITY
388 #define CLOCK_CONFIG_IRQ_PRIORITY 6
389 #endif
390 
391 // </e>
392 
393 // <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver - legacy layer
394 //==========================================================
395 #ifndef RTC_ENABLED
396 #define RTC_ENABLED 1
397 #endif
398 // <o> RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
399 
400 
401 #ifndef RTC_DEFAULT_CONFIG_FREQUENCY
402 #define RTC_DEFAULT_CONFIG_FREQUENCY 128
403 #endif
404 
405 // <q> RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
406 
407 
408 #ifndef RTC_DEFAULT_CONFIG_RELIABLE
409 #define RTC_DEFAULT_CONFIG_RELIABLE 0
410 #endif
411 
412 // <o> RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
413 
414 
415 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
416 // <0=> 0 (highest)
417 // <1=> 1
418 // <2=> 2
419 // <3=> 3
420 // <4=> 4
421 // <5=> 5
422 // <6=> 6
423 // <7=> 7
424 
425 #ifndef RTC_DEFAULT_CONFIG_IRQ_PRIORITY
426 #define RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
427 #endif
428 
429 // <q> RTC0_ENABLED - Enable RTC0 instance
430 
431 
432 #ifndef RTC0_ENABLED
433 #define RTC0_ENABLED 1
434 #endif
435 
436 // <q> RTC1_ENABLED - Enable RTC1 instance
437 
438 
439 #ifndef RTC1_ENABLED
440 #define RTC1_ENABLED 0
441 #endif
442 
443 // <q> RTC2_ENABLED - Enable RTC2 instance
444 
445 
446 #ifndef RTC2_ENABLED
447 #define RTC2_ENABLED 0
448 #endif
449 
450 // <o> NRF_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
451 #ifndef NRF_MAXIMUM_LATENCY_US
452 #define NRF_MAXIMUM_LATENCY_US 2000
453 #endif
454 
455 // </e>
456 
457 // <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer
458 //==========================================================
459 #ifndef TIMER_ENABLED
460 #define TIMER_ENABLED 1
461 #endif
462 // <o> TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
463 
464 // <0=> 16 MHz
465 // <1=> 8 MHz
466 // <2=> 4 MHz
467 // <3=> 2 MHz
468 // <4=> 1 MHz
469 // <5=> 500 kHz
470 // <6=> 250 kHz
471 // <7=> 125 kHz
472 // <8=> 62.5 kHz
473 // <9=> 31.25 kHz
474 
475 #ifndef TIMER_DEFAULT_CONFIG_FREQUENCY
476 #define TIMER_DEFAULT_CONFIG_FREQUENCY 8
477 #endif
478 
479 // <o> TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
480 
481 // <0=> Timer
482 // <1=> Counter
483 
484 #ifndef TIMER_DEFAULT_CONFIG_MODE
485 #define TIMER_DEFAULT_CONFIG_MODE 0
486 #endif
487 
488 // <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
489 
490 // <0=> 16 bit
491 // <1=> 8 bit
492 // <2=> 24 bit
493 // <3=> 32 bit
494 
495 #ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH
496 #define TIMER_DEFAULT_CONFIG_BIT_WIDTH 3
497 #endif
498 
499 // <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
500 
501 
502 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
503 // <0=> 0 (highest)
504 // <1=> 1
505 // <2=> 2
506 // <3=> 3
507 // <4=> 4
508 // <5=> 5
509 // <6=> 6
510 // <7=> 7
511 
512 #ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
513 #define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
514 #endif
515 
516 // <q> TIMER0_ENABLED - Enable TIMER0 instance
517 
518 
519 #ifndef TIMER0_ENABLED
520 #define TIMER0_ENABLED 1
521 #endif
522 
523 // <q> TIMER1_ENABLED - Enable TIMER1 instance
524 
525 
526 #ifndef TIMER1_ENABLED
527 #define TIMER1_ENABLED 0
528 #endif
529 
530 // <q> TIMER2_ENABLED - Enable TIMER2 instance
531 
532 
533 #ifndef TIMER2_ENABLED
534 #define TIMER2_ENABLED 0
535 #endif
536 
537 // <q> TIMER3_ENABLED - Enable TIMER3 instance
538 
539 
540 #ifndef TIMER3_ENABLED
541 #define TIMER3_ENABLED 0
542 #endif
543 
544 // <q> TIMER4_ENABLED - Enable TIMER4 instance
545 
546 
547 #ifndef TIMER4_ENABLED
548 #define TIMER4_ENABLED 0
549 #endif
550 
551 // </e>
552 
553 // <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
554 //==========================================================
555 #ifndef UART_ENABLED
556 #define UART_ENABLED 1
557 #endif
558 // <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
559 
560 // <0=> Disabled
561 // <1=> Enabled
562 
563 #ifndef UART_DEFAULT_CONFIG_HWFC
564 #define UART_DEFAULT_CONFIG_HWFC 0
565 #endif
566 
567 // <o> UART_DEFAULT_CONFIG_PARITY - Parity
568 
569 // <0=> Excluded
570 // <14=> Included
571 
572 #ifndef UART_DEFAULT_CONFIG_PARITY
573 #define UART_DEFAULT_CONFIG_PARITY 0
574 #endif
575 
576 // <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
577 
578 // <323584=> 1200 baud
579 // <643072=> 2400 baud
580 // <1290240=> 4800 baud
581 // <2576384=> 9600 baud
582 // <3862528=> 14400 baud
583 // <5152768=> 19200 baud
584 // <7716864=> 28800 baud
585 // <10289152=> 38400 baud
586 // <15400960=> 57600 baud
587 // <20615168=> 76800 baud
588 // <30801920=> 115200 baud
589 // <61865984=> 230400 baud
590 // <67108864=> 250000 baud
591 // <121634816=> 460800 baud
592 // <251658240=> 921600 baud
593 // <268435456=> 1000000 baud
594 
595 #ifndef UART_DEFAULT_CONFIG_BAUDRATE
596 #define UART_DEFAULT_CONFIG_BAUDRATE 30801920
597 #endif
598 
599 // <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
600 
601 
602 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
603 // <0=> 0 (highest)
604 // <1=> 1
605 // <2=> 2
606 // <3=> 3
607 // <4=> 4
608 // <5=> 5
609 // <6=> 6
610 // <7=> 7
611 
612 #ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
613 #define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
614 #endif
615 
616 // <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
617 
618 
619 #ifndef UART_EASY_DMA_SUPPORT
620 #define UART_EASY_DMA_SUPPORT 1
621 #endif
622 
623 // <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
624 
625 
626 #ifndef UART_LEGACY_SUPPORT
627 #define UART_LEGACY_SUPPORT 1
628 #endif
629 
630 // <e> UART0_ENABLED - Enable UART0 instance
631 //==========================================================
632 #ifndef UART0_ENABLED
633 #define UART0_ENABLED 1
634 #endif
635 // <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
636 
637 
638 #ifndef UART0_CONFIG_USE_EASY_DMA
639 #define UART0_CONFIG_USE_EASY_DMA 0
640 #endif
641 
642 // </e>
643 
644 // </e>
645 
646 // <e> WDT_ENABLED - nrf_drv_wdt - WDT peripheral driver - legacy layer
647 //==========================================================
648 #ifndef WDT_ENABLED
649 #define WDT_ENABLED 1
650 #endif
651 // <o> WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
652 
653 // <1=> Run in SLEEP, Pause in HALT
654 // <8=> Pause in SLEEP, Run in HALT
655 // <9=> Run in SLEEP and HALT
656 // <0=> Pause in SLEEP and HALT
657 
658 #ifndef WDT_CONFIG_BEHAVIOUR
659 #define WDT_CONFIG_BEHAVIOUR 1
660 #endif
661 
662 // <o> WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
663 
664 
665 #ifndef WDT_CONFIG_RELOAD_VALUE
666 #define WDT_CONFIG_RELOAD_VALUE 2000
667 #endif
668 
669 // <o> WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
670 
671 
672 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
673 // <0=> 0 (highest)
674 // <1=> 1
675 // <2=> 2
676 // <3=> 3
677 // <4=> 4
678 // <5=> 5
679 // <6=> 6
680 // <7=> 7
681 
682 #ifndef WDT_CONFIG_IRQ_PRIORITY
683 #define WDT_CONFIG_IRQ_PRIORITY 6
684 #endif
685 
686 // </e>
687 
688 // <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
689 //==========================================================
690 #ifndef RNG_ENABLED
691 #define RNG_ENABLED 1
692 #endif
693 // <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
694 
695 
696 #ifndef RNG_CONFIG_ERROR_CORRECTION
697 #define RNG_CONFIG_ERROR_CORRECTION 1
698 #endif
699 
700 // <o> RNG_CONFIG_POOL_SIZE - Pool size
701 #ifndef RNG_CONFIG_POOL_SIZE
702 #define RNG_CONFIG_POOL_SIZE 8
703 #endif
704 
705 // <o> RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
706 
707 
708 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
709 // <0=> 0 (highest)
710 // <1=> 1
711 // <2=> 2
712 // <3=> 3
713 // <4=> 4
714 // <5=> 5
715 // <6=> 6
716 // <7=> 7
717 
718 #ifndef RNG_CONFIG_IRQ_PRIORITY
719 #define RNG_CONFIG_IRQ_PRIORITY 6
720 #endif
721 
722 // </e>
723 
724 // </h>
725 //==========================================================
726 
727 // <h> nRF_Libraries
728 
729 //==========================================================
730 // <e> APP_TIMER_ENABLED - app_timer - Application timer functionality
731 //==========================================================
732 #ifndef APP_TIMER_ENABLED
733 #define APP_TIMER_ENABLED 0
734 #endif
735 // <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler.
736 
737 // <0=> 32768 Hz
738 // <1=> 16384 Hz
739 // <3=> 8192 Hz
740 // <7=> 4096 Hz
741 // <15=> 2048 Hz
742 // <31=> 1024 Hz
743 
744 #ifndef APP_TIMER_CONFIG_RTC_FREQUENCY
745 #define APP_TIMER_CONFIG_RTC_FREQUENCY 0
746 #endif
747 
748 // <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority
749 
750 
751 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
752 // <0=> 0 (highest)
753 // <1=> 1
754 // <2=> 2
755 // <3=> 3
756 // <4=> 4
757 // <5=> 5
758 // <6=> 6
759 // <7=> 7
760 
761 #ifndef APP_TIMER_CONFIG_IRQ_PRIORITY
762 #define APP_TIMER_CONFIG_IRQ_PRIORITY 6
763 #endif
764 
765 // <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue.
766 // <i> Size of the queue depends on how many timers are used
767 // <i> in the system, how often timers are started and overall
768 // <i> system latency. If queue size is too small app_timer calls
769 // <i> will fail.
770 
771 #ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
772 #define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
773 #endif
774 
775 // <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler
776 
777 
778 #ifndef APP_TIMER_CONFIG_USE_SCHEDULER
779 #define APP_TIMER_CONFIG_USE_SCHEDULER 0
780 #endif
781 
782 // <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on
783 
784 
785 // <i> If option is enabled RTC is kept running even if there is no active timers.
786 // <i> This option can be used when app_timer is used for timestamping.
787 
788 #ifndef APP_TIMER_KEEPS_RTC_ACTIVE
789 #define APP_TIMER_KEEPS_RTC_ACTIVE 0
790 #endif
791 
792 // <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event.
793 // <i> Maximum possible timeout that can be set is reduced by safe window.
794 // <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS.
795 // <i> Since RTC is not stopped when processor is halted in debugging session, this value
796 // <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS
797 // <i> without corrupting app_timer behavior.
798 
799 #ifndef APP_TIMER_SAFE_WINDOW_MS
800 #define APP_TIMER_SAFE_WINDOW_MS 300000
801 #endif
802 
803 // <h> App Timer Legacy configuration - Legacy configuration.
804 
805 //==========================================================
806 // <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling
807 
808 
809 #ifndef APP_TIMER_WITH_PROFILER
810 #define APP_TIMER_WITH_PROFILER 0
811 #endif
812 
813 // <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used.
814 
815 
816 #ifndef APP_TIMER_CONFIG_SWI_NUMBER
817 #define APP_TIMER_CONFIG_SWI_NUMBER 0
818 #endif
819 
820 // </h>
821 //==========================================================
822 
823 // </e>
824 
825 // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
826 //==========================================================
827 #ifndef NRF_BALLOC_ENABLED
828 #define NRF_BALLOC_ENABLED 0
829 #endif
830 // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
831 //==========================================================
832 #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
833 #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
834 #endif
835 // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
836 
837 
838 #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
839 #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
840 #endif
841 
842 // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
843 
844 
845 #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
846 #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
847 #endif
848 
849 // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
850 
851 
852 #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
853 #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
854 #endif
855 
856 // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
857 
858 
859 #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
860 #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
861 #endif
862 
863 // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
864 
865 
866 #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
867 #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
868 #endif
869 
870 // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
871 
872 
873 #ifndef NRF_BALLOC_CLI_CMDS
874 #define NRF_BALLOC_CLI_CMDS 0
875 #endif
876 
877 // </e>
878 
879 // </e>
880 
881 // <q> NRF_FPRINTF_ENABLED - nrf_fprintf - fprintf function.
882 
883 
884 #ifndef NRF_FPRINTF_ENABLED
885 #define NRF_FPRINTF_ENABLED 0
886 #endif
887 
888 // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
889 
890 
891 #ifndef NRF_MEMOBJ_ENABLED
892 #define NRF_MEMOBJ_ENABLED 0
893 #endif
894 
895 // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
896 
897 
898 #ifndef NRF_STRERROR_ENABLED
899 #define NRF_STRERROR_ENABLED 0
900 #endif
901 
902 // <h> app_button - buttons handling module
903 
904 //==========================================================
905 // <q> BUTTON_ENABLED - Enables Button module
906 
907 
908 #ifndef BUTTON_ENABLED
909 #define BUTTON_ENABLED 0
910 #endif
911 
912 // <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
913 
914 
915 #ifndef BUTTON_HIGH_ACCURACY_ENABLED
916 #define BUTTON_HIGH_ACCURACY_ENABLED 0
917 #endif
918 
919 // </h>
920 //==========================================================
921 
922 // </h>
923 //==========================================================
924 
925 // <h> nRF_Log
926 
927 //==========================================================
928 // <e> NRF_LOG_ENABLED - nrf_log - Logger
929 //==========================================================
930 #ifndef NRF_LOG_ENABLED
931 #define NRF_LOG_ENABLED 0
932 #endif
933 // <h> Log message pool - Configuration of log message pool
934 
935 //==========================================================
936 // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
937 // <i> If a small value is set, then performance of logs processing
938 // <i> is degraded because data is fragmented. Bigger value impacts
939 // <i> RAM memory utilization. The size is set to fit a message with
940 // <i> a timestamp and up to 2 arguments in a single memory object.
941 
942 #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
943 #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
944 #endif
945 
946 // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
947 // <i> If a small value is set, then it may lead to a deadlock
948 // <i> in certain cases if backend has high latency and holds
949 // <i> multiple messages for long time. Bigger value impacts
950 // <i> RAM memory usage.
951 
952 #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
953 #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
954 #endif
955 
956 // </h>
957 //==========================================================
958 
959 // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
960 
961 
962 // <i> If set then oldest logs are overwritten. Otherwise a
963 // <i> marker is injected informing about overflow.
964 
965 #ifndef NRF_LOG_ALLOW_OVERFLOW
966 #define NRF_LOG_ALLOW_OVERFLOW 1
967 #endif
968 
969 // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
970 
971 
972 // <i> Must be power of 2 and multiple of 4.
973 // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
974 // <128=> 128
975 // <256=> 256
976 // <512=> 512
977 // <1024=> 1024
978 // <2048=> 2048
979 // <4096=> 4096
980 // <8192=> 8192
981 // <16384=> 16384
982 
983 #ifndef NRF_LOG_BUFSIZE
984 #define NRF_LOG_BUFSIZE 1024
985 #endif
986 
987 // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
988 
989 
990 #ifndef NRF_LOG_CLI_CMDS
991 #define NRF_LOG_CLI_CMDS 0
992 #endif
993 
994 // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
995 
996 // <0=> Off
997 // <1=> Error
998 // <2=> Warning
999 // <3=> Info
1000 // <4=> Debug
1001 
1002 #ifndef NRF_LOG_DEFAULT_LEVEL
1003 #define NRF_LOG_DEFAULT_LEVEL 3
1004 #endif
1005 
1006 // <q> NRF_LOG_DEFERRED - Enable deffered logger.
1007 
1008 
1009 // <i> Log data is buffered and can be processed in idle.
1010 
1011 #ifndef NRF_LOG_DEFERRED
1012 #define NRF_LOG_DEFERRED 1
1013 #endif
1014 
1015 // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
1016 
1017 
1018 #ifndef NRF_LOG_FILTERS_ENABLED
1019 #define NRF_LOG_FILTERS_ENABLED 0
1020 #endif
1021 
1022 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
1023 
1024 // <16=> 16
1025 // <32=> 32
1026 // <64=> 64
1027 // <128=> 128
1028 // <256=> 256
1029 // <512=> 512
1030 // <1024=> 1024
1031 
1032 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
1033 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
1034 #endif
1035 
1036 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
1037 
1038 // <16=> 16
1039 // <32=> 32
1040 // <64=> 64
1041 // <128=> 128
1042 // <256=> 256
1043 // <512=> 512
1044 // <1024=> 1024
1045 
1046 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
1047 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
1048 #endif
1049 
1050 // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
1051 //==========================================================
1052 #ifndef NRF_LOG_USES_COLORS
1053 #define NRF_LOG_USES_COLORS 0
1054 #endif
1055 // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
1056 
1057 // <0=> Default
1058 // <1=> Black
1059 // <2=> Red
1060 // <3=> Green
1061 // <4=> Yellow
1062 // <5=> Blue
1063 // <6=> Magenta
1064 // <7=> Cyan
1065 // <8=> White
1066 
1067 #ifndef NRF_LOG_COLOR_DEFAULT
1068 #define NRF_LOG_COLOR_DEFAULT 0
1069 #endif
1070 
1071 // <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
1072 
1073 // <0=> Default
1074 // <1=> Black
1075 // <2=> Red
1076 // <3=> Green
1077 // <4=> Yellow
1078 // <5=> Blue
1079 // <6=> Magenta
1080 // <7=> Cyan
1081 // <8=> White
1082 
1083 #ifndef NRF_LOG_ERROR_COLOR
1084 #define NRF_LOG_ERROR_COLOR 2
1085 #endif
1086 
1087 // <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
1088 
1089 // <0=> Default
1090 // <1=> Black
1091 // <2=> Red
1092 // <3=> Green
1093 // <4=> Yellow
1094 // <5=> Blue
1095 // <6=> Magenta
1096 // <7=> Cyan
1097 // <8=> White
1098 
1099 #ifndef NRF_LOG_WARNING_COLOR
1100 #define NRF_LOG_WARNING_COLOR 4
1101 #endif
1102 
1103 // </e>
1104 
1105 // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
1106 
1107 // <i> Function for getting the timestamp is provided by the user
1108 //==========================================================
1109 #ifndef NRF_LOG_USES_TIMESTAMP
1110 #define NRF_LOG_USES_TIMESTAMP 0
1111 #endif
1112 // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
1113 #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
1114 #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
1115 #endif
1116 
1117 // </e>
1118 
1119 // <h> nrf_log module configuration
1120 
1121 //==========================================================
1122 // <h> nrf_log in nRF_Core
1123 
1124 //==========================================================
1125 // <e> NRF_MPU_CONFIG_LOG_ENABLED - Enables logging in the module.
1126 //==========================================================
1127 #ifndef NRF_MPU_CONFIG_LOG_ENABLED
1128 #define NRF_MPU_CONFIG_LOG_ENABLED 0
1129 #endif
1130 // <o> NRF_MPU_CONFIG_LOG_LEVEL - Default Severity level
1131 
1132 // <0=> Off
1133 // <1=> Error
1134 // <2=> Warning
1135 // <3=> Info
1136 // <4=> Debug
1137 
1138 #ifndef NRF_MPU_CONFIG_LOG_LEVEL
1139 #define NRF_MPU_CONFIG_LOG_LEVEL 3
1140 #endif
1141 
1142 // <o> NRF_MPU_CONFIG_INFO_COLOR - ANSI escape code prefix.
1143 
1144 // <0=> Default
1145 // <1=> Black
1146 // <2=> Red
1147 // <3=> Green
1148 // <4=> Yellow
1149 // <5=> Blue
1150 // <6=> Magenta
1151 // <7=> Cyan
1152 // <8=> White
1153 
1154 #ifndef NRF_MPU_CONFIG_INFO_COLOR
1155 #define NRF_MPU_CONFIG_INFO_COLOR 0
1156 #endif
1157 
1158 // <o> NRF_MPU_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1159 
1160 // <0=> Default
1161 // <1=> Black
1162 // <2=> Red
1163 // <3=> Green
1164 // <4=> Yellow
1165 // <5=> Blue
1166 // <6=> Magenta
1167 // <7=> Cyan
1168 // <8=> White
1169 
1170 #ifndef NRF_MPU_CONFIG_DEBUG_COLOR
1171 #define NRF_MPU_CONFIG_DEBUG_COLOR 0
1172 #endif
1173 
1174 // </e>
1175 
1176 // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
1177 //==========================================================
1178 #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
1179 #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
1180 #endif
1181 // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
1182 
1183 // <0=> Off
1184 // <1=> Error
1185 // <2=> Warning
1186 // <3=> Info
1187 // <4=> Debug
1188 
1189 #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
1190 #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
1191 #endif
1192 
1193 // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
1194 
1195 // <0=> Default
1196 // <1=> Black
1197 // <2=> Red
1198 // <3=> Green
1199 // <4=> Yellow
1200 // <5=> Blue
1201 // <6=> Magenta
1202 // <7=> Cyan
1203 // <8=> White
1204 
1205 #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
1206 #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
1207 #endif
1208 
1209 // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1210 
1211 // <0=> Default
1212 // <1=> Black
1213 // <2=> Red
1214 // <3=> Green
1215 // <4=> Yellow
1216 // <5=> Blue
1217 // <6=> Magenta
1218 // <7=> Cyan
1219 // <8=> White
1220 
1221 #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
1222 #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
1223 #endif
1224 
1225 // </e>
1226 
1227 // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
1228 //==========================================================
1229 #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
1230 #define TASK_MANAGER_CONFIG_LOG_ENABLED 0
1231 #endif
1232 // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
1233 
1234 // <0=> Off
1235 // <1=> Error
1236 // <2=> Warning
1237 // <3=> Info
1238 // <4=> Debug
1239 
1240 #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
1241 #define TASK_MANAGER_CONFIG_LOG_LEVEL 3
1242 #endif
1243 
1244 // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
1245 
1246 // <0=> Default
1247 // <1=> Black
1248 // <2=> Red
1249 // <3=> Green
1250 // <4=> Yellow
1251 // <5=> Blue
1252 // <6=> Magenta
1253 // <7=> Cyan
1254 // <8=> White
1255 
1256 #ifndef TASK_MANAGER_CONFIG_INFO_COLOR
1257 #define TASK_MANAGER_CONFIG_INFO_COLOR 0
1258 #endif
1259 
1260 // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1261 
1262 // <0=> Default
1263 // <1=> Black
1264 // <2=> Red
1265 // <3=> Green
1266 // <4=> Yellow
1267 // <5=> Blue
1268 // <6=> Magenta
1269 // <7=> Cyan
1270 // <8=> White
1271 
1272 #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
1273 #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
1274 #endif
1275 
1276 // </e>
1277 
1278 // </h>
1279 //==========================================================
1280 
1281 // <h> nrf_log in nRF_Drivers
1282 
1283 //==========================================================
1284 // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
1285 //==========================================================
1286 #ifndef CLOCK_CONFIG_LOG_ENABLED
1287 #define CLOCK_CONFIG_LOG_ENABLED 0
1288 #endif
1289 // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
1290 
1291 // <0=> Off
1292 // <1=> Error
1293 // <2=> Warning
1294 // <3=> Info
1295 // <4=> Debug
1296 
1297 #ifndef CLOCK_CONFIG_LOG_LEVEL
1298 #define CLOCK_CONFIG_LOG_LEVEL 3
1299 #endif
1300 
1301 // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
1302 
1303 // <0=> Default
1304 // <1=> Black
1305 // <2=> Red
1306 // <3=> Green
1307 // <4=> Yellow
1308 // <5=> Blue
1309 // <6=> Magenta
1310 // <7=> Cyan
1311 // <8=> White
1312 
1313 #ifndef CLOCK_CONFIG_INFO_COLOR
1314 #define CLOCK_CONFIG_INFO_COLOR 0
1315 #endif
1316 
1317 // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1318 
1319 // <0=> Default
1320 // <1=> Black
1321 // <2=> Red
1322 // <3=> Green
1323 // <4=> Yellow
1324 // <5=> Blue
1325 // <6=> Magenta
1326 // <7=> Cyan
1327 // <8=> White
1328 
1329 #ifndef CLOCK_CONFIG_DEBUG_COLOR
1330 #define CLOCK_CONFIG_DEBUG_COLOR 0
1331 #endif
1332 
1333 // </e>
1334 
1335 // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
1336 //==========================================================
1337 #ifndef COMP_CONFIG_LOG_ENABLED
1338 #define COMP_CONFIG_LOG_ENABLED 0
1339 #endif
1340 // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
1341 
1342 // <0=> Off
1343 // <1=> Error
1344 // <2=> Warning
1345 // <3=> Info
1346 // <4=> Debug
1347 
1348 #ifndef COMP_CONFIG_LOG_LEVEL
1349 #define COMP_CONFIG_LOG_LEVEL 3
1350 #endif
1351 
1352 // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
1353 
1354 // <0=> Default
1355 // <1=> Black
1356 // <2=> Red
1357 // <3=> Green
1358 // <4=> Yellow
1359 // <5=> Blue
1360 // <6=> Magenta
1361 // <7=> Cyan
1362 // <8=> White
1363 
1364 #ifndef COMP_CONFIG_INFO_COLOR
1365 #define COMP_CONFIG_INFO_COLOR 0
1366 #endif
1367 
1368 // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1369 
1370 // <0=> Default
1371 // <1=> Black
1372 // <2=> Red
1373 // <3=> Green
1374 // <4=> Yellow
1375 // <5=> Blue
1376 // <6=> Magenta
1377 // <7=> Cyan
1378 // <8=> White
1379 
1380 #ifndef COMP_CONFIG_DEBUG_COLOR
1381 #define COMP_CONFIG_DEBUG_COLOR 0
1382 #endif
1383 
1384 // </e>
1385 
1386 // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
1387 //==========================================================
1388 #ifndef GPIOTE_CONFIG_LOG_ENABLED
1389 #define GPIOTE_CONFIG_LOG_ENABLED 0
1390 #endif
1391 // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
1392 
1393 // <0=> Off
1394 // <1=> Error
1395 // <2=> Warning
1396 // <3=> Info
1397 // <4=> Debug
1398 
1399 #ifndef GPIOTE_CONFIG_LOG_LEVEL
1400 #define GPIOTE_CONFIG_LOG_LEVEL 3
1401 #endif
1402 
1403 // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
1404 
1405 // <0=> Default
1406 // <1=> Black
1407 // <2=> Red
1408 // <3=> Green
1409 // <4=> Yellow
1410 // <5=> Blue
1411 // <6=> Magenta
1412 // <7=> Cyan
1413 // <8=> White
1414 
1415 #ifndef GPIOTE_CONFIG_INFO_COLOR
1416 #define GPIOTE_CONFIG_INFO_COLOR 0
1417 #endif
1418 
1419 // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1420 
1421 // <0=> Default
1422 // <1=> Black
1423 // <2=> Red
1424 // <3=> Green
1425 // <4=> Yellow
1426 // <5=> Blue
1427 // <6=> Magenta
1428 // <7=> Cyan
1429 // <8=> White
1430 
1431 #ifndef GPIOTE_CONFIG_DEBUG_COLOR
1432 #define GPIOTE_CONFIG_DEBUG_COLOR 0
1433 #endif
1434 
1435 // </e>
1436 
1437 // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
1438 //==========================================================
1439 #ifndef LPCOMP_CONFIG_LOG_ENABLED
1440 #define LPCOMP_CONFIG_LOG_ENABLED 0
1441 #endif
1442 // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
1443 
1444 // <0=> Off
1445 // <1=> Error
1446 // <2=> Warning
1447 // <3=> Info
1448 // <4=> Debug
1449 
1450 #ifndef LPCOMP_CONFIG_LOG_LEVEL
1451 #define LPCOMP_CONFIG_LOG_LEVEL 3
1452 #endif
1453 
1454 // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
1455 
1456 // <0=> Default
1457 // <1=> Black
1458 // <2=> Red
1459 // <3=> Green
1460 // <4=> Yellow
1461 // <5=> Blue
1462 // <6=> Magenta
1463 // <7=> Cyan
1464 // <8=> White
1465 
1466 #ifndef LPCOMP_CONFIG_INFO_COLOR
1467 #define LPCOMP_CONFIG_INFO_COLOR 0
1468 #endif
1469 
1470 // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1471 
1472 // <0=> Default
1473 // <1=> Black
1474 // <2=> Red
1475 // <3=> Green
1476 // <4=> Yellow
1477 // <5=> Blue
1478 // <6=> Magenta
1479 // <7=> Cyan
1480 // <8=> White
1481 
1482 #ifndef LPCOMP_CONFIG_DEBUG_COLOR
1483 #define LPCOMP_CONFIG_DEBUG_COLOR 0
1484 #endif
1485 
1486 // </e>
1487 
1488 // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
1489 //==========================================================
1490 #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
1491 #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
1492 #endif
1493 // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
1494 
1495 // <0=> Off
1496 // <1=> Error
1497 // <2=> Warning
1498 // <3=> Info
1499 // <4=> Debug
1500 
1501 #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
1502 #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
1503 #endif
1504 
1505 // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
1506 
1507 // <0=> Default
1508 // <1=> Black
1509 // <2=> Red
1510 // <3=> Green
1511 // <4=> Yellow
1512 // <5=> Blue
1513 // <6=> Magenta
1514 // <7=> Cyan
1515 // <8=> White
1516 
1517 #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
1518 #define MAX3421E_HOST_CONFIG_INFO_COLOR 0
1519 #endif
1520 
1521 // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1522 
1523 // <0=> Default
1524 // <1=> Black
1525 // <2=> Red
1526 // <3=> Green
1527 // <4=> Yellow
1528 // <5=> Blue
1529 // <6=> Magenta
1530 // <7=> Cyan
1531 // <8=> White
1532 
1533 #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
1534 #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
1535 #endif
1536 
1537 // </e>
1538 
1539 // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
1540 //==========================================================
1541 #ifndef PDM_CONFIG_LOG_ENABLED
1542 #define PDM_CONFIG_LOG_ENABLED 0
1543 #endif
1544 // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
1545 
1546 // <0=> Off
1547 // <1=> Error
1548 // <2=> Warning
1549 // <3=> Info
1550 // <4=> Debug
1551 
1552 #ifndef PDM_CONFIG_LOG_LEVEL
1553 #define PDM_CONFIG_LOG_LEVEL 3
1554 #endif
1555 
1556 // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
1557 
1558 // <0=> Default
1559 // <1=> Black
1560 // <2=> Red
1561 // <3=> Green
1562 // <4=> Yellow
1563 // <5=> Blue
1564 // <6=> Magenta
1565 // <7=> Cyan
1566 // <8=> White
1567 
1568 #ifndef PDM_CONFIG_INFO_COLOR
1569 #define PDM_CONFIG_INFO_COLOR 0
1570 #endif
1571 
1572 // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1573 
1574 // <0=> Default
1575 // <1=> Black
1576 // <2=> Red
1577 // <3=> Green
1578 // <4=> Yellow
1579 // <5=> Blue
1580 // <6=> Magenta
1581 // <7=> Cyan
1582 // <8=> White
1583 
1584 #ifndef PDM_CONFIG_DEBUG_COLOR
1585 #define PDM_CONFIG_DEBUG_COLOR 0
1586 #endif
1587 
1588 // </e>
1589 
1590 // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
1591 //==========================================================
1592 #ifndef PPI_CONFIG_LOG_ENABLED
1593 #define PPI_CONFIG_LOG_ENABLED 0
1594 #endif
1595 // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
1596 
1597 // <0=> Off
1598 // <1=> Error
1599 // <2=> Warning
1600 // <3=> Info
1601 // <4=> Debug
1602 
1603 #ifndef PPI_CONFIG_LOG_LEVEL
1604 #define PPI_CONFIG_LOG_LEVEL 3
1605 #endif
1606 
1607 // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
1608 
1609 // <0=> Default
1610 // <1=> Black
1611 // <2=> Red
1612 // <3=> Green
1613 // <4=> Yellow
1614 // <5=> Blue
1615 // <6=> Magenta
1616 // <7=> Cyan
1617 // <8=> White
1618 
1619 #ifndef PPI_CONFIG_INFO_COLOR
1620 #define PPI_CONFIG_INFO_COLOR 0
1621 #endif
1622 
1623 // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1624 
1625 // <0=> Default
1626 // <1=> Black
1627 // <2=> Red
1628 // <3=> Green
1629 // <4=> Yellow
1630 // <5=> Blue
1631 // <6=> Magenta
1632 // <7=> Cyan
1633 // <8=> White
1634 
1635 #ifndef PPI_CONFIG_DEBUG_COLOR
1636 #define PPI_CONFIG_DEBUG_COLOR 0
1637 #endif
1638 
1639 // </e>
1640 
1641 // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
1642 //==========================================================
1643 #ifndef PWM_CONFIG_LOG_ENABLED
1644 #define PWM_CONFIG_LOG_ENABLED 0
1645 #endif
1646 // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
1647 
1648 // <0=> Off
1649 // <1=> Error
1650 // <2=> Warning
1651 // <3=> Info
1652 // <4=> Debug
1653 
1654 #ifndef PWM_CONFIG_LOG_LEVEL
1655 #define PWM_CONFIG_LOG_LEVEL 3
1656 #endif
1657 
1658 // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
1659 
1660 // <0=> Default
1661 // <1=> Black
1662 // <2=> Red
1663 // <3=> Green
1664 // <4=> Yellow
1665 // <5=> Blue
1666 // <6=> Magenta
1667 // <7=> Cyan
1668 // <8=> White
1669 
1670 #ifndef PWM_CONFIG_INFO_COLOR
1671 #define PWM_CONFIG_INFO_COLOR 0
1672 #endif
1673 
1674 // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1675 
1676 // <0=> Default
1677 // <1=> Black
1678 // <2=> Red
1679 // <3=> Green
1680 // <4=> Yellow
1681 // <5=> Blue
1682 // <6=> Magenta
1683 // <7=> Cyan
1684 // <8=> White
1685 
1686 #ifndef PWM_CONFIG_DEBUG_COLOR
1687 #define PWM_CONFIG_DEBUG_COLOR 0
1688 #endif
1689 
1690 // </e>
1691 
1692 // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
1693 //==========================================================
1694 #ifndef QDEC_CONFIG_LOG_ENABLED
1695 #define QDEC_CONFIG_LOG_ENABLED 0
1696 #endif
1697 // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
1698 
1699 // <0=> Off
1700 // <1=> Error
1701 // <2=> Warning
1702 // <3=> Info
1703 // <4=> Debug
1704 
1705 #ifndef QDEC_CONFIG_LOG_LEVEL
1706 #define QDEC_CONFIG_LOG_LEVEL 3
1707 #endif
1708 
1709 // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
1710 
1711 // <0=> Default
1712 // <1=> Black
1713 // <2=> Red
1714 // <3=> Green
1715 // <4=> Yellow
1716 // <5=> Blue
1717 // <6=> Magenta
1718 // <7=> Cyan
1719 // <8=> White
1720 
1721 #ifndef QDEC_CONFIG_INFO_COLOR
1722 #define QDEC_CONFIG_INFO_COLOR 0
1723 #endif
1724 
1725 // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1726 
1727 // <0=> Default
1728 // <1=> Black
1729 // <2=> Red
1730 // <3=> Green
1731 // <4=> Yellow
1732 // <5=> Blue
1733 // <6=> Magenta
1734 // <7=> Cyan
1735 // <8=> White
1736 
1737 #ifndef QDEC_CONFIG_DEBUG_COLOR
1738 #define QDEC_CONFIG_DEBUG_COLOR 0
1739 #endif
1740 
1741 // </e>
1742 
1743 // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
1744 //==========================================================
1745 #ifndef RNG_CONFIG_LOG_ENABLED
1746 #define RNG_CONFIG_LOG_ENABLED 0
1747 #endif
1748 // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
1749 
1750 // <0=> Off
1751 // <1=> Error
1752 // <2=> Warning
1753 // <3=> Info
1754 // <4=> Debug
1755 
1756 #ifndef RNG_CONFIG_LOG_LEVEL
1757 #define RNG_CONFIG_LOG_LEVEL 3
1758 #endif
1759 
1760 // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
1761 
1762 // <0=> Default
1763 // <1=> Black
1764 // <2=> Red
1765 // <3=> Green
1766 // <4=> Yellow
1767 // <5=> Blue
1768 // <6=> Magenta
1769 // <7=> Cyan
1770 // <8=> White
1771 
1772 #ifndef RNG_CONFIG_INFO_COLOR
1773 #define RNG_CONFIG_INFO_COLOR 0
1774 #endif
1775 
1776 // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1777 
1778 // <0=> Default
1779 // <1=> Black
1780 // <2=> Red
1781 // <3=> Green
1782 // <4=> Yellow
1783 // <5=> Blue
1784 // <6=> Magenta
1785 // <7=> Cyan
1786 // <8=> White
1787 
1788 #ifndef RNG_CONFIG_DEBUG_COLOR
1789 #define RNG_CONFIG_DEBUG_COLOR 0
1790 #endif
1791 
1792 // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
1793 
1794 
1795 #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
1796 #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
1797 #endif
1798 
1799 // </e>
1800 
1801 // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
1802 //==========================================================
1803 #ifndef RTC_CONFIG_LOG_ENABLED
1804 #define RTC_CONFIG_LOG_ENABLED 0
1805 #endif
1806 // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
1807 
1808 // <0=> Off
1809 // <1=> Error
1810 // <2=> Warning
1811 // <3=> Info
1812 // <4=> Debug
1813 
1814 #ifndef RTC_CONFIG_LOG_LEVEL
1815 #define RTC_CONFIG_LOG_LEVEL 3
1816 #endif
1817 
1818 // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
1819 
1820 // <0=> Default
1821 // <1=> Black
1822 // <2=> Red
1823 // <3=> Green
1824 // <4=> Yellow
1825 // <5=> Blue
1826 // <6=> Magenta
1827 // <7=> Cyan
1828 // <8=> White
1829 
1830 #ifndef RTC_CONFIG_INFO_COLOR
1831 #define RTC_CONFIG_INFO_COLOR 0
1832 #endif
1833 
1834 // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1835 
1836 // <0=> Default
1837 // <1=> Black
1838 // <2=> Red
1839 // <3=> Green
1840 // <4=> Yellow
1841 // <5=> Blue
1842 // <6=> Magenta
1843 // <7=> Cyan
1844 // <8=> White
1845 
1846 #ifndef RTC_CONFIG_DEBUG_COLOR
1847 #define RTC_CONFIG_DEBUG_COLOR 0
1848 #endif
1849 
1850 // </e>
1851 
1852 // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
1853 //==========================================================
1854 #ifndef SAADC_CONFIG_LOG_ENABLED
1855 #define SAADC_CONFIG_LOG_ENABLED 0
1856 #endif
1857 // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
1858 
1859 // <0=> Off
1860 // <1=> Error
1861 // <2=> Warning
1862 // <3=> Info
1863 // <4=> Debug
1864 
1865 #ifndef SAADC_CONFIG_LOG_LEVEL
1866 #define SAADC_CONFIG_LOG_LEVEL 3
1867 #endif
1868 
1869 // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
1870 
1871 // <0=> Default
1872 // <1=> Black
1873 // <2=> Red
1874 // <3=> Green
1875 // <4=> Yellow
1876 // <5=> Blue
1877 // <6=> Magenta
1878 // <7=> Cyan
1879 // <8=> White
1880 
1881 #ifndef SAADC_CONFIG_INFO_COLOR
1882 #define SAADC_CONFIG_INFO_COLOR 0
1883 #endif
1884 
1885 // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1886 
1887 // <0=> Default
1888 // <1=> Black
1889 // <2=> Red
1890 // <3=> Green
1891 // <4=> Yellow
1892 // <5=> Blue
1893 // <6=> Magenta
1894 // <7=> Cyan
1895 // <8=> White
1896 
1897 #ifndef SAADC_CONFIG_DEBUG_COLOR
1898 #define SAADC_CONFIG_DEBUG_COLOR 0
1899 #endif
1900 
1901 // </e>
1902 
1903 // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
1904 //==========================================================
1905 #ifndef SPIS_CONFIG_LOG_ENABLED
1906 #define SPIS_CONFIG_LOG_ENABLED 0
1907 #endif
1908 // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
1909 
1910 // <0=> Off
1911 // <1=> Error
1912 // <2=> Warning
1913 // <3=> Info
1914 // <4=> Debug
1915 
1916 #ifndef SPIS_CONFIG_LOG_LEVEL
1917 #define SPIS_CONFIG_LOG_LEVEL 3
1918 #endif
1919 
1920 // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
1921 
1922 // <0=> Default
1923 // <1=> Black
1924 // <2=> Red
1925 // <3=> Green
1926 // <4=> Yellow
1927 // <5=> Blue
1928 // <6=> Magenta
1929 // <7=> Cyan
1930 // <8=> White
1931 
1932 #ifndef SPIS_CONFIG_INFO_COLOR
1933 #define SPIS_CONFIG_INFO_COLOR 0
1934 #endif
1935 
1936 // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1937 
1938 // <0=> Default
1939 // <1=> Black
1940 // <2=> Red
1941 // <3=> Green
1942 // <4=> Yellow
1943 // <5=> Blue
1944 // <6=> Magenta
1945 // <7=> Cyan
1946 // <8=> White
1947 
1948 #ifndef SPIS_CONFIG_DEBUG_COLOR
1949 #define SPIS_CONFIG_DEBUG_COLOR 0
1950 #endif
1951 
1952 // </e>
1953 
1954 // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
1955 //==========================================================
1956 #ifndef SPI_CONFIG_LOG_ENABLED
1957 #define SPI_CONFIG_LOG_ENABLED 0
1958 #endif
1959 // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
1960 
1961 // <0=> Off
1962 // <1=> Error
1963 // <2=> Warning
1964 // <3=> Info
1965 // <4=> Debug
1966 
1967 #ifndef SPI_CONFIG_LOG_LEVEL
1968 #define SPI_CONFIG_LOG_LEVEL 3
1969 #endif
1970 
1971 // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
1972 
1973 // <0=> Default
1974 // <1=> Black
1975 // <2=> Red
1976 // <3=> Green
1977 // <4=> Yellow
1978 // <5=> Blue
1979 // <6=> Magenta
1980 // <7=> Cyan
1981 // <8=> White
1982 
1983 #ifndef SPI_CONFIG_INFO_COLOR
1984 #define SPI_CONFIG_INFO_COLOR 0
1985 #endif
1986 
1987 // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
1988 
1989 // <0=> Default
1990 // <1=> Black
1991 // <2=> Red
1992 // <3=> Green
1993 // <4=> Yellow
1994 // <5=> Blue
1995 // <6=> Magenta
1996 // <7=> Cyan
1997 // <8=> White
1998 
1999 #ifndef SPI_CONFIG_DEBUG_COLOR
2000 #define SPI_CONFIG_DEBUG_COLOR 0
2001 #endif
2002 
2003 // </e>
2004 
2005 // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
2006 //==========================================================
2007 #ifndef TIMER_CONFIG_LOG_ENABLED
2008 #define TIMER_CONFIG_LOG_ENABLED 0
2009 #endif
2010 // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
2011 
2012 // <0=> Off
2013 // <1=> Error
2014 // <2=> Warning
2015 // <3=> Info
2016 // <4=> Debug
2017 
2018 #ifndef TIMER_CONFIG_LOG_LEVEL
2019 #define TIMER_CONFIG_LOG_LEVEL 3
2020 #endif
2021 
2022 // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
2023 
2024 // <0=> Default
2025 // <1=> Black
2026 // <2=> Red
2027 // <3=> Green
2028 // <4=> Yellow
2029 // <5=> Blue
2030 // <6=> Magenta
2031 // <7=> Cyan
2032 // <8=> White
2033 
2034 #ifndef TIMER_CONFIG_INFO_COLOR
2035 #define TIMER_CONFIG_INFO_COLOR 0
2036 #endif
2037 
2038 // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2039 
2040 // <0=> Default
2041 // <1=> Black
2042 // <2=> Red
2043 // <3=> Green
2044 // <4=> Yellow
2045 // <5=> Blue
2046 // <6=> Magenta
2047 // <7=> Cyan
2048 // <8=> White
2049 
2050 #ifndef TIMER_CONFIG_DEBUG_COLOR
2051 #define TIMER_CONFIG_DEBUG_COLOR 0
2052 #endif
2053 
2054 // </e>
2055 
2056 // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
2057 //==========================================================
2058 #ifndef TWIS_CONFIG_LOG_ENABLED
2059 #define TWIS_CONFIG_LOG_ENABLED 0
2060 #endif
2061 // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
2062 
2063 // <0=> Off
2064 // <1=> Error
2065 // <2=> Warning
2066 // <3=> Info
2067 // <4=> Debug
2068 
2069 #ifndef TWIS_CONFIG_LOG_LEVEL
2070 #define TWIS_CONFIG_LOG_LEVEL 3
2071 #endif
2072 
2073 // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
2074 
2075 // <0=> Default
2076 // <1=> Black
2077 // <2=> Red
2078 // <3=> Green
2079 // <4=> Yellow
2080 // <5=> Blue
2081 // <6=> Magenta
2082 // <7=> Cyan
2083 // <8=> White
2084 
2085 #ifndef TWIS_CONFIG_INFO_COLOR
2086 #define TWIS_CONFIG_INFO_COLOR 0
2087 #endif
2088 
2089 // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2090 
2091 // <0=> Default
2092 // <1=> Black
2093 // <2=> Red
2094 // <3=> Green
2095 // <4=> Yellow
2096 // <5=> Blue
2097 // <6=> Magenta
2098 // <7=> Cyan
2099 // <8=> White
2100 
2101 #ifndef TWIS_CONFIG_DEBUG_COLOR
2102 #define TWIS_CONFIG_DEBUG_COLOR 0
2103 #endif
2104 
2105 // </e>
2106 
2107 // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
2108 //==========================================================
2109 #ifndef TWI_CONFIG_LOG_ENABLED
2110 #define TWI_CONFIG_LOG_ENABLED 0
2111 #endif
2112 // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
2113 
2114 // <0=> Off
2115 // <1=> Error
2116 // <2=> Warning
2117 // <3=> Info
2118 // <4=> Debug
2119 
2120 #ifndef TWI_CONFIG_LOG_LEVEL
2121 #define TWI_CONFIG_LOG_LEVEL 3
2122 #endif
2123 
2124 // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
2125 
2126 // <0=> Default
2127 // <1=> Black
2128 // <2=> Red
2129 // <3=> Green
2130 // <4=> Yellow
2131 // <5=> Blue
2132 // <6=> Magenta
2133 // <7=> Cyan
2134 // <8=> White
2135 
2136 #ifndef TWI_CONFIG_INFO_COLOR
2137 #define TWI_CONFIG_INFO_COLOR 0
2138 #endif
2139 
2140 // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2141 
2142 // <0=> Default
2143 // <1=> Black
2144 // <2=> Red
2145 // <3=> Green
2146 // <4=> Yellow
2147 // <5=> Blue
2148 // <6=> Magenta
2149 // <7=> Cyan
2150 // <8=> White
2151 
2152 #ifndef TWI_CONFIG_DEBUG_COLOR
2153 #define TWI_CONFIG_DEBUG_COLOR 0
2154 #endif
2155 
2156 // </e>
2157 
2158 // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
2159 //==========================================================
2160 #ifndef UART_CONFIG_LOG_ENABLED
2161 #define UART_CONFIG_LOG_ENABLED 0
2162 #endif
2163 // <o> UART_CONFIG_LOG_LEVEL - Default Severity level
2164 
2165 // <0=> Off
2166 // <1=> Error
2167 // <2=> Warning
2168 // <3=> Info
2169 // <4=> Debug
2170 
2171 #ifndef UART_CONFIG_LOG_LEVEL
2172 #define UART_CONFIG_LOG_LEVEL 3
2173 #endif
2174 
2175 // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
2176 
2177 // <0=> Default
2178 // <1=> Black
2179 // <2=> Red
2180 // <3=> Green
2181 // <4=> Yellow
2182 // <5=> Blue
2183 // <6=> Magenta
2184 // <7=> Cyan
2185 // <8=> White
2186 
2187 #ifndef UART_CONFIG_INFO_COLOR
2188 #define UART_CONFIG_INFO_COLOR 0
2189 #endif
2190 
2191 // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2192 
2193 // <0=> Default
2194 // <1=> Black
2195 // <2=> Red
2196 // <3=> Green
2197 // <4=> Yellow
2198 // <5=> Blue
2199 // <6=> Magenta
2200 // <7=> Cyan
2201 // <8=> White
2202 
2203 #ifndef UART_CONFIG_DEBUG_COLOR
2204 #define UART_CONFIG_DEBUG_COLOR 0
2205 #endif
2206 
2207 // </e>
2208 
2209 // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
2210 //==========================================================
2211 #ifndef USBD_CONFIG_LOG_ENABLED
2212 #define USBD_CONFIG_LOG_ENABLED 0
2213 #endif
2214 // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
2215 
2216 // <0=> Off
2217 // <1=> Error
2218 // <2=> Warning
2219 // <3=> Info
2220 // <4=> Debug
2221 
2222 #ifndef USBD_CONFIG_LOG_LEVEL
2223 #define USBD_CONFIG_LOG_LEVEL 3
2224 #endif
2225 
2226 // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
2227 
2228 // <0=> Default
2229 // <1=> Black
2230 // <2=> Red
2231 // <3=> Green
2232 // <4=> Yellow
2233 // <5=> Blue
2234 // <6=> Magenta
2235 // <7=> Cyan
2236 // <8=> White
2237 
2238 #ifndef USBD_CONFIG_INFO_COLOR
2239 #define USBD_CONFIG_INFO_COLOR 0
2240 #endif
2241 
2242 // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2243 
2244 // <0=> Default
2245 // <1=> Black
2246 // <2=> Red
2247 // <3=> Green
2248 // <4=> Yellow
2249 // <5=> Blue
2250 // <6=> Magenta
2251 // <7=> Cyan
2252 // <8=> White
2253 
2254 #ifndef USBD_CONFIG_DEBUG_COLOR
2255 #define USBD_CONFIG_DEBUG_COLOR 0
2256 #endif
2257 
2258 // </e>
2259 
2260 // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
2261 //==========================================================
2262 #ifndef WDT_CONFIG_LOG_ENABLED
2263 #define WDT_CONFIG_LOG_ENABLED 0
2264 #endif
2265 // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
2266 
2267 // <0=> Off
2268 // <1=> Error
2269 // <2=> Warning
2270 // <3=> Info
2271 // <4=> Debug
2272 
2273 #ifndef WDT_CONFIG_LOG_LEVEL
2274 #define WDT_CONFIG_LOG_LEVEL 3
2275 #endif
2276 
2277 // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
2278 
2279 // <0=> Default
2280 // <1=> Black
2281 // <2=> Red
2282 // <3=> Green
2283 // <4=> Yellow
2284 // <5=> Blue
2285 // <6=> Magenta
2286 // <7=> Cyan
2287 // <8=> White
2288 
2289 #ifndef WDT_CONFIG_INFO_COLOR
2290 #define WDT_CONFIG_INFO_COLOR 0
2291 #endif
2292 
2293 // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2294 
2295 // <0=> Default
2296 // <1=> Black
2297 // <2=> Red
2298 // <3=> Green
2299 // <4=> Yellow
2300 // <5=> Blue
2301 // <6=> Magenta
2302 // <7=> Cyan
2303 // <8=> White
2304 
2305 #ifndef WDT_CONFIG_DEBUG_COLOR
2306 #define WDT_CONFIG_DEBUG_COLOR 0
2307 #endif
2308 
2309 // </e>
2310 
2311 // </h>
2312 //==========================================================
2313 
2314 // <h> nrf_log in nRF_Libraries
2315 
2316 //==========================================================
2317 // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
2318 //==========================================================
2319 #ifndef APP_TIMER_CONFIG_LOG_ENABLED
2320 #define APP_TIMER_CONFIG_LOG_ENABLED 0
2321 #endif
2322 // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
2323 
2324 // <0=> Off
2325 // <1=> Error
2326 // <2=> Warning
2327 // <3=> Info
2328 // <4=> Debug
2329 
2330 #ifndef APP_TIMER_CONFIG_LOG_LEVEL
2331 #define APP_TIMER_CONFIG_LOG_LEVEL 3
2332 #endif
2333 
2334 // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
2335 
2336 
2337 // <i> If module generates a lot of logs, initial log level can
2338 // <i> be decreased to prevent flooding. Severity level can be
2339 // <i> increased on instance basis.
2340 // <0=> Off
2341 // <1=> Error
2342 // <2=> Warning
2343 // <3=> Info
2344 // <4=> Debug
2345 
2346 #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
2347 #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
2348 #endif
2349 
2350 // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
2351 
2352 // <0=> Default
2353 // <1=> Black
2354 // <2=> Red
2355 // <3=> Green
2356 // <4=> Yellow
2357 // <5=> Blue
2358 // <6=> Magenta
2359 // <7=> Cyan
2360 // <8=> White
2361 
2362 #ifndef APP_TIMER_CONFIG_INFO_COLOR
2363 #define APP_TIMER_CONFIG_INFO_COLOR 0
2364 #endif
2365 
2366 // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2367 
2368 // <0=> Default
2369 // <1=> Black
2370 // <2=> Red
2371 // <3=> Green
2372 // <4=> Yellow
2373 // <5=> Blue
2374 // <6=> Magenta
2375 // <7=> Cyan
2376 // <8=> White
2377 
2378 #ifndef APP_TIMER_CONFIG_DEBUG_COLOR
2379 #define APP_TIMER_CONFIG_DEBUG_COLOR 0
2380 #endif
2381 
2382 // </e>
2383 
2384 // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
2385 //==========================================================
2386 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
2387 #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
2388 #endif
2389 // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
2390 
2391 // <0=> Off
2392 // <1=> Error
2393 // <2=> Warning
2394 // <3=> Info
2395 // <4=> Debug
2396 
2397 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
2398 #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
2399 #endif
2400 
2401 // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
2402 
2403 // <0=> Default
2404 // <1=> Black
2405 // <2=> Red
2406 // <3=> Green
2407 // <4=> Yellow
2408 // <5=> Blue
2409 // <6=> Magenta
2410 // <7=> Cyan
2411 // <8=> White
2412 
2413 #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
2414 #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
2415 #endif
2416 
2417 // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2418 
2419 // <0=> Default
2420 // <1=> Black
2421 // <2=> Red
2422 // <3=> Green
2423 // <4=> Yellow
2424 // <5=> Blue
2425 // <6=> Magenta
2426 // <7=> Cyan
2427 // <8=> White
2428 
2429 #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
2430 #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
2431 #endif
2432 
2433 // </e>
2434 
2435 // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
2436 //==========================================================
2437 #ifndef APP_USBD_CONFIG_LOG_ENABLED
2438 #define APP_USBD_CONFIG_LOG_ENABLED 0
2439 #endif
2440 // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
2441 
2442 // <0=> Off
2443 // <1=> Error
2444 // <2=> Warning
2445 // <3=> Info
2446 // <4=> Debug
2447 
2448 #ifndef APP_USBD_CONFIG_LOG_LEVEL
2449 #define APP_USBD_CONFIG_LOG_LEVEL 3
2450 #endif
2451 
2452 // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
2453 
2454 // <0=> Default
2455 // <1=> Black
2456 // <2=> Red
2457 // <3=> Green
2458 // <4=> Yellow
2459 // <5=> Blue
2460 // <6=> Magenta
2461 // <7=> Cyan
2462 // <8=> White
2463 
2464 #ifndef APP_USBD_CONFIG_INFO_COLOR
2465 #define APP_USBD_CONFIG_INFO_COLOR 0
2466 #endif
2467 
2468 // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2469 
2470 // <0=> Default
2471 // <1=> Black
2472 // <2=> Red
2473 // <3=> Green
2474 // <4=> Yellow
2475 // <5=> Blue
2476 // <6=> Magenta
2477 // <7=> Cyan
2478 // <8=> White
2479 
2480 #ifndef APP_USBD_CONFIG_DEBUG_COLOR
2481 #define APP_USBD_CONFIG_DEBUG_COLOR 0
2482 #endif
2483 
2484 // </e>
2485 
2486 // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
2487 //==========================================================
2488 #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
2489 #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
2490 #endif
2491 // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
2492 
2493 // <0=> Off
2494 // <1=> Error
2495 // <2=> Warning
2496 // <3=> Info
2497 // <4=> Debug
2498 
2499 #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
2500 #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
2501 #endif
2502 
2503 // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
2504 
2505 // <0=> Default
2506 // <1=> Black
2507 // <2=> Red
2508 // <3=> Green
2509 // <4=> Yellow
2510 // <5=> Blue
2511 // <6=> Magenta
2512 // <7=> Cyan
2513 // <8=> White
2514 
2515 #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
2516 #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
2517 #endif
2518 
2519 // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2520 
2521 // <0=> Default
2522 // <1=> Black
2523 // <2=> Red
2524 // <3=> Green
2525 // <4=> Yellow
2526 // <5=> Blue
2527 // <6=> Magenta
2528 // <7=> Cyan
2529 // <8=> White
2530 
2531 #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
2532 #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
2533 #endif
2534 
2535 // </e>
2536 
2537 // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
2538 //==========================================================
2539 #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
2540 #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
2541 #endif
2542 // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
2543 
2544 // <0=> Off
2545 // <1=> Error
2546 // <2=> Warning
2547 // <3=> Info
2548 // <4=> Debug
2549 
2550 #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
2551 #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
2552 #endif
2553 
2554 // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
2555 
2556 // <0=> Default
2557 // <1=> Black
2558 // <2=> Red
2559 // <3=> Green
2560 // <4=> Yellow
2561 // <5=> Blue
2562 // <6=> Magenta
2563 // <7=> Cyan
2564 // <8=> White
2565 
2566 #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
2567 #define APP_USBD_MSC_CONFIG_INFO_COLOR 0
2568 #endif
2569 
2570 // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2571 
2572 // <0=> Default
2573 // <1=> Black
2574 // <2=> Red
2575 // <3=> Green
2576 // <4=> Yellow
2577 // <5=> Blue
2578 // <6=> Magenta
2579 // <7=> Cyan
2580 // <8=> White
2581 
2582 #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
2583 #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
2584 #endif
2585 
2586 // </e>
2587 
2588 // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
2589 //==========================================================
2590 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
2591 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
2592 #endif
2593 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
2594 
2595 // <0=> Off
2596 // <1=> Error
2597 // <2=> Warning
2598 // <3=> Info
2599 // <4=> Debug
2600 
2601 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
2602 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
2603 #endif
2604 
2605 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
2606 
2607 // <0=> Default
2608 // <1=> Black
2609 // <2=> Red
2610 // <3=> Green
2611 // <4=> Yellow
2612 // <5=> Blue
2613 // <6=> Magenta
2614 // <7=> Cyan
2615 // <8=> White
2616 
2617 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
2618 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
2619 #endif
2620 
2621 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2622 
2623 // <0=> Default
2624 // <1=> Black
2625 // <2=> Red
2626 // <3=> Green
2627 // <4=> Yellow
2628 // <5=> Blue
2629 // <6=> Magenta
2630 // <7=> Cyan
2631 // <8=> White
2632 
2633 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
2634 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
2635 #endif
2636 
2637 // </e>
2638 
2639 // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
2640 //==========================================================
2641 #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
2642 #define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
2643 #endif
2644 // <o> NRF_ATFIFO_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 NRF_ATFIFO_CONFIG_LOG_LEVEL
2653 #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
2654 #endif
2655 
2656 // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
2657 
2658 // <0=> Off
2659 // <1=> Error
2660 // <2=> Warning
2661 // <3=> Info
2662 // <4=> Debug
2663 
2664 #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
2665 #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
2666 #endif
2667 
2668 // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
2669 
2670 // <0=> Default
2671 // <1=> Black
2672 // <2=> Red
2673 // <3=> Green
2674 // <4=> Yellow
2675 // <5=> Blue
2676 // <6=> Magenta
2677 // <7=> Cyan
2678 // <8=> White
2679 
2680 #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
2681 #define NRF_ATFIFO_CONFIG_INFO_COLOR 0
2682 #endif
2683 
2684 // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2685 
2686 // <0=> Default
2687 // <1=> Black
2688 // <2=> Red
2689 // <3=> Green
2690 // <4=> Yellow
2691 // <5=> Blue
2692 // <6=> Magenta
2693 // <7=> Cyan
2694 // <8=> White
2695 
2696 #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
2697 #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
2698 #endif
2699 
2700 // </e>
2701 
2702 // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
2703 //==========================================================
2704 #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
2705 #define NRF_BALLOC_CONFIG_LOG_ENABLED 0
2706 #endif
2707 // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
2708 
2709 // <0=> Off
2710 // <1=> Error
2711 // <2=> Warning
2712 // <3=> Info
2713 // <4=> Debug
2714 
2715 #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
2716 #define NRF_BALLOC_CONFIG_LOG_LEVEL 3
2717 #endif
2718 
2719 // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
2720 
2721 
2722 // <i> If module generates a lot of logs, initial log level can
2723 // <i> be decreased to prevent flooding. Severity level can be
2724 // <i> increased on instance basis.
2725 // <0=> Off
2726 // <1=> Error
2727 // <2=> Warning
2728 // <3=> Info
2729 // <4=> Debug
2730 
2731 #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
2732 #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
2733 #endif
2734 
2735 // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
2736 
2737 // <0=> Default
2738 // <1=> Black
2739 // <2=> Red
2740 // <3=> Green
2741 // <4=> Yellow
2742 // <5=> Blue
2743 // <6=> Magenta
2744 // <7=> Cyan
2745 // <8=> White
2746 
2747 #ifndef NRF_BALLOC_CONFIG_INFO_COLOR
2748 #define NRF_BALLOC_CONFIG_INFO_COLOR 0
2749 #endif
2750 
2751 // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2752 
2753 // <0=> Default
2754 // <1=> Black
2755 // <2=> Red
2756 // <3=> Green
2757 // <4=> Yellow
2758 // <5=> Blue
2759 // <6=> Magenta
2760 // <7=> Cyan
2761 // <8=> White
2762 
2763 #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
2764 #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
2765 #endif
2766 
2767 // </e>
2768 
2769 // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
2770 //==========================================================
2771 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
2772 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
2773 #endif
2774 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
2775 
2776 // <0=> Off
2777 // <1=> Error
2778 // <2=> Warning
2779 // <3=> Info
2780 // <4=> Debug
2781 
2782 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
2783 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
2784 #endif
2785 
2786 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
2787 
2788 // <0=> Off
2789 // <1=> Error
2790 // <2=> Warning
2791 // <3=> Info
2792 // <4=> Debug
2793 
2794 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
2795 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
2796 #endif
2797 
2798 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
2799 
2800 // <0=> Default
2801 // <1=> Black
2802 // <2=> Red
2803 // <3=> Green
2804 // <4=> Yellow
2805 // <5=> Blue
2806 // <6=> Magenta
2807 // <7=> Cyan
2808 // <8=> White
2809 
2810 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
2811 #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
2812 #endif
2813 
2814 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2815 
2816 // <0=> Default
2817 // <1=> Black
2818 // <2=> Red
2819 // <3=> Green
2820 // <4=> Yellow
2821 // <5=> Blue
2822 // <6=> Magenta
2823 // <7=> Cyan
2824 // <8=> White
2825 
2826 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
2827 #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
2828 #endif
2829 
2830 // </e>
2831 
2832 // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
2833 //==========================================================
2834 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
2835 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
2836 #endif
2837 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
2838 
2839 // <0=> Off
2840 // <1=> Error
2841 // <2=> Warning
2842 // <3=> Info
2843 // <4=> Debug
2844 
2845 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
2846 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
2847 #endif
2848 
2849 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
2850 
2851 // <0=> Off
2852 // <1=> Error
2853 // <2=> Warning
2854 // <3=> Info
2855 // <4=> Debug
2856 
2857 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
2858 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
2859 #endif
2860 
2861 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
2862 
2863 // <0=> Default
2864 // <1=> Black
2865 // <2=> Red
2866 // <3=> Green
2867 // <4=> Yellow
2868 // <5=> Blue
2869 // <6=> Magenta
2870 // <7=> Cyan
2871 // <8=> White
2872 
2873 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
2874 #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
2875 #endif
2876 
2877 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2878 
2879 // <0=> Default
2880 // <1=> Black
2881 // <2=> Red
2882 // <3=> Green
2883 // <4=> Yellow
2884 // <5=> Blue
2885 // <6=> Magenta
2886 // <7=> Cyan
2887 // <8=> White
2888 
2889 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
2890 #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
2891 #endif
2892 
2893 // </e>
2894 
2895 // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
2896 //==========================================================
2897 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
2898 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
2899 #endif
2900 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
2901 
2902 // <0=> Off
2903 // <1=> Error
2904 // <2=> Warning
2905 // <3=> Info
2906 // <4=> Debug
2907 
2908 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
2909 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
2910 #endif
2911 
2912 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
2913 
2914 // <0=> Off
2915 // <1=> Error
2916 // <2=> Warning
2917 // <3=> Info
2918 // <4=> Debug
2919 
2920 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
2921 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
2922 #endif
2923 
2924 // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
2925 
2926 // <0=> Default
2927 // <1=> Black
2928 // <2=> Red
2929 // <3=> Green
2930 // <4=> Yellow
2931 // <5=> Blue
2932 // <6=> Magenta
2933 // <7=> Cyan
2934 // <8=> White
2935 
2936 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
2937 #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
2938 #endif
2939 
2940 // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2941 
2942 // <0=> Default
2943 // <1=> Black
2944 // <2=> Red
2945 // <3=> Green
2946 // <4=> Yellow
2947 // <5=> Blue
2948 // <6=> Magenta
2949 // <7=> Cyan
2950 // <8=> White
2951 
2952 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
2953 #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
2954 #endif
2955 
2956 // </e>
2957 
2958 // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
2959 //==========================================================
2960 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
2961 #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
2962 #endif
2963 // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
2964 
2965 // <0=> Off
2966 // <1=> Error
2967 // <2=> Warning
2968 // <3=> Info
2969 // <4=> Debug
2970 
2971 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
2972 #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
2973 #endif
2974 
2975 // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
2976 
2977 // <0=> Default
2978 // <1=> Black
2979 // <2=> Red
2980 // <3=> Green
2981 // <4=> Yellow
2982 // <5=> Blue
2983 // <6=> Magenta
2984 // <7=> Cyan
2985 // <8=> White
2986 
2987 #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
2988 #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
2989 #endif
2990 
2991 // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
2992 
2993 // <0=> Default
2994 // <1=> Black
2995 // <2=> Red
2996 // <3=> Green
2997 // <4=> Yellow
2998 // <5=> Blue
2999 // <6=> Magenta
3000 // <7=> Cyan
3001 // <8=> White
3002 
3003 #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
3004 #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
3005 #endif
3006 
3007 // </e>
3008 
3009 // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
3010 //==========================================================
3011 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
3012 #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
3013 #endif
3014 // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
3015 
3016 // <0=> Off
3017 // <1=> Error
3018 // <2=> Warning
3019 // <3=> Info
3020 // <4=> Debug
3021 
3022 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
3023 #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
3024 #endif
3025 
3026 // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
3027 
3028 // <0=> Default
3029 // <1=> Black
3030 // <2=> Red
3031 // <3=> Green
3032 // <4=> Yellow
3033 // <5=> Blue
3034 // <6=> Magenta
3035 // <7=> Cyan
3036 // <8=> White
3037 
3038 #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
3039 #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
3040 #endif
3041 
3042 // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3043 
3044 // <0=> Default
3045 // <1=> Black
3046 // <2=> Red
3047 // <3=> Green
3048 // <4=> Yellow
3049 // <5=> Blue
3050 // <6=> Magenta
3051 // <7=> Cyan
3052 // <8=> White
3053 
3054 #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
3055 #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
3056 #endif
3057 
3058 // </e>
3059 
3060 // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
3061 //==========================================================
3062 #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
3063 #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
3064 #endif
3065 // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
3066 
3067 // <0=> Off
3068 // <1=> Error
3069 // <2=> Warning
3070 // <3=> Info
3071 // <4=> Debug
3072 
3073 #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
3074 #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
3075 #endif
3076 
3077 // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
3078 
3079 // <0=> Default
3080 // <1=> Black
3081 // <2=> Red
3082 // <3=> Green
3083 // <4=> Yellow
3084 // <5=> Blue
3085 // <6=> Magenta
3086 // <7=> Cyan
3087 // <8=> White
3088 
3089 #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
3090 #define NRF_CLI_UART_CONFIG_INFO_COLOR 0
3091 #endif
3092 
3093 // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3094 
3095 // <0=> Default
3096 // <1=> Black
3097 // <2=> Red
3098 // <3=> Green
3099 // <4=> Yellow
3100 // <5=> Blue
3101 // <6=> Magenta
3102 // <7=> Cyan
3103 // <8=> White
3104 
3105 #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
3106 #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
3107 #endif
3108 
3109 // </e>
3110 
3111 // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
3112 //==========================================================
3113 #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
3114 #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
3115 #endif
3116 // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
3117 
3118 // <0=> Off
3119 // <1=> Error
3120 // <2=> Warning
3121 // <3=> Info
3122 // <4=> Debug
3123 
3124 #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
3125 #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
3126 #endif
3127 
3128 // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
3129 
3130 // <0=> Default
3131 // <1=> Black
3132 // <2=> Red
3133 // <3=> Green
3134 // <4=> Yellow
3135 // <5=> Blue
3136 // <6=> Magenta
3137 // <7=> Cyan
3138 // <8=> White
3139 
3140 #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
3141 #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
3142 #endif
3143 
3144 // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3145 
3146 // <0=> Default
3147 // <1=> Black
3148 // <2=> Red
3149 // <3=> Green
3150 // <4=> Yellow
3151 // <5=> Blue
3152 // <6=> Magenta
3153 // <7=> Cyan
3154 // <8=> White
3155 
3156 #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
3157 #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
3158 #endif
3159 
3160 // </e>
3161 
3162 // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
3163 //==========================================================
3164 #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
3165 #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
3166 #endif
3167 // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
3168 
3169 // <0=> Off
3170 // <1=> Error
3171 // <2=> Warning
3172 // <3=> Info
3173 // <4=> Debug
3174 
3175 #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
3176 #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
3177 #endif
3178 
3179 // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
3180 
3181 // <0=> Default
3182 // <1=> Black
3183 // <2=> Red
3184 // <3=> Green
3185 // <4=> Yellow
3186 // <5=> Blue
3187 // <6=> Magenta
3188 // <7=> Cyan
3189 // <8=> White
3190 
3191 #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
3192 #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
3193 #endif
3194 
3195 // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3196 
3197 // <0=> Default
3198 // <1=> Black
3199 // <2=> Red
3200 // <3=> Green
3201 // <4=> Yellow
3202 // <5=> Blue
3203 // <6=> Magenta
3204 // <7=> Cyan
3205 // <8=> White
3206 
3207 #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
3208 #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
3209 #endif
3210 
3211 // </e>
3212 
3213 // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
3214 //==========================================================
3215 #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
3216 #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
3217 #endif
3218 // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
3219 
3220 // <0=> Off
3221 // <1=> Error
3222 // <2=> Warning
3223 // <3=> Info
3224 // <4=> Debug
3225 
3226 #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
3227 #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
3228 #endif
3229 
3230 // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
3231 
3232 // <0=> Default
3233 // <1=> Black
3234 // <2=> Red
3235 // <3=> Green
3236 // <4=> Yellow
3237 // <5=> Blue
3238 // <6=> Magenta
3239 // <7=> Cyan
3240 // <8=> White
3241 
3242 #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
3243 #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
3244 #endif
3245 
3246 // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3247 
3248 // <0=> Default
3249 // <1=> Black
3250 // <2=> Red
3251 // <3=> Green
3252 // <4=> Yellow
3253 // <5=> Blue
3254 // <6=> Magenta
3255 // <7=> Cyan
3256 // <8=> White
3257 
3258 #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
3259 #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
3260 #endif
3261 
3262 // </e>
3263 
3264 // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
3265 //==========================================================
3266 #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
3267 #define NRF_QUEUE_CONFIG_LOG_ENABLED 0
3268 #endif
3269 // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
3270 
3271 // <0=> Off
3272 // <1=> Error
3273 // <2=> Warning
3274 // <3=> Info
3275 // <4=> Debug
3276 
3277 #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
3278 #define NRF_QUEUE_CONFIG_LOG_LEVEL 3
3279 #endif
3280 
3281 // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
3282 
3283 // <0=> Off
3284 // <1=> Error
3285 // <2=> Warning
3286 // <3=> Info
3287 // <4=> Debug
3288 
3289 #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
3290 #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
3291 #endif
3292 
3293 // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
3294 
3295 // <0=> Default
3296 // <1=> Black
3297 // <2=> Red
3298 // <3=> Green
3299 // <4=> Yellow
3300 // <5=> Blue
3301 // <6=> Magenta
3302 // <7=> Cyan
3303 // <8=> White
3304 
3305 #ifndef NRF_QUEUE_CONFIG_INFO_COLOR
3306 #define NRF_QUEUE_CONFIG_INFO_COLOR 0
3307 #endif
3308 
3309 // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3310 
3311 // <0=> Default
3312 // <1=> Black
3313 // <2=> Red
3314 // <3=> Green
3315 // <4=> Yellow
3316 // <5=> Blue
3317 // <6=> Magenta
3318 // <7=> Cyan
3319 // <8=> White
3320 
3321 #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
3322 #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
3323 #endif
3324 
3325 // </e>
3326 
3327 // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
3328 //==========================================================
3329 #ifndef NRF_SDH_ANT_LOG_ENABLED
3330 #define NRF_SDH_ANT_LOG_ENABLED 0
3331 #endif
3332 // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
3333 
3334 // <0=> Off
3335 // <1=> Error
3336 // <2=> Warning
3337 // <3=> Info
3338 // <4=> Debug
3339 
3340 #ifndef NRF_SDH_ANT_LOG_LEVEL
3341 #define NRF_SDH_ANT_LOG_LEVEL 3
3342 #endif
3343 
3344 // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
3345 
3346 // <0=> Default
3347 // <1=> Black
3348 // <2=> Red
3349 // <3=> Green
3350 // <4=> Yellow
3351 // <5=> Blue
3352 // <6=> Magenta
3353 // <7=> Cyan
3354 // <8=> White
3355 
3356 #ifndef NRF_SDH_ANT_INFO_COLOR
3357 #define NRF_SDH_ANT_INFO_COLOR 0
3358 #endif
3359 
3360 // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
3361 
3362 // <0=> Default
3363 // <1=> Black
3364 // <2=> Red
3365 // <3=> Green
3366 // <4=> Yellow
3367 // <5=> Blue
3368 // <6=> Magenta
3369 // <7=> Cyan
3370 // <8=> White
3371 
3372 #ifndef NRF_SDH_ANT_DEBUG_COLOR
3373 #define NRF_SDH_ANT_DEBUG_COLOR 0
3374 #endif
3375 
3376 // </e>
3377 
3378 // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
3379 //==========================================================
3380 #ifndef NRF_SDH_BLE_LOG_ENABLED
3381 #define NRF_SDH_BLE_LOG_ENABLED 0
3382 #endif
3383 // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
3384 
3385 // <0=> Off
3386 // <1=> Error
3387 // <2=> Warning
3388 // <3=> Info
3389 // <4=> Debug
3390 
3391 #ifndef NRF_SDH_BLE_LOG_LEVEL
3392 #define NRF_SDH_BLE_LOG_LEVEL 3
3393 #endif
3394 
3395 // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
3396 
3397 // <0=> Default
3398 // <1=> Black
3399 // <2=> Red
3400 // <3=> Green
3401 // <4=> Yellow
3402 // <5=> Blue
3403 // <6=> Magenta
3404 // <7=> Cyan
3405 // <8=> White
3406 
3407 #ifndef NRF_SDH_BLE_INFO_COLOR
3408 #define NRF_SDH_BLE_INFO_COLOR 0
3409 #endif
3410 
3411 // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
3412 
3413 // <0=> Default
3414 // <1=> Black
3415 // <2=> Red
3416 // <3=> Green
3417 // <4=> Yellow
3418 // <5=> Blue
3419 // <6=> Magenta
3420 // <7=> Cyan
3421 // <8=> White
3422 
3423 #ifndef NRF_SDH_BLE_DEBUG_COLOR
3424 #define NRF_SDH_BLE_DEBUG_COLOR 0
3425 #endif
3426 
3427 // </e>
3428 
3429 // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
3430 //==========================================================
3431 #ifndef NRF_SDH_LOG_ENABLED
3432 #define NRF_SDH_LOG_ENABLED 0
3433 #endif
3434 // <o> NRF_SDH_LOG_LEVEL - Default Severity level
3435 
3436 // <0=> Off
3437 // <1=> Error
3438 // <2=> Warning
3439 // <3=> Info
3440 // <4=> Debug
3441 
3442 #ifndef NRF_SDH_LOG_LEVEL
3443 #define NRF_SDH_LOG_LEVEL 3
3444 #endif
3445 
3446 // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
3447 
3448 // <0=> Default
3449 // <1=> Black
3450 // <2=> Red
3451 // <3=> Green
3452 // <4=> Yellow
3453 // <5=> Blue
3454 // <6=> Magenta
3455 // <7=> Cyan
3456 // <8=> White
3457 
3458 #ifndef NRF_SDH_INFO_COLOR
3459 #define NRF_SDH_INFO_COLOR 0
3460 #endif
3461 
3462 // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
3463 
3464 // <0=> Default
3465 // <1=> Black
3466 // <2=> Red
3467 // <3=> Green
3468 // <4=> Yellow
3469 // <5=> Blue
3470 // <6=> Magenta
3471 // <7=> Cyan
3472 // <8=> White
3473 
3474 #ifndef NRF_SDH_DEBUG_COLOR
3475 #define NRF_SDH_DEBUG_COLOR 0
3476 #endif
3477 
3478 // </e>
3479 
3480 // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
3481 //==========================================================
3482 #ifndef NRF_SDH_SOC_LOG_ENABLED
3483 #define NRF_SDH_SOC_LOG_ENABLED 0
3484 #endif
3485 // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
3486 
3487 // <0=> Off
3488 // <1=> Error
3489 // <2=> Warning
3490 // <3=> Info
3491 // <4=> Debug
3492 
3493 #ifndef NRF_SDH_SOC_LOG_LEVEL
3494 #define NRF_SDH_SOC_LOG_LEVEL 3
3495 #endif
3496 
3497 // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
3498 
3499 // <0=> Default
3500 // <1=> Black
3501 // <2=> Red
3502 // <3=> Green
3503 // <4=> Yellow
3504 // <5=> Blue
3505 // <6=> Magenta
3506 // <7=> Cyan
3507 // <8=> White
3508 
3509 #ifndef NRF_SDH_SOC_INFO_COLOR
3510 #define NRF_SDH_SOC_INFO_COLOR 0
3511 #endif
3512 
3513 // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
3514 
3515 // <0=> Default
3516 // <1=> Black
3517 // <2=> Red
3518 // <3=> Green
3519 // <4=> Yellow
3520 // <5=> Blue
3521 // <6=> Magenta
3522 // <7=> Cyan
3523 // <8=> White
3524 
3525 #ifndef NRF_SDH_SOC_DEBUG_COLOR
3526 #define NRF_SDH_SOC_DEBUG_COLOR 0
3527 #endif
3528 
3529 // </e>
3530 
3531 // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
3532 //==========================================================
3533 #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
3534 #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
3535 #endif
3536 // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
3537 
3538 // <0=> Off
3539 // <1=> Error
3540 // <2=> Warning
3541 // <3=> Info
3542 // <4=> Debug
3543 
3544 #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
3545 #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
3546 #endif
3547 
3548 // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
3549 
3550 // <0=> Default
3551 // <1=> Black
3552 // <2=> Red
3553 // <3=> Green
3554 // <4=> Yellow
3555 // <5=> Blue
3556 // <6=> Magenta
3557 // <7=> Cyan
3558 // <8=> White
3559 
3560 #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
3561 #define NRF_SORTLIST_CONFIG_INFO_COLOR 0
3562 #endif
3563 
3564 // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3565 
3566 // <0=> Default
3567 // <1=> Black
3568 // <2=> Red
3569 // <3=> Green
3570 // <4=> Yellow
3571 // <5=> Blue
3572 // <6=> Magenta
3573 // <7=> Cyan
3574 // <8=> White
3575 
3576 #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
3577 #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
3578 #endif
3579 
3580 // </e>
3581 
3582 // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
3583 //==========================================================
3584 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
3585 #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
3586 #endif
3587 // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
3588 
3589 // <0=> Off
3590 // <1=> Error
3591 // <2=> Warning
3592 // <3=> Info
3593 // <4=> Debug
3594 
3595 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
3596 #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
3597 #endif
3598 
3599 // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
3600 
3601 // <0=> Default
3602 // <1=> Black
3603 // <2=> Red
3604 // <3=> Green
3605 // <4=> Yellow
3606 // <5=> Blue
3607 // <6=> Magenta
3608 // <7=> Cyan
3609 // <8=> White
3610 
3611 #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
3612 #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
3613 #endif
3614 
3615 // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3616 
3617 // <0=> Default
3618 // <1=> Black
3619 // <2=> Red
3620 // <3=> Green
3621 // <4=> Yellow
3622 // <5=> Blue
3623 // <6=> Magenta
3624 // <7=> Cyan
3625 // <8=> White
3626 
3627 #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
3628 #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
3629 #endif
3630 
3631 // </e>
3632 
3633 // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
3634 //==========================================================
3635 #ifndef PM_LOG_ENABLED
3636 #define PM_LOG_ENABLED 1
3637 #endif
3638 // <o> PM_LOG_LEVEL - Default Severity level
3639 
3640 // <0=> Off
3641 // <1=> Error
3642 // <2=> Warning
3643 // <3=> Info
3644 // <4=> Debug
3645 
3646 #ifndef PM_LOG_LEVEL
3647 #define PM_LOG_LEVEL 3
3648 #endif
3649 
3650 // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
3651 
3652 // <0=> Default
3653 // <1=> Black
3654 // <2=> Red
3655 // <3=> Green
3656 // <4=> Yellow
3657 // <5=> Blue
3658 // <6=> Magenta
3659 // <7=> Cyan
3660 // <8=> White
3661 
3662 #ifndef PM_LOG_INFO_COLOR
3663 #define PM_LOG_INFO_COLOR 0
3664 #endif
3665 
3666 // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
3667 
3668 // <0=> Default
3669 // <1=> Black
3670 // <2=> Red
3671 // <3=> Green
3672 // <4=> Yellow
3673 // <5=> Blue
3674 // <6=> Magenta
3675 // <7=> Cyan
3676 // <8=> White
3677 
3678 #ifndef PM_LOG_DEBUG_COLOR
3679 #define PM_LOG_DEBUG_COLOR 0
3680 #endif
3681 
3682 // </e>
3683 
3684 // </h>
3685 //==========================================================
3686 
3687 // <h> nrf_log in nRF_Serialization
3688 
3689 //==========================================================
3690 // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
3691 //==========================================================
3692 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
3693 #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
3694 #endif
3695 // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
3696 
3697 // <0=> Off
3698 // <1=> Error
3699 // <2=> Warning
3700 // <3=> Info
3701 // <4=> Debug
3702 
3703 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
3704 #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
3705 #endif
3706 
3707 // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
3708 
3709 // <0=> Default
3710 // <1=> Black
3711 // <2=> Red
3712 // <3=> Green
3713 // <4=> Yellow
3714 // <5=> Blue
3715 // <6=> Magenta
3716 // <7=> Cyan
3717 // <8=> White
3718 
3719 #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
3720 #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
3721 #endif
3722 
3723 // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
3724 
3725 // <0=> Default
3726 // <1=> Black
3727 // <2=> Red
3728 // <3=> Green
3729 // <4=> Yellow
3730 // <5=> Blue
3731 // <6=> Magenta
3732 // <7=> Cyan
3733 // <8=> White
3734 
3735 #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
3736 #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
3737 #endif
3738 
3739 // </e>
3740 
3741 // </h>
3742 //==========================================================
3743 
3744 // </h>
3745 //==========================================================
3746 
3747 // </e>
3748 
3749 // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
3750 
3751 
3752 #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
3753 #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
3754 #endif
3755 
3756 // </h>
3757 //==========================================================
3758 
3759 // <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
3760 //==========================================================
3761 #ifndef NRF_QUEUE_ENABLED
3762 #define NRF_QUEUE_ENABLED 1
3763 #endif
3764 // <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
3765 
3766 
3767 #ifndef NRF_QUEUE_CLI_CMDS
3768 #define NRF_QUEUE_CLI_CMDS 0
3769 #endif
3770 
3771 //==========================================================
3772 
3773 // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
3774 //==========================================================
3775 #ifndef NRFX_USBD_ENABLED
3776 #define NRFX_USBD_ENABLED 1
3777 #endif
3778 // <o> NRFX_USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
3779 
3780 // <0=> 0 (highest)
3781 // <1=> 1
3782 // <2=> 2
3783 // <3=> 3
3784 // <4=> 4
3785 // <5=> 5
3786 // <6=> 6
3787 // <7=> 7
3788 
3789 #ifndef NRFX_USBD_CONFIG_IRQ_PRIORITY
3790 #define NRFX_USBD_CONFIG_IRQ_PRIORITY 6
3791 #endif
3792 
3793 // <o> NRFX_USBD_CONFIG_DMASCHEDULER_MODE - USBD DMA scheduler working scheme
3794 
3795 // <0=> Prioritized access
3796 // <1=> Round Robin
3797 
3798 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_MODE
3799 #define NRFX_USBD_CONFIG_DMASCHEDULER_MODE 0
3800 #endif
3801 
3802 // <q> NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
3803 
3804 
3805 // <i> This option gives priority to isochronous transfers.
3806 // <i> Enabling it assures that isochronous transfers are always processed,
3807 // <i> even if multiple other transfers are pending.
3808 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
3809 // <i> function is called, so the option is independent of the algorithm chosen.
3810 
3811 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
3812 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
3813 #endif
3814 
3815 // <q> NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
3816 
3817 
3818 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
3819 // <i> Else, there will be no response.
3820 
3821 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
3822 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
3823 #endif
3824 
3825 // </e>
3826 //==========================================================
3827 
3828 // <e> USBD_ENABLED - nrf_drv_usbd - Software Component
3829 //==========================================================
3830 #ifndef USBD_ENABLED
3831 #define USBD_ENABLED 1
3832 #endif
3833 // <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
3834 
3835 
3836 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
3837 // <0=> 0 (highest)
3838 // <1=> 1
3839 // <2=> 2
3840 // <3=> 3
3841 // <4=> 4
3842 // <5=> 5
3843 // <6=> 6
3844 // <7=> 7
3845 
3846 #ifndef USBD_CONFIG_IRQ_PRIORITY
3847 #define USBD_CONFIG_IRQ_PRIORITY 6
3848 #endif
3849 
3850 // <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme
3851 
3852 // <0=> Prioritized access
3853 // <1=> Round Robin
3854 
3855 #ifndef USBD_CONFIG_DMASCHEDULER_MODE
3856 #define USBD_CONFIG_DMASCHEDULER_MODE 0
3857 #endif
3858 
3859 // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
3860 
3861 
3862 // <i> This option gives priority to isochronous transfers.
3863 // <i> Enabling it assures that isochronous transfers are always processed,
3864 // <i> even if multiple other transfers are pending.
3865 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
3866 // <i> function is called, so the option is independent of the algorithm chosen.
3867 
3868 #ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST
3869 #define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
3870 #endif
3871 
3872 // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
3873 
3874 
3875 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
3876 // <i> Else, there will be no response.
3877 // <i> NOTE: This option does not work on Engineering A chip.
3878 
3879 #ifndef USBD_CONFIG_ISO_IN_ZLP
3880 #define USBD_CONFIG_ISO_IN_ZLP 0
3881 #endif
3882 
3883 // </e>
3884 
3885 // <e> APP_USBD_ENABLED - app_usbd - USB Device library
3886 //==========================================================
3887 #ifndef APP_USBD_ENABLED
3888 #define APP_USBD_ENABLED 1
3889 #endif
3890 // <s> APP_USBD_VID - Vendor ID.
3891 
3892 // <i> Note: This value is not editable in Configuration Wizard.
3893 // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
3894 #ifndef APP_USBD_VID
3895 #define APP_USBD_VID 0x1915
3896 #endif
3897 
3898 // <s> APP_USBD_PID - Product ID.
3899 
3900 // <i> Note: This value is not editable in Configuration Wizard.
3901 // <i> Selected Product ID
3902 #ifndef APP_USBD_PID
3903 #define APP_USBD_PID 0x520F
3904 #endif
3905 
3906 // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
3907 
3908 
3909 // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
3910 
3911 #ifndef APP_USBD_DEVICE_VER_MAJOR
3912 #define APP_USBD_DEVICE_VER_MAJOR 1
3913 #endif
3914 
3915 // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
3916 
3917 
3918 // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
3919 
3920 #ifndef APP_USBD_DEVICE_VER_MINOR
3921 #define APP_USBD_DEVICE_VER_MINOR 0
3922 #endif
3923 
3924 // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
3925 
3926 
3927 // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
3928 
3929 #ifndef APP_USBD_DEVICE_VER_SUB
3930 #define APP_USBD_DEVICE_VER_SUB 0
3931 #endif
3932 
3933 // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
3934 
3935 
3936 #ifndef APP_USBD_CONFIG_SELF_POWERED
3937 #define APP_USBD_CONFIG_SELF_POWERED 0
3938 #endif
3939 
3940 // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
3941 
3942 
3943 #ifndef APP_USBD_CONFIG_MAX_POWER
3944 #define APP_USBD_CONFIG_MAX_POWER 100
3945 #endif
3946 
3947 // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
3948 
3949 
3950 // <i> Enable processing power events in USB event handler.
3951 
3952 #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
3953 #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 0
3954 #endif
3955 
3956 // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
3957 
3958 // <i> This is the default configuration when all the events are placed into internal queue.
3959 // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
3960 // <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.
3961 // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
3962 //==========================================================
3963 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
3964 #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 0
3965 #endif
3966 // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
3967 
3968 
3969 // <i> The size of the queue for the events that would be processed in the main loop.
3970 
3971 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
3972 #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
3973 #endif
3974 
3975 // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
3976 
3977 
3978 // <i> Normal queue - SOF events are pushed normally into the event queue.
3979 // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
3980 // <i> This prevents the queue from filling up with SOF events.
3981 // <i> Interrupt - SOF events are processed in interrupt.
3982 // <0=> Normal queue
3983 // <1=> Compress queue
3984 // <2=> Interrupt
3985 
3986 #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
3987 #define APP_USBD_CONFIG_SOF_HANDLING_MODE 2
3988 #endif
3989 
3990 // </e>
3991 
3992 // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
3993 
3994 
3995 // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
3996 // <i> Use it when initializing the logger.
3997 // <i> SOF processing is always enabled when this configuration parameter is active.
3998 // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
3999 // <i> This means that it works even if the logging in this very module is disabled.
4000 
4001 #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
4002 #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
4003 #endif
4004 
4005 // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
4006 
4007 
4008 // <i> 31 characters can be stored in the internal USB buffer used for transfers.
4009 // <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
4010 
4011 #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
4012 #define APP_USBD_CONFIG_DESC_STRING_SIZE 31
4013 #endif
4014 
4015 // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
4016 
4017 
4018 // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
4019 
4020 #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
4021 #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
4022 #endif
4023 
4024 // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
4025 
4026 // <i> Note: This value is not editable in Configuration Wizard.
4027 // <i> Comma-separated list of supported languages.
4028 #ifndef APP_USBD_STRINGS_LANGIDS
4029 #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
4030 #endif
4031 
4032 // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
4033 
4034 // <i> Setting ID to 0 disables the string.
4035 //==========================================================
4036 #ifndef APP_USBD_STRING_ID_MANUFACTURER
4037 #define APP_USBD_STRING_ID_MANUFACTURER 1
4038 #endif
4039 // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
4040 
4041 
4042 #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
4043 #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
4044 #endif
4045 
4046 // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
4047 
4048 // <i> Note: This value is not editable in Configuration Wizard.
4049 // <i> Comma-separated list of manufacturer names for each defined language.
4050 // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
4051 // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
4052 // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
4053 // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
4054 // <i> Setting string to NULL disables that string.
4055 // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
4056 #ifndef APP_USBD_STRINGS_MANUFACTURER
4057 #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
4058 #endif
4059 
4060 // </e>
4061 
4062 // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
4063 
4064 // <i> Setting ID to 0 disables the string.
4065 //==========================================================
4066 #ifndef APP_USBD_STRING_ID_PRODUCT
4067 #define APP_USBD_STRING_ID_PRODUCT 2
4068 #endif
4069 // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
4070 
4071 
4072 #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
4073 #define APP_USBD_STRINGS_PRODUCT_EXTERN 0
4074 #endif
4075 
4076 // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
4077 
4078 // <i> Note: This value is not editable in Configuration Wizard.
4079 // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
4080 #ifndef APP_USBD_STRINGS_PRODUCT
4081 #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB CDC on Contiki-NG")
4082 #endif
4083 
4084 // </e>
4085 
4086 // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
4087 
4088 // <i> Setting ID to 0 disables the string.
4089 //==========================================================
4090 #ifndef APP_USBD_STRING_ID_SERIAL
4091 #define APP_USBD_STRING_ID_SERIAL 3
4092 #endif
4093 // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
4094 
4095 
4096 #ifndef APP_USBD_STRING_SERIAL_EXTERN
4097 #define APP_USBD_STRING_SERIAL_EXTERN 1
4098 #endif
4099 
4100 // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
4101 
4102 // <i> Note: This value is not editable in Configuration Wizard.
4103 // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
4104 #ifndef APP_USBD_STRING_SERIAL
4105 #define APP_USBD_STRING_SERIAL g_extern_serial_number
4106 #endif
4107 
4108 // </e>
4109 
4110 // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
4111 
4112 // <i> Setting ID to 0 disables the string.
4113 //==========================================================
4114 #ifndef APP_USBD_STRING_ID_CONFIGURATION
4115 #define APP_USBD_STRING_ID_CONFIGURATION 4
4116 #endif
4117 // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
4118 
4119 
4120 #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
4121 #define APP_USBD_STRING_CONFIGURATION_EXTERN 0
4122 #endif
4123 
4124 // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
4125 
4126 // <i> Note: This value is not editable in Configuration Wizard.
4127 // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
4128 #ifndef APP_USBD_STRINGS_CONFIGURATION
4129 #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
4130 #endif
4131 
4132 // </e>
4133 
4134 // <s> APP_USBD_STRINGS_USER - Default values for user strings.
4135 
4136 // <i> Note: This value is not editable in Configuration Wizard.
4137 // <i> This value stores all application specific user strings with the default initialization.
4138 // <i> The setup is done by X-macros.
4139 // <i> Expected macro parameters:
4140 // <i> @code
4141 // <i> X(mnemonic, [=str_idx], ...)
4142 // <i> @endcode
4143 // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
4144 // <i> @ref app_usbd_string_desc_idx_t enumerator.
4145 // <i> - @c str_idx : String index value, can be set or left empty.
4146 // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
4147 // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
4148 // <i> - @c ... : List of string descriptors for each defined language.
4149 #ifndef APP_USBD_STRINGS_USER
4150 #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
4151 #endif
4152 
4153 // </e>
4154 
4155 // <h> app_usbd_cdc_acm - USB CDC ACM class
4156 
4157 //==========================================================
4158 // <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
4159 
4160 
4161 #ifndef APP_USBD_CDC_ACM_ENABLED
4162 #define APP_USBD_CDC_ACM_ENABLED 1
4163 #endif
4164 
4165 // <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
4166 
4167 
4168 // <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
4169 // <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.
4170 
4171 #ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
4172 #define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
4173 #endif
4174 
4175 // </h>
4176 //==========================================================
4177 
4178 //==========================================================
4179 // <h> nrf_dfu_trigger_usb - USB DFU Trigger library
4180 
4181 //==========================================================
4182 // <q> NRF_DFU_TRIGGER_USB_USB_SHARED - Flag indicating whether USB is used for other purposes in the application.
4183 
4184 
4185 #ifndef NRF_DFU_TRIGGER_USB_USB_SHARED
4186 #define NRF_DFU_TRIGGER_USB_USB_SHARED 1
4187 #endif
4188 
4189 // <o> NRF_DFU_TRIGGER_USB_INTERFACE_NUM - The USB interface to use for the DFU Trigger library. <0-255>
4190 
4191 
4192 // <i> According to the USB Specification, interface numbers cannot have
4193 // <i> gaps. Tailor this value to adhere to this limitation.
4194 
4195 #ifndef NRF_DFU_TRIGGER_USB_INTERFACE_NUM
4196 #define NRF_DFU_TRIGGER_USB_INTERFACE_NUM 2
4197 #endif
4198 
4199 
4200 // <q> APP_USBD_NRF_DFU_TRIGGER_ENABLED - app_usbd_nrf_dfu_trigger - USBD Nordic DFU Trigger class
4201 
4202 
4203 #ifndef APP_USBD_NRF_DFU_TRIGGER_ENABLED
4204 #define APP_USBD_NRF_DFU_TRIGGER_ENABLED 1
4205 #endif
4206 
4207 
4208 //==========================================================
4209 // <q> NRFX_SYSTICK_ENABLED - nrfx_systick - ARM(R) SysTick driver
4210 
4211 
4212 #ifndef NRFX_SYSTICK_ENABLED
4213 #define NRFX_SYSTICK_ENABLED 1
4214 #endif
4215 
4216 // <<< end of configuration section >>>
4217 #endif //SDK_CONFIG_H