sdk_config.h
1 /** 2 * Copyright (c) 2017 - 2019, Nordic Semiconductor ASA 3 * 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without modification, 7 * are permitted provided that the following conditions are met: 8 * 9 * 1. Redistributions of source code must retain the above copyright notice, this 10 * list of conditions and the following disclaimer. 11 * 12 * 2. Redistributions in binary form, except as embedded into a Nordic 13 * Semiconductor ASA integrated circuit in a product or a software update for 14 * such product, must reproduce the above copyright notice, this list of 15 * conditions and the following disclaimer in the documentation and/or other 16 * materials provided with the distribution. 17 * 18 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its 19 * contributors may be used to endorse or promote products derived from this 20 * software without specific prior written permission. 21 * 22 * 4. This software, with or without modification, must only be used with a 23 * Nordic Semiconductor ASA integrated circuit. 24 * 25 * 5. Any software provided in binary form under this license must not be reverse 26 * engineered, decompiled, modified and/or disassembled. 27 * 28 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS 29 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 30 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE 31 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE 32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 34 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 37 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38 * 39 */ 40 41 42 43 #ifndef SDK_CONFIG_H 44 #define SDK_CONFIG_H 45 // <<< Use Configuration Wizard in Context Menu >>>\n 46 #ifdef USE_APP_CONFIG 47 #include "app_config.h" 48 #endif 49 50 #include "custom_pitaya_go.h" 51 #include "usb/usb_config.h" 52 53 // <h> nRF_Drivers 54 55 //========================================================== 56 // <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer 57 //========================================================== 58 #ifndef GPIOTE_ENABLED 59 #define GPIOTE_ENABLED 1 60 #endif 61 62 // <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins 63 #ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 64 #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 7 65 #endif 66 67 // <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority 68 69 70 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 71 // <0=> 0 (highest) 72 // <1=> 1 73 // <2=> 2 74 // <3=> 3 75 // <4=> 4 76 // <5=> 5 77 // <6=> 6 78 // <7=> 7 79 80 #ifndef GPIOTE_CONFIG_IRQ_PRIORITY 81 #define GPIOTE_CONFIG_IRQ_PRIORITY 6 82 #endif 83 84 // </e> 85 86 // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver 87 //========================================================== 88 #ifndef NRFX_GPIOTE_ENABLED 89 #define NRFX_GPIOTE_ENABLED 1 90 #endif 91 92 // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins 93 #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 94 #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 7 95 #endif 96 97 // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority 98 99 // <0=> 0 (highest) 100 // <1=> 1 101 // <2=> 2 102 // <3=> 3 103 // <4=> 4 104 // <5=> 5 105 // <6=> 6 106 // <7=> 7 107 108 #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 109 #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6 110 #endif 111 112 // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module. 113 //========================================================== 114 #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED 115 #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0 116 #endif 117 // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level 118 119 // <0=> Off 120 // <1=> Error 121 // <2=> Warning 122 // <3=> Info 123 // <4=> Debug 124 125 #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL 126 #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3 127 #endif 128 129 // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 130 131 // <0=> Default 132 // <1=> Black 133 // <2=> Red 134 // <3=> Green 135 // <4=> Yellow 136 // <5=> Blue 137 // <6=> Magenta 138 // <7=> Cyan 139 // <8=> White 140 141 #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR 142 #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0 143 #endif 144 145 // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 146 147 // <0=> Default 148 // <1=> Black 149 // <2=> Red 150 // <3=> Green 151 // <4=> Yellow 152 // <5=> Blue 153 // <6=> Magenta 154 // <7=> Cyan 155 // <8=> White 156 157 #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR 158 #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0 159 #endif 160 161 // </e> 162 163 // </e> 164 165 // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver 166 //========================================================== 167 #ifndef NRFX_WDT_ENABLED 168 #define NRFX_WDT_ENABLED 1 169 #endif 170 // <o> NRFX_WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode 171 172 // <1=> Run in SLEEP, Pause in HALT 173 // <8=> Pause in SLEEP, Run in HALT 174 // <9=> Run in SLEEP and HALT 175 // <0=> Pause in SLEEP and HALT 176 177 #ifndef NRFX_WDT_CONFIG_BEHAVIOUR 178 #define NRFX_WDT_CONFIG_BEHAVIOUR 1 179 #endif 180 181 // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value in ms <1-131072000> 182 183 184 #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE 185 #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000 186 #endif 187 188 // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver 189 190 // <0=> Include WDT IRQ handling 191 // <1=> Remove WDT IRQ handling 192 193 #ifndef NRFX_WDT_CONFIG_NO_IRQ 194 #define NRFX_WDT_CONFIG_NO_IRQ 0 195 #endif 196 197 // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY - Interrupt priority 198 199 // <0=> 0 (highest) 200 // <1=> 1 201 // <2=> 2 202 // <3=> 3 203 // <4=> 4 204 // <5=> 5 205 // <6=> 6 206 // <7=> 7 207 208 #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY 209 #define NRFX_WDT_CONFIG_IRQ_PRIORITY 6 210 #endif 211 212 // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module. 213 //========================================================== 214 #ifndef NRFX_WDT_CONFIG_LOG_ENABLED 215 #define NRFX_WDT_CONFIG_LOG_ENABLED 0 216 #endif 217 // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default Severity level 218 219 // <0=> Off 220 // <1=> Error 221 // <2=> Warning 222 // <3=> Info 223 // <4=> Debug 224 225 #ifndef NRFX_WDT_CONFIG_LOG_LEVEL 226 #define NRFX_WDT_CONFIG_LOG_LEVEL 3 227 #endif 228 229 // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix. 230 231 // <0=> Default 232 // <1=> Black 233 // <2=> Red 234 // <3=> Green 235 // <4=> Yellow 236 // <5=> Blue 237 // <6=> Magenta 238 // <7=> Cyan 239 // <8=> White 240 241 #ifndef NRFX_WDT_CONFIG_INFO_COLOR 242 #define NRFX_WDT_CONFIG_INFO_COLOR 0 243 #endif 244 245 // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 246 247 // <0=> Default 248 // <1=> Black 249 // <2=> Red 250 // <3=> Green 251 // <4=> Yellow 252 // <5=> Blue 253 // <6=> Magenta 254 // <7=> Cyan 255 // <8=> White 256 257 #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR 258 #define NRFX_WDT_CONFIG_DEBUG_COLOR 0 259 #endif 260 261 // </e> 262 263 // </e> 264 265 //========================================================== 266 // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver 267 //========================================================== 268 #ifndef NRFX_CLOCK_ENABLED 269 #define NRFX_CLOCK_ENABLED 1 270 #endif 271 // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source 272 273 // <0=> RC 274 // <1=> XTAL 275 // <2=> Synth 276 // <131073=> External Low Swing 277 // <196609=> External Full Swing 278 279 #ifndef NRFX_CLOCK_CONFIG_LF_SRC 280 #define NRFX_CLOCK_CONFIG_LF_SRC 1 281 #endif 282 283 // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority 284 285 // <0=> 0 (highest) 286 // <1=> 1 287 // <2=> 2 288 // <3=> 3 289 // <4=> 4 290 // <5=> 5 291 // <6=> 6 292 // <7=> 7 293 294 #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY 295 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6 296 #endif 297 298 // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module. 299 //========================================================== 300 #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED 301 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0 302 #endif 303 // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level 304 305 // <0=> Off 306 // <1=> Error 307 // <2=> Warning 308 // <3=> Info 309 // <4=> Debug 310 311 #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL 312 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3 313 #endif 314 315 // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix. 316 317 // <0=> Default 318 // <1=> Black 319 // <2=> Red 320 // <3=> Green 321 // <4=> Yellow 322 // <5=> Blue 323 // <6=> Magenta 324 // <7=> Cyan 325 // <8=> White 326 327 #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR 328 #define NRFX_CLOCK_CONFIG_INFO_COLOR 0 329 #endif 330 331 // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 332 333 // <0=> Default 334 // <1=> Black 335 // <2=> Red 336 // <3=> Green 337 // <4=> Yellow 338 // <5=> Blue 339 // <6=> Magenta 340 // <7=> Cyan 341 // <8=> White 342 343 #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR 344 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0 345 #endif 346 347 // </e> 348 349 // </e> 350 351 // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver 352 //========================================================== 353 #ifndef NRFX_RTC_ENABLED 354 #define NRFX_RTC_ENABLED 1 355 #endif 356 // <q> NRFX_RTC0_ENABLED - Enable RTC0 instance 357 358 359 #ifndef NRFX_RTC0_ENABLED 360 #define NRFX_RTC0_ENABLED 0 // TRY NOT TO USE RTC0! It is used if a softdevice is preseent. 361 #endif 362 363 // <q> NRFX_RTC1_ENABLED - Enable RTC1 instance 364 365 366 #ifndef NRFX_RTC1_ENABLED 367 #define NRFX_RTC1_ENABLED 0 // DO NOT USE RTC1! It is used by the APP_TIMER module. 368 #endif 369 370 // <q> NRFX_RTC2_ENABLED - Enable RTC2 instance 371 372 373 #ifndef NRFX_RTC2_ENABLED 374 #define NRFX_RTC2_ENABLED 1 375 #endif 376 377 // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt 378 #ifndef NRFX_RTC_MAXIMUM_LATENCY_US 379 #define NRFX_RTC_MAXIMUM_LATENCY_US 2000 380 #endif 381 382 // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768> 383 384 385 #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 386 #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768 387 #endif 388 389 // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering 390 391 392 #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE 393 #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0 394 #endif 395 396 // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 397 398 // <0=> 0 (highest) 399 // <1=> 1 400 // <2=> 2 401 // <3=> 3 402 // <4=> 4 403 // <5=> 5 404 // <6=> 6 405 // <7=> 7 406 407 #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 408 #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6 409 #endif 410 411 // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module. 412 //========================================================== 413 #ifndef RTC_CONFIG_LOG_ENABLED 414 #define RTC_CONFIG_LOG_ENABLED 0 415 #endif 416 // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level 417 418 // <0=> Off 419 // <1=> Error 420 // <2=> Warning 421 // <3=> Info 422 // <4=> Debug 423 424 #ifndef RTC_CONFIG_LOG_LEVEL 425 #define RTC_CONFIG_LOG_LEVEL 3 426 #endif 427 428 // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix. 429 430 // <0=> Default 431 // <1=> Black 432 // <2=> Red 433 // <3=> Green 434 // <4=> Yellow 435 // <5=> Blue 436 // <6=> Magenta 437 // <7=> Cyan 438 // <8=> White 439 440 #ifndef RTC_CONFIG_INFO_COLOR 441 #define RTC_CONFIG_INFO_COLOR 0 442 #endif 443 444 // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 445 446 // <0=> Default 447 // <1=> Black 448 // <2=> Red 449 // <3=> Green 450 // <4=> Yellow 451 // <5=> Blue 452 // <6=> Magenta 453 // <7=> Cyan 454 // <8=> White 455 456 #ifndef RTC_CONFIG_DEBUG_COLOR 457 #define RTC_CONFIG_DEBUG_COLOR 0 458 #endif 459 460 // </e> 461 462 // </e> 463 464 // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver 465 //========================================================== 466 #ifndef NRFX_NFCT_ENABLED 467 #define NRFX_NFCT_ENABLED 1 468 #endif 469 // <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority 470 471 // <0=> 0 (highest) 472 // <1=> 1 473 // <2=> 2 474 // <3=> 3 475 // <4=> 4 476 // <5=> 5 477 // <6=> 6 478 // <7=> 7 479 480 #ifndef NRFX_NFCT_CONFIG_IRQ_PRIORITY 481 #define NRFX_NFCT_CONFIG_IRQ_PRIORITY 6 482 #endif 483 484 // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module. 485 //========================================================== 486 #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED 487 #define NRFX_NFCT_CONFIG_LOG_ENABLED 1 488 #endif 489 // <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level 490 491 // <0=> Off 492 // <1=> Error 493 // <2=> Warning 494 // <3=> Info 495 // <4=> Debug 496 497 #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL 498 #define NRFX_NFCT_CONFIG_LOG_LEVEL 2 499 #endif 500 501 // <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix. 502 503 // <0=> Default 504 // <1=> Black 505 // <2=> Red 506 // <3=> Green 507 // <4=> Yellow 508 // <5=> Blue 509 // <6=> Magenta 510 // <7=> Cyan 511 // <8=> White 512 513 #ifndef NRFX_NFCT_CONFIG_INFO_COLOR 514 #define NRFX_NFCT_CONFIG_INFO_COLOR 0 515 #endif 516 517 // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 518 519 // <0=> Default 520 // <1=> Black 521 // <2=> Red 522 // <3=> Green 523 // <4=> Yellow 524 // <5=> Blue 525 // <6=> Magenta 526 // <7=> Cyan 527 // <8=> White 528 529 #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR 530 #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0 531 #endif 532 533 // </e> 534 535 // </e> 536 537 // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module 538 //========================================================== 539 #ifndef NRFX_PRS_ENABLED 540 #define NRFX_PRS_ENABLED 1 541 #endif 542 // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module. 543 544 545 #ifndef NRFX_PRS_BOX_0_ENABLED 546 #define NRFX_PRS_BOX_0_ENABLED 0 547 #endif 548 549 // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module. 550 551 552 #ifndef NRFX_PRS_BOX_1_ENABLED 553 #define NRFX_PRS_BOX_1_ENABLED 0 554 #endif 555 556 // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module. 557 558 559 #ifndef NRFX_PRS_BOX_2_ENABLED 560 #define NRFX_PRS_BOX_2_ENABLED 0 561 #endif 562 563 // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module. 564 565 566 #ifndef NRFX_PRS_BOX_3_ENABLED 567 #define NRFX_PRS_BOX_3_ENABLED 0 568 #endif 569 570 // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module. 571 572 573 #ifndef NRFX_PRS_BOX_4_ENABLED 574 #define NRFX_PRS_BOX_4_ENABLED 1 575 #endif 576 577 // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module. 578 //========================================================== 579 #ifndef NRFX_PRS_CONFIG_LOG_ENABLED 580 #define NRFX_PRS_CONFIG_LOG_ENABLED 0 581 #endif 582 // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level 583 584 // <0=> Off 585 // <1=> Error 586 // <2=> Warning 587 // <3=> Info 588 // <4=> Debug 589 590 #ifndef NRFX_PRS_CONFIG_LOG_LEVEL 591 #define NRFX_PRS_CONFIG_LOG_LEVEL 3 592 #endif 593 594 // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix. 595 596 // <0=> Default 597 // <1=> Black 598 // <2=> Red 599 // <3=> Green 600 // <4=> Yellow 601 // <5=> Blue 602 // <6=> Magenta 603 // <7=> Cyan 604 // <8=> White 605 606 #ifndef NRFX_PRS_CONFIG_INFO_COLOR 607 #define NRFX_PRS_CONFIG_INFO_COLOR 0 608 #endif 609 610 // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 611 612 // <0=> Default 613 // <1=> Black 614 // <2=> Red 615 // <3=> Green 616 // <4=> Yellow 617 // <5=> Blue 618 // <6=> Magenta 619 // <7=> Cyan 620 // <8=> White 621 622 #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR 623 #define NRFX_PRS_CONFIG_DEBUG_COLOR 0 624 #endif 625 626 // </e> 627 628 // </e> 629 630 // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver 631 //========================================================== 632 #ifndef NRFX_SAADC_ENABLED 633 #define NRFX_SAADC_ENABLED 1 634 #endif 635 // <o> NRFX_SAADC_CONFIG_RESOLUTION - Resolution 636 637 // <0=> 8 bit 638 // <1=> 10 bit 639 // <2=> 12 bit 640 // <3=> 14 bit 641 642 #ifndef NRFX_SAADC_CONFIG_RESOLUTION 643 #define NRFX_SAADC_CONFIG_RESOLUTION 1 644 #endif 645 646 // <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period 647 648 // <0=> Disabled 649 // <1=> 2x 650 // <2=> 4x 651 // <3=> 8x 652 // <4=> 16x 653 // <5=> 32x 654 // <6=> 64x 655 // <7=> 128x 656 // <8=> 256x 657 658 #ifndef NRFX_SAADC_CONFIG_OVERSAMPLE 659 #define NRFX_SAADC_CONFIG_OVERSAMPLE 0 660 #endif 661 662 // <q> NRFX_SAADC_CONFIG_LP_MODE - Enabling low power mode 663 664 665 #ifndef NRFX_SAADC_CONFIG_LP_MODE 666 #define NRFX_SAADC_CONFIG_LP_MODE 0 667 #endif 668 669 // <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority 670 671 // <0=> 0 (highest) 672 // <1=> 1 673 // <2=> 2 674 // <3=> 3 675 // <4=> 4 676 // <5=> 5 677 // <6=> 6 678 // <7=> 7 679 680 #ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY 681 #define NRFX_SAADC_CONFIG_IRQ_PRIORITY 6 682 #endif 683 684 // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module. 685 //========================================================== 686 #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED 687 #define NRFX_SAADC_CONFIG_LOG_ENABLED 0 688 #endif 689 // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default Severity level 690 691 // <0=> Off 692 // <1=> Error 693 // <2=> Warning 694 // <3=> Info 695 // <4=> Debug 696 697 #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL 698 #define NRFX_SAADC_CONFIG_LOG_LEVEL 3 699 #endif 700 701 // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix. 702 703 // <0=> Default 704 // <1=> Black 705 // <2=> Red 706 // <3=> Green 707 // <4=> Yellow 708 // <5=> Blue 709 // <6=> Magenta 710 // <7=> Cyan 711 // <8=> White 712 713 #ifndef NRFX_SAADC_CONFIG_INFO_COLOR 714 #define NRFX_SAADC_CONFIG_INFO_COLOR 0 715 #endif 716 717 // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 718 719 // <0=> Default 720 // <1=> Black 721 // <2=> Red 722 // <3=> Green 723 // <4=> Yellow 724 // <5=> Blue 725 // <6=> Magenta 726 // <7=> Cyan 727 // <8=> White 728 729 #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR 730 #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0 731 #endif 732 733 // </e> 734 735 // </e> 736 737 // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver 738 //========================================================== 739 #ifndef NRFX_TIMER_ENABLED 740 #define NRFX_TIMER_ENABLED 1 741 #endif 742 // <q> NRFX_TIMER0_ENABLED - Enable TIMER0 instance 743 744 745 #ifndef NRFX_TIMER0_ENABLED 746 #define NRFX_TIMER0_ENABLED 0 747 #endif 748 749 // <q> NRFX_TIMER1_ENABLED - Enable TIMER1 instance 750 751 752 #ifndef NRFX_TIMER1_ENABLED 753 #define NRFX_TIMER1_ENABLED 0 754 #endif 755 756 // <q> NRFX_TIMER2_ENABLED - Enable TIMER2 instance 757 758 759 #ifndef NRFX_TIMER2_ENABLED 760 #define NRFX_TIMER2_ENABLED 0 761 #endif 762 763 // <q> NRFX_TIMER3_ENABLED - Enable TIMER3 instance 764 765 766 #ifndef NRFX_TIMER3_ENABLED 767 #define NRFX_TIMER3_ENABLED 0 768 #endif 769 770 // <q> NRFX_TIMER4_ENABLED - Enable TIMER4 instance 771 772 773 #ifndef NRFX_TIMER4_ENABLED 774 #define NRFX_TIMER4_ENABLED 1 775 #endif 776 777 // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode 778 779 // <0=> 16 MHz 780 // <1=> 8 MHz 781 // <2=> 4 MHz 782 // <3=> 2 MHz 783 // <4=> 1 MHz 784 // <5=> 500 kHz 785 // <6=> 250 kHz 786 // <7=> 125 kHz 787 // <8=> 62.5 kHz 788 // <9=> 31.25 kHz 789 790 #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 791 #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0 792 #endif 793 794 // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation 795 796 // <0=> Timer 797 // <1=> Counter 798 799 #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE 800 #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0 801 #endif 802 803 // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width 804 805 // <0=> 16 bit 806 // <1=> 8 bit 807 // <2=> 24 bit 808 // <3=> 32 bit 809 810 #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 811 #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0 812 #endif 813 814 // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 815 816 // <0=> 0 (highest) 817 // <1=> 1 818 // <2=> 2 819 // <3=> 3 820 // <4=> 4 821 // <5=> 5 822 // <6=> 6 823 // <7=> 7 824 825 #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 826 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6 827 #endif 828 829 // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module. 830 //========================================================== 831 #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED 832 #define NRFX_TIMER_CONFIG_LOG_ENABLED 0 833 #endif 834 // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default Severity level 835 836 // <0=> Off 837 // <1=> Error 838 // <2=> Warning 839 // <3=> Info 840 // <4=> Debug 841 842 #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL 843 #define NRFX_TIMER_CONFIG_LOG_LEVEL 3 844 #endif 845 846 // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix. 847 848 // <0=> Default 849 // <1=> Black 850 // <2=> Red 851 // <3=> Green 852 // <4=> Yellow 853 // <5=> Blue 854 // <6=> Magenta 855 // <7=> Cyan 856 // <8=> White 857 858 #ifndef NRFX_TIMER_CONFIG_INFO_COLOR 859 #define NRFX_TIMER_CONFIG_INFO_COLOR 0 860 #endif 861 862 // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 863 864 // <0=> Default 865 // <1=> Black 866 // <2=> Red 867 // <3=> Green 868 // <4=> Yellow 869 // <5=> Blue 870 // <6=> Magenta 871 // <7=> Cyan 872 // <8=> White 873 874 #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR 875 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0 876 #endif 877 878 // </e> 879 880 // </e> 881 882 // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver 883 //========================================================== 884 #ifndef NRFX_PWM_ENABLED 885 #define NRFX_PWM_ENABLED 1 886 #endif 887 // <q> NRFX_PWM0_ENABLED - Enable PWM0 instance 888 889 890 #ifndef NRFX_PWM0_ENABLED 891 #define NRFX_PWM0_ENABLED 1 892 #endif 893 894 // <q> NRFX_PWM1_ENABLED - Enable PWM1 instance 895 896 897 #ifndef NRFX_PWM1_ENABLED 898 #define NRFX_PWM1_ENABLED 0 899 #endif 900 901 // <q> NRFX_PWM2_ENABLED - Enable PWM2 instance 902 903 904 #ifndef NRFX_PWM2_ENABLED 905 #define NRFX_PWM2_ENABLED 0 906 #endif 907 908 // <q> NRFX_PWM3_ENABLED - Enable PWM3 instance 909 910 911 #ifndef NRFX_PWM3_ENABLED 912 #define NRFX_PWM3_ENABLED 0 913 #endif 914 915 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31> 916 917 918 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 919 #define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN NRFX_PWM_PIN_NOT_USED 920 #endif 921 922 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31> 923 924 925 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 926 #define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN NRFX_PWM_PIN_NOT_USED 927 #endif 928 929 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31> 930 931 932 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 933 #define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN NRFX_PWM_PIN_NOT_USED 934 #endif 935 936 // <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31> 937 938 939 #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 940 #define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN NRFX_PWM_PIN_NOT_USED 941 #endif 942 943 // <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock 944 945 // <0=> 16 MHz 946 // <1=> 8 MHz 947 // <2=> 4 MHz 948 // <3=> 2 MHz 949 // <4=> 1 MHz 950 // <5=> 500 kHz 951 // <6=> 250 kHz 952 // <7=> 125 kHz 953 954 #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 955 #define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4 956 #endif 957 958 // <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode 959 960 // <0=> Up 961 // <1=> Up and Down 962 963 #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 964 #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0 965 #endif 966 967 // <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value 968 #ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 969 #define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000 970 #endif 971 972 // <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode 973 974 // <0=> Common 975 // <1=> Grouped 976 // <2=> Individual 977 // <3=> Waveform 978 979 #ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 980 #define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0 981 #endif 982 983 // <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE - Step mode 984 985 // <0=> Auto 986 // <1=> Triggered 987 988 #ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 989 #define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0 990 #endif 991 992 // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 993 994 // <0=> 0 (highest) 995 // <1=> 1 996 // <2=> 2 997 // <3=> 3 998 // <4=> 4 999 // <5=> 5 1000 // <6=> 6 1001 // <7=> 7 1002 1003 #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 1004 #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6 1005 #endif 1006 1007 // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module. 1008 //========================================================== 1009 #ifndef NRFX_PWM_CONFIG_LOG_ENABLED 1010 #define NRFX_PWM_CONFIG_LOG_ENABLED 0 1011 #endif 1012 // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default Severity level 1013 1014 // <0=> Off 1015 // <1=> Error 1016 // <2=> Warning 1017 // <3=> Info 1018 // <4=> Debug 1019 1020 #ifndef NRFX_PWM_CONFIG_LOG_LEVEL 1021 #define NRFX_PWM_CONFIG_LOG_LEVEL 3 1022 #endif 1023 1024 // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix. 1025 1026 // <0=> Default 1027 // <1=> Black 1028 // <2=> Red 1029 // <3=> Green 1030 // <4=> Yellow 1031 // <5=> Blue 1032 // <6=> Magenta 1033 // <7=> Cyan 1034 // <8=> White 1035 1036 #ifndef NRFX_PWM_CONFIG_INFO_COLOR 1037 #define NRFX_PWM_CONFIG_INFO_COLOR 0 1038 #endif 1039 1040 // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1041 1042 // <0=> Default 1043 // <1=> Black 1044 // <2=> Red 1045 // <3=> Green 1046 // <4=> Yellow 1047 // <5=> Blue 1048 // <6=> Magenta 1049 // <7=> Cyan 1050 // <8=> White 1051 1052 #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR 1053 #define NRFX_PWM_CONFIG_DEBUG_COLOR 0 1054 #endif 1055 1056 // </e> 1057 1058 // </e> 1059 1060 // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver 1061 //========================================================== 1062 #ifndef NRFX_UARTE_ENABLED 1063 #define NRFX_UARTE_ENABLED 1 1064 #endif 1065 // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance 1066 #ifndef NRFX_UARTE0_ENABLED 1067 #define NRFX_UARTE0_ENABLED 0 1068 #endif 1069 1070 // <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance 1071 #ifndef NRFX_UARTE1_ENABLED 1072 #define NRFX_UARTE1_ENABLED 0 1073 #endif 1074 1075 // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control 1076 1077 // <0=> Disabled 1078 // <1=> Enabled 1079 1080 #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC 1081 #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0 1082 #endif 1083 1084 // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity 1085 1086 // <0=> Excluded 1087 // <14=> Included 1088 1089 #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY 1090 #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0 1091 #endif 1092 1093 // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate 1094 1095 // <323584=> 1200 baud 1096 // <643072=> 2400 baud 1097 // <1290240=> 4800 baud 1098 // <2576384=> 9600 baud 1099 // <3862528=> 14400 baud 1100 // <5152768=> 19200 baud 1101 // <7716864=> 28800 baud 1102 // <8388608=> 31250 baud 1103 // <10289152=> 38400 baud 1104 // <15007744=> 56000 baud 1105 // <15400960=> 57600 baud 1106 // <20615168=> 76800 baud 1107 // <30801920=> 115200 baud 1108 // <61865984=> 230400 baud 1109 // <67108864=> 250000 baud 1110 // <121634816=> 460800 baud 1111 // <251658240=> 921600 baud 1112 // <268435456=> 1000000 baud 1113 1114 #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 1115 #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920 1116 #endif 1117 1118 // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1119 1120 // <0=> 0 (highest) 1121 // <1=> 1 1122 // <2=> 2 1123 // <3=> 3 1124 // <4=> 4 1125 // <5=> 5 1126 // <6=> 6 1127 // <7=> 7 1128 1129 #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 1130 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 6 1131 #endif 1132 1133 // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module. 1134 //========================================================== 1135 #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED 1136 #define NRFX_UARTE_CONFIG_LOG_ENABLED 0 1137 #endif 1138 // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level 1139 1140 // <0=> Off 1141 // <1=> Error 1142 // <2=> Warning 1143 // <3=> Info 1144 // <4=> Debug 1145 1146 #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL 1147 #define NRFX_UARTE_CONFIG_LOG_LEVEL 3 1148 #endif 1149 1150 // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 1151 1152 // <0=> Default 1153 // <1=> Black 1154 // <2=> Red 1155 // <3=> Green 1156 // <4=> Yellow 1157 // <5=> Blue 1158 // <6=> Magenta 1159 // <7=> Cyan 1160 // <8=> White 1161 1162 #ifndef NRFX_UARTE_CONFIG_INFO_COLOR 1163 #define NRFX_UARTE_CONFIG_INFO_COLOR 0 1164 #endif 1165 1166 // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1167 1168 // <0=> Default 1169 // <1=> Black 1170 // <2=> Red 1171 // <3=> Green 1172 // <4=> Yellow 1173 // <5=> Blue 1174 // <6=> Magenta 1175 // <7=> Cyan 1176 // <8=> White 1177 1178 #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR 1179 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0 1180 #endif 1181 1182 // </e> 1183 1184 // </e> 1185 1186 // <e> SPI_ENABLED - nrf_drv_spi - SPI/SPIM peripheral driver - legacy layer 1187 //========================================================== 1188 #ifndef SPI_ENABLED 1189 #define SPI_ENABLED 1 1190 #endif 1191 // <o> SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1192 1193 1194 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1195 // <0=> 0 (highest) 1196 // <1=> 1 1197 // <2=> 2 1198 // <3=> 3 1199 // <4=> 4 1200 // <5=> 5 1201 // <6=> 6 1202 // <7=> 7 1203 1204 #ifndef SPI_DEFAULT_CONFIG_IRQ_PRIORITY 1205 #define SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6 1206 #endif 1207 1208 // <o> NRF_SPI_DRV_MISO_PULLUP_CFG - MISO PIN pull-up configuration. 1209 1210 // <0=> NRF_GPIO_PIN_NOPULL 1211 // <1=> NRF_GPIO_PIN_PULLDOWN 1212 // <3=> NRF_GPIO_PIN_PULLUP 1213 1214 #ifndef NRF_SPI_DRV_MISO_PULLUP_CFG 1215 #define NRF_SPI_DRV_MISO_PULLUP_CFG 1 1216 #endif 1217 1218 // <e> SPI0_ENABLED - Enable SPI0 instance 1219 //========================================================== 1220 #ifndef SPI0_ENABLED 1221 #define SPI0_ENABLED 1 1222 #endif 1223 // <q> SPI0_USE_EASY_DMA - Use EasyDMA 1224 1225 1226 #ifndef SPI0_USE_EASY_DMA 1227 #define SPI0_USE_EASY_DMA 1 1228 #endif 1229 1230 // </e> 1231 1232 // <e> SPI1_ENABLED - Enable SPI1 instance 1233 //========================================================== 1234 #ifndef SPI1_ENABLED 1235 #define SPI1_ENABLED 1 1236 #endif 1237 // <q> SPI1_USE_EASY_DMA - Use EasyDMA 1238 1239 1240 #ifndef SPI1_USE_EASY_DMA 1241 #define SPI1_USE_EASY_DMA 1 1242 #endif 1243 1244 // </e> 1245 1246 // <e> SPI2_ENABLED - Enable SPI2 instance 1247 //========================================================== 1248 #ifndef SPI2_ENABLED 1249 #define SPI2_ENABLED 1 1250 #endif 1251 // <q> SPI2_USE_EASY_DMA - Use EasyDMA 1252 1253 1254 #ifndef SPI2_USE_EASY_DMA 1255 #define SPI2_USE_EASY_DMA 1 1256 #endif 1257 1258 // </e> 1259 1260 // </e> 1261 1262 // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver 1263 //========================================================== 1264 #ifndef NRFX_UART_ENABLED 1265 #define NRFX_UART_ENABLED 1 1266 #endif 1267 // <o> NRFX_UART0_ENABLED - Enable UART0 instance 1268 #ifndef NRFX_UART0_ENABLED 1269 #define NRFX_UART0_ENABLED 0 1270 #endif 1271 1272 // <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control 1273 1274 // <0=> Disabled 1275 // <1=> Enabled 1276 1277 #ifndef NRFX_UART_DEFAULT_CONFIG_HWFC 1278 #define NRFX_UART_DEFAULT_CONFIG_HWFC 0 1279 #endif 1280 1281 // <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity 1282 1283 // <0=> Excluded 1284 // <14=> Included 1285 1286 #ifndef NRFX_UART_DEFAULT_CONFIG_PARITY 1287 #define NRFX_UART_DEFAULT_CONFIG_PARITY 0 1288 #endif 1289 1290 // <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate 1291 1292 // <323584=> 1200 baud 1293 // <643072=> 2400 baud 1294 // <1290240=> 4800 baud 1295 // <2576384=> 9600 baud 1296 // <3866624=> 14400 baud 1297 // <5152768=> 19200 baud 1298 // <7729152=> 28800 baud 1299 // <8388608=> 31250 baud 1300 // <10309632=> 38400 baud 1301 // <15007744=> 56000 baud 1302 // <15462400=> 57600 baud 1303 // <20615168=> 76800 baud 1304 // <30924800=> 115200 baud 1305 // <61845504=> 230400 baud 1306 // <67108864=> 250000 baud 1307 // <123695104=> 460800 baud 1308 // <247386112=> 921600 baud 1309 // <268435456=> 1000000 baud 1310 1311 #ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE 1312 #define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800 1313 #endif 1314 1315 // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1316 1317 // <0=> 0 (highest) 1318 // <1=> 1 1319 // <2=> 2 1320 // <3=> 3 1321 // <4=> 4 1322 // <5=> 5 1323 // <6=> 6 1324 // <7=> 7 1325 1326 #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 1327 #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 6 1328 #endif 1329 1330 // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module. 1331 //========================================================== 1332 #ifndef NRFX_UART_CONFIG_LOG_ENABLED 1333 #define NRFX_UART_CONFIG_LOG_ENABLED 0 1334 #endif 1335 // <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level 1336 1337 // <0=> Off 1338 // <1=> Error 1339 // <2=> Warning 1340 // <3=> Info 1341 // <4=> Debug 1342 1343 #ifndef NRFX_UART_CONFIG_LOG_LEVEL 1344 #define NRFX_UART_CONFIG_LOG_LEVEL 3 1345 #endif 1346 1347 // <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix. 1348 1349 // <0=> Default 1350 // <1=> Black 1351 // <2=> Red 1352 // <3=> Green 1353 // <4=> Yellow 1354 // <5=> Blue 1355 // <6=> Magenta 1356 // <7=> Cyan 1357 // <8=> White 1358 1359 #ifndef NRFX_UART_CONFIG_INFO_COLOR 1360 #define NRFX_UART_CONFIG_INFO_COLOR 0 1361 #endif 1362 1363 // <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 1364 1365 // <0=> Default 1366 // <1=> Black 1367 // <2=> Red 1368 // <3=> Green 1369 // <4=> Yellow 1370 // <5=> Blue 1371 // <6=> Magenta 1372 // <7=> Cyan 1373 // <8=> White 1374 1375 #ifndef NRFX_UART_CONFIG_DEBUG_COLOR 1376 #define NRFX_UART_CONFIG_DEBUG_COLOR 0 1377 #endif 1378 1379 // </e> 1380 1381 // </e> 1382 1383 // <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer 1384 //========================================================== 1385 #ifndef NRF_CLOCK_ENABLED 1386 #define NRF_CLOCK_ENABLED 1 1387 #endif 1388 // <o> CLOCK_CONFIG_LF_SRC - LF Clock Source 1389 1390 // <0=> RC 1391 // <1=> XTAL 1392 // <2=> Synth 1393 // <131073=> External Low Swing 1394 // <196609=> External Full Swing 1395 1396 #ifndef CLOCK_CONFIG_LF_SRC 1397 #define CLOCK_CONFIG_LF_SRC 1 1398 #endif 1399 1400 // <q> CLOCK_CONFIG_LF_CAL_ENABLED - Calibration enable for LF Clock Source 1401 1402 1403 #ifndef CLOCK_CONFIG_LF_CAL_ENABLED 1404 #define CLOCK_CONFIG_LF_CAL_ENABLED 0 1405 #endif 1406 1407 // <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority 1408 1409 1410 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1411 // <0=> 0 (highest) 1412 // <1=> 1 1413 // <2=> 2 1414 // <3=> 3 1415 // <4=> 4 1416 // <5=> 5 1417 // <6=> 6 1418 // <7=> 7 1419 1420 #ifndef CLOCK_CONFIG_IRQ_PRIORITY 1421 #define CLOCK_CONFIG_IRQ_PRIORITY 6 1422 #endif 1423 1424 // </e> 1425 1426 // <e> PWM_ENABLED - nrf_drv_pwm - PWM peripheral driver - legacy layer 1427 //========================================================== 1428 #ifndef PWM_ENABLED 1429 #define PWM_ENABLED 1 1430 #endif 1431 // <o> PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31> 1432 1433 1434 #ifndef PWM_DEFAULT_CONFIG_OUT0_PIN 1435 #define PWM_DEFAULT_CONFIG_OUT0_PIN NRFX_PWM_PIN_NOT_USED 1436 #endif 1437 1438 // <o> PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31> 1439 1440 1441 #ifndef PWM_DEFAULT_CONFIG_OUT1_PIN 1442 #define PWM_DEFAULT_CONFIG_OUT1_PIN NRFX_PWM_PIN_NOT_USED 1443 #endif 1444 1445 // <o> PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31> 1446 1447 1448 #ifndef PWM_DEFAULT_CONFIG_OUT2_PIN 1449 #define PWM_DEFAULT_CONFIG_OUT2_PIN NRFX_PWM_PIN_NOT_USED 1450 #endif 1451 1452 // <o> PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31> 1453 1454 1455 #ifndef PWM_DEFAULT_CONFIG_OUT3_PIN 1456 #define PWM_DEFAULT_CONFIG_OUT3_PIN NRFX_PWM_PIN_NOT_USED 1457 #endif 1458 1459 // <o> PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock 1460 1461 // <0=> 16 MHz 1462 // <1=> 8 MHz 1463 // <2=> 4 MHz 1464 // <3=> 2 MHz 1465 // <4=> 1 MHz 1466 // <5=> 500 kHz 1467 // <6=> 250 kHz 1468 // <7=> 125 kHz 1469 1470 #ifndef PWM_DEFAULT_CONFIG_BASE_CLOCK 1471 #define PWM_DEFAULT_CONFIG_BASE_CLOCK 4 1472 #endif 1473 1474 // <o> PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode 1475 1476 // <0=> Up 1477 // <1=> Up and Down 1478 1479 #ifndef PWM_DEFAULT_CONFIG_COUNT_MODE 1480 #define PWM_DEFAULT_CONFIG_COUNT_MODE 0 1481 #endif 1482 1483 // <o> PWM_DEFAULT_CONFIG_TOP_VALUE - Top value 1484 #ifndef PWM_DEFAULT_CONFIG_TOP_VALUE 1485 #define PWM_DEFAULT_CONFIG_TOP_VALUE 1000 1486 #endif 1487 1488 // <o> PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode 1489 1490 // <0=> Common 1491 // <1=> Grouped 1492 // <2=> Individual 1493 // <3=> Waveform 1494 1495 #ifndef PWM_DEFAULT_CONFIG_LOAD_MODE 1496 #define PWM_DEFAULT_CONFIG_LOAD_MODE 0 1497 #endif 1498 1499 // <o> PWM_DEFAULT_CONFIG_STEP_MODE - Step mode 1500 1501 // <0=> Auto 1502 // <1=> Triggered 1503 1504 #ifndef PWM_DEFAULT_CONFIG_STEP_MODE 1505 #define PWM_DEFAULT_CONFIG_STEP_MODE 0 1506 #endif 1507 1508 // <o> PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1509 1510 1511 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1512 // <0=> 0 (highest) 1513 // <1=> 1 1514 // <2=> 2 1515 // <3=> 3 1516 // <4=> 4 1517 // <5=> 5 1518 // <6=> 6 1519 // <7=> 7 1520 1521 #ifndef PWM_DEFAULT_CONFIG_IRQ_PRIORITY 1522 #define PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6 1523 #endif 1524 1525 // <q> PWM0_ENABLED - Enable PWM0 instance 1526 1527 1528 #ifndef PWM0_ENABLED 1529 #define PWM0_ENABLED 1 1530 #endif 1531 1532 // <q> PWM1_ENABLED - Enable PWM1 instance 1533 1534 1535 #ifndef PWM1_ENABLED 1536 #define PWM1_ENABLED 0 1537 #endif 1538 1539 // <q> PWM2_ENABLED - Enable PWM2 instance 1540 1541 1542 #ifndef PWM2_ENABLED 1543 #define PWM2_ENABLED 0 1544 #endif 1545 1546 // <q> PWM3_ENABLED - Enable PWM3 instance 1547 1548 1549 #ifndef PWM3_ENABLED 1550 #define PWM3_ENABLED 0 1551 #endif 1552 1553 // </e> 1554 1555 // </e> 1556 1557 // <e> SAADC_ENABLED - nrf_drv_saadc - SAADC peripheral driver - legacy layer 1558 //========================================================== 1559 #ifndef SAADC_ENABLED 1560 #define SAADC_ENABLED 1 1561 #endif 1562 // <o> SAADC_CONFIG_RESOLUTION - Resolution 1563 1564 // <0=> 8 bit 1565 // <1=> 10 bit 1566 // <2=> 12 bit 1567 // <3=> 14 bit 1568 1569 #ifndef SAADC_CONFIG_RESOLUTION 1570 #define SAADC_CONFIG_RESOLUTION 1 1571 #endif 1572 1573 // <o> SAADC_CONFIG_OVERSAMPLE - Sample period 1574 1575 // <0=> Disabled 1576 // <1=> 2x 1577 // <2=> 4x 1578 // <3=> 8x 1579 // <4=> 16x 1580 // <5=> 32x 1581 // <6=> 64x 1582 // <7=> 128x 1583 // <8=> 256x 1584 1585 #ifndef SAADC_CONFIG_OVERSAMPLE 1586 #define SAADC_CONFIG_OVERSAMPLE 0 1587 #endif 1588 1589 // <q> SAADC_CONFIG_LP_MODE - Enabling low power mode 1590 1591 1592 #ifndef SAADC_CONFIG_LP_MODE 1593 #define SAADC_CONFIG_LP_MODE 0 1594 #endif 1595 1596 // <o> SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority 1597 1598 1599 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1600 // <0=> 0 (highest) 1601 // <1=> 1 1602 // <2=> 2 1603 // <3=> 3 1604 // <4=> 4 1605 // <5=> 5 1606 // <6=> 6 1607 // <7=> 7 1608 1609 #ifndef SAADC_CONFIG_IRQ_PRIORITY 1610 #define SAADC_CONFIG_IRQ_PRIORITY 6 1611 #endif 1612 1613 // </e> 1614 1615 // <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer 1616 //========================================================== 1617 #ifndef TIMER_ENABLED 1618 #define TIMER_ENABLED 1 1619 #endif 1620 // <o> TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode 1621 1622 // <0=> 16 MHz 1623 // <1=> 8 MHz 1624 // <2=> 4 MHz 1625 // <3=> 2 MHz 1626 // <4=> 1 MHz 1627 // <5=> 500 kHz 1628 // <6=> 250 kHz 1629 // <7=> 125 kHz 1630 // <8=> 62.5 kHz 1631 // <9=> 31.25 kHz 1632 1633 #ifndef TIMER_DEFAULT_CONFIG_FREQUENCY 1634 #define TIMER_DEFAULT_CONFIG_FREQUENCY 0 1635 #endif 1636 1637 // <o> TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation 1638 1639 // <0=> Timer 1640 // <1=> Counter 1641 1642 #ifndef TIMER_DEFAULT_CONFIG_MODE 1643 #define TIMER_DEFAULT_CONFIG_MODE 0 1644 #endif 1645 1646 // <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width 1647 1648 // <0=> 16 bit 1649 // <1=> 8 bit 1650 // <2=> 24 bit 1651 // <3=> 32 bit 1652 1653 #ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH 1654 #define TIMER_DEFAULT_CONFIG_BIT_WIDTH 0 1655 #endif 1656 1657 // <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1658 1659 1660 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1661 // <0=> 0 (highest) 1662 // <1=> 1 1663 // <2=> 2 1664 // <3=> 3 1665 // <4=> 4 1666 // <5=> 5 1667 // <6=> 6 1668 // <7=> 7 1669 1670 #ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 1671 #define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6 1672 #endif 1673 1674 // <q> TIMER0_ENABLED - Enable TIMER0 instance 1675 1676 1677 #ifndef TIMER0_ENABLED 1678 #define TIMER0_ENABLED 1 1679 #endif 1680 1681 // <q> TIMER1_ENABLED - Enable TIMER1 instance 1682 1683 1684 #ifndef TIMER1_ENABLED 1685 #define TIMER1_ENABLED 0 1686 #endif 1687 1688 // <q> TIMER2_ENABLED - Enable TIMER2 instance 1689 1690 1691 #ifndef TIMER2_ENABLED 1692 #define TIMER2_ENABLED 0 1693 #endif 1694 1695 // <q> TIMER3_ENABLED - Enable TIMER3 instance 1696 1697 1698 #ifndef TIMER3_ENABLED 1699 #define TIMER3_ENABLED 0 1700 #endif 1701 1702 // <q> TIMER4_ENABLED - Enable TIMER4 instance 1703 1704 1705 #ifndef TIMER4_ENABLED 1706 #define TIMER4_ENABLED 1 1707 #endif 1708 1709 // </e> 1710 1711 // <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer 1712 //========================================================== 1713 #ifndef UART_ENABLED 1714 #define UART_ENABLED 1 1715 #endif 1716 // <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control 1717 1718 // <0=> Disabled 1719 // <1=> Enabled 1720 1721 #ifndef UART_DEFAULT_CONFIG_HWFC 1722 #define UART_DEFAULT_CONFIG_HWFC 0 1723 #endif 1724 1725 // <o> UART_DEFAULT_CONFIG_PARITY - Parity 1726 1727 // <0=> Excluded 1728 // <14=> Included 1729 1730 #ifndef UART_DEFAULT_CONFIG_PARITY 1731 #define UART_DEFAULT_CONFIG_PARITY 0 1732 #endif 1733 1734 // <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate 1735 1736 // <323584=> 1200 baud 1737 // <643072=> 2400 baud 1738 // <1290240=> 4800 baud 1739 // <2576384=> 9600 baud 1740 // <3862528=> 14400 baud 1741 // <5152768=> 19200 baud 1742 // <7716864=> 28800 baud 1743 // <10289152=> 38400 baud 1744 // <15400960=> 57600 baud 1745 // <20615168=> 76800 baud 1746 // <30801920=> 115200 baud 1747 // <61865984=> 230400 baud 1748 // <67108864=> 250000 baud 1749 // <121634816=> 460800 baud 1750 // <251658240=> 921600 baud 1751 // <268435456=> 1000000 baud 1752 1753 #ifndef UART_DEFAULT_CONFIG_BAUDRATE 1754 #define UART_DEFAULT_CONFIG_BAUDRATE 30801920 1755 #endif 1756 1757 // <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 1758 1759 1760 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1761 // <0=> 0 (highest) 1762 // <1=> 1 1763 // <2=> 2 1764 // <3=> 3 1765 // <4=> 4 1766 // <5=> 5 1767 // <6=> 6 1768 // <7=> 7 1769 1770 #ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY 1771 #define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6 1772 #endif 1773 1774 // <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA 1775 1776 1777 #ifndef UART_EASY_DMA_SUPPORT 1778 #define UART_EASY_DMA_SUPPORT 1 1779 #endif 1780 1781 // <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode 1782 1783 1784 #ifndef UART_LEGACY_SUPPORT 1785 #define UART_LEGACY_SUPPORT 1 1786 #endif 1787 1788 // <e> UART0_ENABLED - Enable UART0 instance 1789 //========================================================== 1790 #ifndef UART0_ENABLED 1791 #define UART0_ENABLED 1 1792 #endif 1793 // <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA 1794 1795 1796 #ifndef UART0_CONFIG_USE_EASY_DMA 1797 #define UART0_CONFIG_USE_EASY_DMA 1 1798 #endif 1799 1800 // </e> 1801 1802 // <e> UART1_ENABLED - Enable UART1 instance 1803 //========================================================== 1804 #ifndef UART1_ENABLED 1805 #define UART1_ENABLED 0 1806 #endif 1807 // </e> 1808 1809 // </e> 1810 1811 // <e> WDT_ENABLED - nrf_drv_wdt - WDT peripheral driver - legacy layer 1812 //========================================================== 1813 #ifndef WDT_ENABLED 1814 #define WDT_ENABLED 1 1815 #endif 1816 // <o> WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode 1817 1818 // <1=> Run in SLEEP, Pause in HALT 1819 // <8=> Pause in SLEEP, Run in HALT 1820 // <9=> Run in SLEEP and HALT 1821 // <0=> Pause in SLEEP and HALT 1822 1823 #ifndef WDT_CONFIG_BEHAVIOUR 1824 #define WDT_CONFIG_BEHAVIOUR 1 1825 #endif 1826 1827 // <o> WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295> 1828 1829 1830 #ifndef WDT_CONFIG_RELOAD_VALUE 1831 #define WDT_CONFIG_RELOAD_VALUE 2000 1832 #endif 1833 1834 // <o> WDT_CONFIG_IRQ_PRIORITY - Interrupt priority 1835 1836 1837 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1838 // <0=> 0 (highest) 1839 // <1=> 1 1840 // <2=> 2 1841 // <3=> 3 1842 // <4=> 4 1843 // <5=> 5 1844 // <6=> 6 1845 // <7=> 7 1846 1847 #ifndef WDT_CONFIG_IRQ_PRIORITY 1848 #define WDT_CONFIG_IRQ_PRIORITY 6 1849 #endif 1850 1851 // </e> 1852 1853 // </h> 1854 //========================================================== 1855 1856 // <h> nRF_Libraries 1857 1858 //========================================================== 1859 // <q> APP_FIFO_ENABLED - app_fifo - Software FIFO implementation 1860 1861 1862 #ifndef APP_FIFO_ENABLED 1863 #define APP_FIFO_ENABLED 1 1864 #endif 1865 1866 // <e> APP_SCHEDULER_ENABLED - app_scheduler - Events scheduler 1867 //========================================================== 1868 #ifndef APP_SCHEDULER_ENABLED 1869 #define APP_SCHEDULER_ENABLED 1 1870 #endif 1871 // <q> APP_SCHEDULER_WITH_PAUSE - Enabling pause feature 1872 1873 1874 #ifndef APP_SCHEDULER_WITH_PAUSE 1875 #define APP_SCHEDULER_WITH_PAUSE 0 1876 #endif 1877 1878 // <q> APP_SCHEDULER_WITH_PROFILER - Enabling scheduler profiling 1879 1880 1881 #ifndef APP_SCHEDULER_WITH_PROFILER 1882 #define APP_SCHEDULER_WITH_PROFILER 0 1883 #endif 1884 1885 // </e> 1886 1887 // <e> APP_SDCARD_ENABLED - app_sdcard - SD/MMC card support using SPI 1888 //========================================================== 1889 #ifndef APP_SDCARD_ENABLED 1890 #define APP_SDCARD_ENABLED 1 1891 #endif 1892 // <o> APP_SDCARD_SPI_INSTANCE - SPI instance used 1893 1894 // <0=> 0 1895 // <1=> 1 1896 // <2=> 2 1897 1898 #ifndef APP_SDCARD_SPI_INSTANCE 1899 #define APP_SDCARD_SPI_INSTANCE 0 1900 #endif 1901 1902 // <o> APP_SDCARD_FREQ_INIT - SPI frequency 1903 1904 // <33554432=> 125 kHz 1905 // <67108864=> 250 kHz 1906 // <134217728=> 500 kHz 1907 // <268435456=> 1 MHz 1908 // <536870912=> 2 MHz 1909 // <1073741824=> 4 MHz 1910 // <2147483648=> 8 MHz 1911 1912 #ifndef APP_SDCARD_FREQ_INIT 1913 #define APP_SDCARD_FREQ_INIT 2147483648 1914 #endif 1915 1916 // <o> APP_SDCARD_FREQ_DATA - SPI frequency 1917 1918 // <33554432=> 125 kHz 1919 // <67108864=> 250 kHz 1920 // <134217728=> 500 kHz 1921 // <268435456=> 1 MHz 1922 // <536870912=> 2 MHz 1923 // <1073741824=> 4 MHz 1924 // <2147483648=> 8 MHz 1925 1926 #ifndef APP_SDCARD_FREQ_DATA 1927 #define APP_SDCARD_FREQ_DATA 2147483648 1928 #endif 1929 1930 // </e> 1931 1932 // <e> APP_TIMER_ENABLED - app_timer - Application timer functionality 1933 //========================================================== 1934 #ifndef APP_TIMER_ENABLED 1935 #define APP_TIMER_ENABLED 1 1936 #endif 1937 // <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler. 1938 1939 // <0=> 32768 Hz 1940 // <1=> 16384 Hz 1941 // <3=> 8192 Hz 1942 // <7=> 4096 Hz 1943 // <15=> 2048 Hz 1944 // <31=> 1024 Hz 1945 1946 #ifndef APP_TIMER_CONFIG_RTC_FREQUENCY 1947 #define APP_TIMER_CONFIG_RTC_FREQUENCY 1 1948 #endif 1949 1950 // <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority 1951 1952 1953 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 1954 // <0=> 0 (highest) 1955 // <1=> 1 1956 // <2=> 2 1957 // <3=> 3 1958 // <4=> 4 1959 // <5=> 5 1960 // <6=> 6 1961 // <7=> 7 1962 1963 #ifndef APP_TIMER_CONFIG_IRQ_PRIORITY 1964 #define APP_TIMER_CONFIG_IRQ_PRIORITY 6 1965 #endif 1966 1967 // <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue. 1968 // <i> Size of the queue depends on how many timers are used 1969 // <i> in the system, how often timers are started and overall 1970 // <i> system latency. If queue size is too small app_timer calls 1971 // <i> will fail. 1972 1973 #ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE 1974 #define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10 1975 #endif 1976 1977 // <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler 1978 1979 1980 #ifndef APP_TIMER_CONFIG_USE_SCHEDULER 1981 #define APP_TIMER_CONFIG_USE_SCHEDULER 0 1982 #endif 1983 1984 // <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on 1985 1986 1987 // <i> If option is enabled RTC is kept running even if there is no active timers. 1988 // <i> This option can be used when app_timer is used for timestamping. 1989 1990 #ifndef APP_TIMER_KEEPS_RTC_ACTIVE 1991 #define APP_TIMER_KEEPS_RTC_ACTIVE 0 1992 #endif 1993 1994 // <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event. 1995 // <i> Maximum possible timeout that can be set is reduced by safe window. 1996 // <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS. 1997 // <i> Since RTC is not stopped when processor is halted in debugging session, this value 1998 // <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS 1999 // <i> without corrupting app_timer behavior. 2000 2001 #ifndef APP_TIMER_SAFE_WINDOW_MS 2002 #define APP_TIMER_SAFE_WINDOW_MS 300000 2003 #endif 2004 2005 // <h> App Timer Legacy configuration - Legacy configuration. 2006 2007 //========================================================== 2008 // <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling 2009 2010 2011 #ifndef APP_TIMER_WITH_PROFILER 2012 #define APP_TIMER_WITH_PROFILER 0 2013 #endif 2014 2015 // <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used. 2016 2017 2018 #ifndef APP_TIMER_CONFIG_SWI_NUMBER 2019 #define APP_TIMER_CONFIG_SWI_NUMBER 0 2020 #endif 2021 2022 // </h> 2023 //========================================================== 2024 2025 // </e> 2026 2027 // <e> APP_UART_ENABLED - app_uart - UART driver 2028 //========================================================== 2029 #ifndef APP_UART_ENABLED 2030 #define APP_UART_ENABLED 1 2031 #endif 2032 // <o> APP_UART_DRIVER_INSTANCE - UART instance used 2033 2034 // <0=> 0 2035 2036 #ifndef APP_UART_DRIVER_INSTANCE 2037 #define APP_UART_DRIVER_INSTANCE 0 2038 #endif 2039 2040 // </e> 2041 2042 // <q> HARDFAULT_HANDLER_ENABLED - hardfault_default - HardFault default handler for debugging and release 2043 2044 2045 #ifndef HARDFAULT_HANDLER_ENABLED 2046 #define HARDFAULT_HANDLER_ENABLED 1 2047 #endif 2048 2049 // <q> LOW_POWER_PWM_ENABLED - low_power_pwm - low_power_pwm module 2050 2051 2052 #ifndef LOW_POWER_PWM_ENABLED 2053 #define LOW_POWER_PWM_ENABLED 1 2054 #endif 2055 2056 // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module 2057 //========================================================== 2058 #ifndef NRF_BALLOC_ENABLED 2059 #define NRF_BALLOC_ENABLED 1 2060 #endif 2061 2062 // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module. 2063 //========================================================== 2064 #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED 2065 #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0 2066 #endif 2067 // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255> 2068 2069 2070 #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 2071 #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1 2072 #endif 2073 2074 // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255> 2075 2076 2077 #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 2078 #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1 2079 #endif 2080 2081 // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module. 2082 2083 2084 #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 2085 #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0 2086 #endif 2087 2088 // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module. 2089 2090 2091 #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 2092 #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0 2093 #endif 2094 2095 // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module. 2096 2097 2098 #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 2099 #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0 2100 #endif 2101 2102 // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module 2103 2104 2105 #ifndef NRF_BALLOC_CLI_CMDS 2106 #define NRF_BALLOC_CLI_CMDS 0 2107 #endif 2108 2109 // </e> 2110 2111 // </e> 2112 2113 // <q> NRF_GFX_ENABLED - nrf_gfx - GFX module 2114 2115 2116 #ifndef NRF_GFX_ENABLED 2117 #define NRF_GFX_ENABLED 1 2118 #endif 2119 2120 // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module 2121 2122 2123 #ifndef NRF_MEMOBJ_ENABLED 2124 #define NRF_MEMOBJ_ENABLED 1 2125 #endif 2126 2127 // <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module 2128 //========================================================== 2129 #ifndef NRF_PWR_MGMT_ENABLED 2130 #define NRF_PWR_MGMT_ENABLED 1 2131 #endif 2132 // <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module. 2133 2134 // <i> Selected pin will be set when CPU is in sleep mode. 2135 //========================================================== 2136 #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 2137 #define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0 2138 #endif 2139 // <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number 2140 2141 // <0=> 0 (P0.0) 2142 // <1=> 1 (P0.1) 2143 // <2=> 2 (P0.2) 2144 // <3=> 3 (P0.3) 2145 // <4=> 4 (P0.4) 2146 // <5=> 5 (P0.5) 2147 // <6=> 6 (P0.6) 2148 // <7=> 7 (P0.7) 2149 // <8=> 8 (P0.8) 2150 // <9=> 9 (P0.9) 2151 // <10=> 10 (P0.10) 2152 // <11=> 11 (P0.11) 2153 // <12=> 12 (P0.12) 2154 // <13=> 13 (P0.13) 2155 // <14=> 14 (P0.14) 2156 // <15=> 15 (P0.15) 2157 // <16=> 16 (P0.16) 2158 // <17=> 17 (P0.17) 2159 // <18=> 18 (P0.18) 2160 // <19=> 19 (P0.19) 2161 // <20=> 20 (P0.20) 2162 // <21=> 21 (P0.21) 2163 // <22=> 22 (P0.22) 2164 // <23=> 23 (P0.23) 2165 // <24=> 24 (P0.24) 2166 // <25=> 25 (P0.25) 2167 // <26=> 26 (P0.26) 2168 // <27=> 27 (P0.27) 2169 // <28=> 28 (P0.28) 2170 // <29=> 29 (P0.29) 2171 // <30=> 30 (P0.30) 2172 // <31=> 31 (P0.31) 2173 // <32=> 32 (P1.0) 2174 // <33=> 33 (P1.1) 2175 // <34=> 34 (P1.2) 2176 // <35=> 35 (P1.3) 2177 // <36=> 36 (P1.4) 2178 // <37=> 37 (P1.5) 2179 // <38=> 38 (P1.6) 2180 // <39=> 39 (P1.7) 2181 // <40=> 40 (P1.8) 2182 // <41=> 41 (P1.9) 2183 // <42=> 42 (P1.10) 2184 // <43=> 43 (P1.11) 2185 // <44=> 44 (P1.12) 2186 // <45=> 45 (P1.13) 2187 // <46=> 46 (P1.14) 2188 // <47=> 47 (P1.15) 2189 // <4294967295=> Not connected 2190 2191 #ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN 2192 #define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 4294967295 2193 #endif 2194 2195 // </e> 2196 2197 // <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor. 2198 2199 2200 // <i> Module will trace percentage of CPU usage in one second intervals. 2201 2202 #ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 2203 #define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 1 2204 #endif 2205 2206 // <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout. 2207 //========================================================== 2208 #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 2209 #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 1 2210 #endif 2211 // <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds). 2212 // <i> Shutdown procedure will begin no earlier than after this number of seconds. 2213 2214 #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 2215 #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 180 2216 #endif 2217 2218 // </e> 2219 2220 // <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning. 2221 2222 2223 #ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 2224 #define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 1 2225 #endif 2226 2227 // <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second. 2228 2229 2230 #ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 2231 #define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 1 2232 #endif 2233 2234 // <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler. 2235 2236 2237 #ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 2238 #define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0 2239 #endif 2240 2241 // <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers. 2242 // <i> The number of stages of the shutdown process. 2243 2244 #ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 2245 #define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3 2246 #endif 2247 2248 // </e> 2249 2250 // <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator 2251 2252 2253 #ifndef NRF_SECTION_ITER_ENABLED 2254 #define NRF_SECTION_ITER_ENABLED 1 2255 #endif 2256 2257 // <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list 2258 2259 2260 #ifndef NRF_SORTLIST_ENABLED 2261 #define NRF_SORTLIST_ENABLED 1 2262 #endif 2263 2264 // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string. 2265 2266 2267 #ifndef NRF_STRERROR_ENABLED 2268 #define NRF_STRERROR_ENABLED 1 2269 #endif 2270 2271 // <h> app_button - buttons handling module 2272 2273 //========================================================== 2274 // <q> BUTTON_ENABLED - Enables Button module 2275 2276 2277 #ifndef BUTTON_ENABLED 2278 #define BUTTON_ENABLED 1 2279 #endif 2280 2281 // <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons 2282 2283 2284 #ifndef BUTTON_HIGH_ACCURACY_ENABLED 2285 #define BUTTON_HIGH_ACCURACY_ENABLED 0 2286 #endif 2287 2288 // <h> nrf_fprintf - fprintf function. 2289 2290 //========================================================== 2291 // <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module. 2292 2293 2294 #ifndef NRF_FPRINTF_ENABLED 2295 #define NRF_FPRINTF_ENABLED 1 2296 #endif 2297 2298 // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR. 2299 2300 2301 #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 2302 #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1 2303 #endif 2304 2305 // <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting. 2306 2307 2308 #ifndef NRF_FPRINTF_DOUBLE_ENABLED 2309 #define NRF_FPRINTF_DOUBLE_ENABLED 0 2310 #endif 2311 2312 // </h> 2313 //========================================================== 2314 2315 // </h> 2316 //========================================================== 2317 2318 // <h> nRF_Log 2319 2320 //========================================================== 2321 // <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend 2322 //========================================================== 2323 #ifndef NRF_LOG_BACKEND_RTT_ENABLED 2324 #define NRF_LOG_BACKEND_RTT_ENABLED 0 2325 #endif 2326 // <o> NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings. 2327 // <i> Size of the buffer is a trade-off between RAM usage and processing. 2328 // <i> if buffer is smaller then strings will often be fragmented. 2329 // <i> It is recommended to use size which will fit typical log and only the 2330 // <i> longer one will be fragmented. 2331 2332 #ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 2333 #define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64 2334 #endif 2335 2336 // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT 2337 #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 2338 #define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1 2339 #endif 2340 2341 // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries. 2342 // <i> If RTT fails to accept any new data after retries 2343 // <i> module assumes that host is not active and on next 2344 // <i> request it will perform only one write attempt. 2345 // <i> On successful writing, module assumes that host is active 2346 // <i> and scheme with retry is applied again. 2347 2348 #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 2349 #define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3 2350 #endif 2351 2352 // </e> 2353 2354 // <e> NRF_LOG_BACKEND_UART_ENABLED - nrf_log_backend_uart - Log UART backend 2355 //========================================================== 2356 #ifndef NRF_LOG_BACKEND_UART_ENABLED 2357 #define NRF_LOG_BACKEND_UART_ENABLED 1 2358 #endif 2359 2360 // <o> NRF_LOG_BACKEND_UART_TX_PIN - UART TX pin 2361 #if !defined(NRF_LOG_BACKEND_UART_TX_PIN) && (NRF_LOG_BACKEND_UART_ENABLED == 1) 2362 #error "Please define NRF_LOG_BACKEND_URART_TX_PIN in your custom board config header." 2363 #endif 2364 2365 // <o> NRF_LOG_BACKEND_UART_BAUDRATE - Default Baudrate 2366 2367 // <323584=> 1200 baud 2368 // <643072=> 2400 baud 2369 // <1290240=> 4800 baud 2370 // <2576384=> 9600 baud 2371 // <3862528=> 14400 baud 2372 // <5152768=> 19200 baud 2373 // <7716864=> 28800 baud 2374 // <10289152=> 38400 baud 2375 // <15400960=> 57600 baud 2376 // <20615168=> 76800 baud 2377 // <30801920=> 115200 baud 2378 // <61865984=> 230400 baud 2379 // <67108864=> 250000 baud 2380 // <121634816=> 460800 baud 2381 // <251658240=> 921600 baud 2382 // <268435456=> 1000000 baud 2383 2384 #ifndef NRF_LOG_BACKEND_UART_BAUDRATE 2385 #define NRF_LOG_BACKEND_UART_BAUDRATE 251658240 2386 #endif 2387 2388 // <o> NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings. 2389 // <i> Size of the buffer is a trade-off between RAM usage and processing. 2390 // <i> if buffer is smaller then strings will often be fragmented. 2391 // <i> It is recommended to use size which will fit typical log and only the 2392 // <i> longer one will be fragmented. 2393 2394 #ifndef NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE 2395 #define NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE 64 2396 #endif 2397 2398 // </e> 2399 2400 // <e> NRF_LOG_ENABLED - nrf_log - Logger 2401 //========================================================== 2402 #ifndef NRF_LOG_ENABLED 2403 #define NRF_LOG_ENABLED 1 2404 #endif 2405 // <h> Log message pool - Configuration of log message pool 2406 2407 //========================================================== 2408 // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects. 2409 // <i> If a small value is set, then performance of logs processing 2410 // <i> is degraded because data is fragmented. Bigger value impacts 2411 // <i> RAM memory utilization. The size is set to fit a message with 2412 // <i> a timestamp and up to 2 arguments in a single memory object. 2413 2414 #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE 2415 #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20 2416 #endif 2417 2418 // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects 2419 // <i> If a small value is set, then it may lead to a deadlock 2420 // <i> in certain cases if backend has high latency and holds 2421 // <i> multiple messages for long time. Bigger value impacts 2422 // <i> RAM memory usage. 2423 2424 #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT 2425 #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8 2426 #endif 2427 2428 // </h> 2429 //========================================================== 2430 2431 // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full. 2432 2433 2434 // <i> If set then oldest logs are overwritten. Otherwise a 2435 // <i> marker is injected informing about overflow. 2436 2437 #ifndef NRF_LOG_ALLOW_OVERFLOW 2438 #define NRF_LOG_ALLOW_OVERFLOW 1 2439 #endif 2440 2441 // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes). 2442 2443 2444 // <i> Must be power of 2 and multiple of 4. 2445 // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum. 2446 // <128=> 128 2447 // <256=> 256 2448 // <512=> 512 2449 // <1024=> 1024 2450 // <2048=> 2048 2451 // <4096=> 4096 2452 // <8192=> 8192 2453 // <16384=> 16384 2454 2455 #ifndef NRF_LOG_BUFSIZE 2456 #define NRF_LOG_BUFSIZE 16384 2457 #endif 2458 2459 // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module. 2460 2461 2462 #ifndef NRF_LOG_CLI_CMDS 2463 #define NRF_LOG_CLI_CMDS 0 2464 #endif 2465 2466 // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level 2467 2468 // <0=> Off 2469 // <1=> Error 2470 // <2=> Warning 2471 // <3=> Info 2472 // <4=> Debug 2473 2474 #ifndef NRF_LOG_DEFAULT_LEVEL 2475 #define NRF_LOG_DEFAULT_LEVEL 4 2476 #endif 2477 2478 // <q> NRF_LOG_DEFERRED - Enable deffered logger. 2479 2480 2481 // <i> Log data is buffered and can be processed in idle. 2482 2483 #ifndef NRF_LOG_DEFERRED 2484 #define NRF_LOG_DEFERRED 1 2485 #endif 2486 2487 // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs. 2488 2489 2490 #ifndef NRF_LOG_FILTERS_ENABLED 2491 #define NRF_LOG_FILTERS_ENABLED 0 2492 #endif 2493 2494 // <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs. 2495 2496 2497 // <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used. 2498 // <i> Log output will never be corrupted as access to the log backend is exclusive 2499 // <i> but system will spend significant amount of time in critical section 2500 2501 #ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 2502 #define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0 2503 #endif 2504 2505 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH. 2506 2507 // <16=> 16 2508 // <32=> 32 2509 // <64=> 64 2510 // <128=> 128 2511 // <256=> 256 2512 // <512=> 512 2513 // <1024=> 1024 2514 2515 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE 2516 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128 2517 #endif 2518 2519 // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH. 2520 2521 // <16=> 16 2522 // <32=> 32 2523 // <64=> 64 2524 // <128=> 128 2525 // <256=> 256 2526 // <512=> 512 2527 // <1024=> 1024 2528 2529 #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE 2530 #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128 2531 #endif 2532 2533 // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string 2534 //========================================================== 2535 #ifndef NRF_LOG_USES_COLORS 2536 #define NRF_LOG_USES_COLORS 1 2537 #endif 2538 // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix. 2539 2540 // <0=> Default 2541 // <1=> Black 2542 // <2=> Red 2543 // <3=> Green 2544 // <4=> Yellow 2545 // <5=> Blue 2546 // <6=> Magenta 2547 // <7=> Cyan 2548 // <8=> White 2549 2550 #ifndef NRF_LOG_COLOR_DEFAULT 2551 #define NRF_LOG_COLOR_DEFAULT 0 2552 #endif 2553 2554 // <o> NRF_LOG_ERROR_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 NRF_LOG_ERROR_COLOR 2567 #define NRF_LOG_ERROR_COLOR 2 2568 #endif 2569 2570 // <o> NRF_LOG_WARNING_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 NRF_LOG_WARNING_COLOR 2583 #define NRF_LOG_WARNING_COLOR 4 2584 #endif 2585 2586 // </e> 2587 2588 // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping 2589 2590 // <i> Function for getting the timestamp is provided by the user 2591 //========================================================== 2592 #ifndef NRF_LOG_USES_TIMESTAMP 2593 #define NRF_LOG_USES_TIMESTAMP 0 2594 #endif 2595 // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency. 2596 #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 2597 #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0 2598 #endif 2599 2600 // </e> 2601 2602 // <h> nrf_log module configuration 2603 2604 //========================================================== 2605 // <h> nrf_log in nRF_Core 2606 2607 //========================================================== 2608 // <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module. 2609 //========================================================== 2610 #ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED 2611 #define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0 2612 #endif 2613 // <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level 2614 2615 // <0=> Off 2616 // <1=> Error 2617 // <2=> Warning 2618 // <3=> Info 2619 // <4=> Debug 2620 2621 #ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL 2622 #define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3 2623 #endif 2624 2625 // <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix. 2626 2627 // <0=> Default 2628 // <1=> Black 2629 // <2=> Red 2630 // <3=> Green 2631 // <4=> Yellow 2632 // <5=> Blue 2633 // <6=> Magenta 2634 // <7=> Cyan 2635 // <8=> White 2636 2637 #ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR 2638 #define NRF_MPU_LIB_CONFIG_INFO_COLOR 0 2639 #endif 2640 2641 // <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2642 2643 // <0=> Default 2644 // <1=> Black 2645 // <2=> Red 2646 // <3=> Green 2647 // <4=> Yellow 2648 // <5=> Blue 2649 // <6=> Magenta 2650 // <7=> Cyan 2651 // <8=> White 2652 2653 #ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR 2654 #define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0 2655 #endif 2656 2657 // </e> 2658 2659 // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module. 2660 //========================================================== 2661 #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED 2662 #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0 2663 #endif 2664 // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level 2665 2666 // <0=> Off 2667 // <1=> Error 2668 // <2=> Warning 2669 // <3=> Info 2670 // <4=> Debug 2671 2672 #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL 2673 #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3 2674 #endif 2675 2676 // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix. 2677 2678 // <0=> Default 2679 // <1=> Black 2680 // <2=> Red 2681 // <3=> Green 2682 // <4=> Yellow 2683 // <5=> Blue 2684 // <6=> Magenta 2685 // <7=> Cyan 2686 // <8=> White 2687 2688 #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR 2689 #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0 2690 #endif 2691 2692 // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2693 2694 // <0=> Default 2695 // <1=> Black 2696 // <2=> Red 2697 // <3=> Green 2698 // <4=> Yellow 2699 // <5=> Blue 2700 // <6=> Magenta 2701 // <7=> Cyan 2702 // <8=> White 2703 2704 #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 2705 #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0 2706 #endif 2707 2708 // </e> 2709 2710 // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module. 2711 //========================================================== 2712 #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED 2713 #define TASK_MANAGER_CONFIG_LOG_ENABLED 0 2714 #endif 2715 // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level 2716 2717 // <0=> Off 2718 // <1=> Error 2719 // <2=> Warning 2720 // <3=> Info 2721 // <4=> Debug 2722 2723 #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL 2724 #define TASK_MANAGER_CONFIG_LOG_LEVEL 3 2725 #endif 2726 2727 // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix. 2728 2729 // <0=> Default 2730 // <1=> Black 2731 // <2=> Red 2732 // <3=> Green 2733 // <4=> Yellow 2734 // <5=> Blue 2735 // <6=> Magenta 2736 // <7=> Cyan 2737 // <8=> White 2738 2739 #ifndef TASK_MANAGER_CONFIG_INFO_COLOR 2740 #define TASK_MANAGER_CONFIG_INFO_COLOR 0 2741 #endif 2742 2743 // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2744 2745 // <0=> Default 2746 // <1=> Black 2747 // <2=> Red 2748 // <3=> Green 2749 // <4=> Yellow 2750 // <5=> Blue 2751 // <6=> Magenta 2752 // <7=> Cyan 2753 // <8=> White 2754 2755 #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR 2756 #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0 2757 #endif 2758 2759 // </e> 2760 2761 // </h> 2762 //========================================================== 2763 2764 // <h> nrf_log in nRF_Drivers 2765 2766 //========================================================== 2767 // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module. 2768 //========================================================== 2769 #ifndef CLOCK_CONFIG_LOG_ENABLED 2770 #define CLOCK_CONFIG_LOG_ENABLED 0 2771 #endif 2772 // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level 2773 2774 // <0=> Off 2775 // <1=> Error 2776 // <2=> Warning 2777 // <3=> Info 2778 // <4=> Debug 2779 2780 #ifndef CLOCK_CONFIG_LOG_LEVEL 2781 #define CLOCK_CONFIG_LOG_LEVEL 3 2782 #endif 2783 2784 // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix. 2785 2786 // <0=> Default 2787 // <1=> Black 2788 // <2=> Red 2789 // <3=> Green 2790 // <4=> Yellow 2791 // <5=> Blue 2792 // <6=> Magenta 2793 // <7=> Cyan 2794 // <8=> White 2795 2796 #ifndef CLOCK_CONFIG_INFO_COLOR 2797 #define CLOCK_CONFIG_INFO_COLOR 0 2798 #endif 2799 2800 // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2801 2802 // <0=> Default 2803 // <1=> Black 2804 // <2=> Red 2805 // <3=> Green 2806 // <4=> Yellow 2807 // <5=> Blue 2808 // <6=> Magenta 2809 // <7=> Cyan 2810 // <8=> White 2811 2812 #ifndef CLOCK_CONFIG_DEBUG_COLOR 2813 #define CLOCK_CONFIG_DEBUG_COLOR 0 2814 #endif 2815 2816 // </e> 2817 2818 // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module. 2819 //========================================================== 2820 #ifndef COMP_CONFIG_LOG_ENABLED 2821 #define COMP_CONFIG_LOG_ENABLED 0 2822 #endif 2823 // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level 2824 2825 // <0=> Off 2826 // <1=> Error 2827 // <2=> Warning 2828 // <3=> Info 2829 // <4=> Debug 2830 2831 #ifndef COMP_CONFIG_LOG_LEVEL 2832 #define COMP_CONFIG_LOG_LEVEL 3 2833 #endif 2834 2835 // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix. 2836 2837 // <0=> Default 2838 // <1=> Black 2839 // <2=> Red 2840 // <3=> Green 2841 // <4=> Yellow 2842 // <5=> Blue 2843 // <6=> Magenta 2844 // <7=> Cyan 2845 // <8=> White 2846 2847 #ifndef COMP_CONFIG_INFO_COLOR 2848 #define COMP_CONFIG_INFO_COLOR 0 2849 #endif 2850 2851 // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2852 2853 // <0=> Default 2854 // <1=> Black 2855 // <2=> Red 2856 // <3=> Green 2857 // <4=> Yellow 2858 // <5=> Blue 2859 // <6=> Magenta 2860 // <7=> Cyan 2861 // <8=> White 2862 2863 #ifndef COMP_CONFIG_DEBUG_COLOR 2864 #define COMP_CONFIG_DEBUG_COLOR 0 2865 #endif 2866 2867 // </e> 2868 2869 // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module. 2870 //========================================================== 2871 #ifndef GPIOTE_CONFIG_LOG_ENABLED 2872 #define GPIOTE_CONFIG_LOG_ENABLED 0 2873 #endif 2874 // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level 2875 2876 // <0=> Off 2877 // <1=> Error 2878 // <2=> Warning 2879 // <3=> Info 2880 // <4=> Debug 2881 2882 #ifndef GPIOTE_CONFIG_LOG_LEVEL 2883 #define GPIOTE_CONFIG_LOG_LEVEL 3 2884 #endif 2885 2886 // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 2887 2888 // <0=> Default 2889 // <1=> Black 2890 // <2=> Red 2891 // <3=> Green 2892 // <4=> Yellow 2893 // <5=> Blue 2894 // <6=> Magenta 2895 // <7=> Cyan 2896 // <8=> White 2897 2898 #ifndef GPIOTE_CONFIG_INFO_COLOR 2899 #define GPIOTE_CONFIG_INFO_COLOR 0 2900 #endif 2901 2902 // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2903 2904 // <0=> Default 2905 // <1=> Black 2906 // <2=> Red 2907 // <3=> Green 2908 // <4=> Yellow 2909 // <5=> Blue 2910 // <6=> Magenta 2911 // <7=> Cyan 2912 // <8=> White 2913 2914 #ifndef GPIOTE_CONFIG_DEBUG_COLOR 2915 #define GPIOTE_CONFIG_DEBUG_COLOR 0 2916 #endif 2917 2918 // </e> 2919 2920 // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module. 2921 //========================================================== 2922 #ifndef LPCOMP_CONFIG_LOG_ENABLED 2923 #define LPCOMP_CONFIG_LOG_ENABLED 0 2924 #endif 2925 // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level 2926 2927 // <0=> Off 2928 // <1=> Error 2929 // <2=> Warning 2930 // <3=> Info 2931 // <4=> Debug 2932 2933 #ifndef LPCOMP_CONFIG_LOG_LEVEL 2934 #define LPCOMP_CONFIG_LOG_LEVEL 3 2935 #endif 2936 2937 // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix. 2938 2939 // <0=> Default 2940 // <1=> Black 2941 // <2=> Red 2942 // <3=> Green 2943 // <4=> Yellow 2944 // <5=> Blue 2945 // <6=> Magenta 2946 // <7=> Cyan 2947 // <8=> White 2948 2949 #ifndef LPCOMP_CONFIG_INFO_COLOR 2950 #define LPCOMP_CONFIG_INFO_COLOR 0 2951 #endif 2952 2953 // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 2954 2955 // <0=> Default 2956 // <1=> Black 2957 // <2=> Red 2958 // <3=> Green 2959 // <4=> Yellow 2960 // <5=> Blue 2961 // <6=> Magenta 2962 // <7=> Cyan 2963 // <8=> White 2964 2965 #ifndef LPCOMP_CONFIG_DEBUG_COLOR 2966 #define LPCOMP_CONFIG_DEBUG_COLOR 0 2967 #endif 2968 2969 // </e> 2970 2971 // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module 2972 //========================================================== 2973 #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED 2974 #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0 2975 #endif 2976 // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level 2977 2978 // <0=> Off 2979 // <1=> Error 2980 // <2=> Warning 2981 // <3=> Info 2982 // <4=> Debug 2983 2984 #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL 2985 #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3 2986 #endif 2987 2988 // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix. 2989 2990 // <0=> Default 2991 // <1=> Black 2992 // <2=> Red 2993 // <3=> Green 2994 // <4=> Yellow 2995 // <5=> Blue 2996 // <6=> Magenta 2997 // <7=> Cyan 2998 // <8=> White 2999 3000 #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR 3001 #define MAX3421E_HOST_CONFIG_INFO_COLOR 0 3002 #endif 3003 3004 // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3005 3006 // <0=> Default 3007 // <1=> Black 3008 // <2=> Red 3009 // <3=> Green 3010 // <4=> Yellow 3011 // <5=> Blue 3012 // <6=> Magenta 3013 // <7=> Cyan 3014 // <8=> White 3015 3016 #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR 3017 #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0 3018 #endif 3019 3020 // </e> 3021 3022 // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module 3023 //========================================================== 3024 #ifndef NRFX_USBD_CONFIG_LOG_ENABLED 3025 #define NRFX_USBD_CONFIG_LOG_ENABLED 0 3026 #endif 3027 // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level 3028 3029 // <0=> Off 3030 // <1=> Error 3031 // <2=> Warning 3032 // <3=> Info 3033 // <4=> Debug 3034 3035 #ifndef NRFX_USBD_CONFIG_LOG_LEVEL 3036 #define NRFX_USBD_CONFIG_LOG_LEVEL 3 3037 #endif 3038 3039 // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix. 3040 3041 // <0=> Default 3042 // <1=> Black 3043 // <2=> Red 3044 // <3=> Green 3045 // <4=> Yellow 3046 // <5=> Blue 3047 // <6=> Magenta 3048 // <7=> Cyan 3049 // <8=> White 3050 3051 #ifndef NRFX_USBD_CONFIG_INFO_COLOR 3052 #define NRFX_USBD_CONFIG_INFO_COLOR 0 3053 #endif 3054 3055 // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3056 3057 // <0=> Default 3058 // <1=> Black 3059 // <2=> Red 3060 // <3=> Green 3061 // <4=> Yellow 3062 // <5=> Blue 3063 // <6=> Magenta 3064 // <7=> Cyan 3065 // <8=> White 3066 3067 #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR 3068 #define NRFX_USBD_CONFIG_DEBUG_COLOR 0 3069 #endif 3070 3071 // </e> 3072 3073 // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module. 3074 //========================================================== 3075 #ifndef PDM_CONFIG_LOG_ENABLED 3076 #define PDM_CONFIG_LOG_ENABLED 0 3077 #endif 3078 // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level 3079 3080 // <0=> Off 3081 // <1=> Error 3082 // <2=> Warning 3083 // <3=> Info 3084 // <4=> Debug 3085 3086 #ifndef PDM_CONFIG_LOG_LEVEL 3087 #define PDM_CONFIG_LOG_LEVEL 3 3088 #endif 3089 3090 // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix. 3091 3092 // <0=> Default 3093 // <1=> Black 3094 // <2=> Red 3095 // <3=> Green 3096 // <4=> Yellow 3097 // <5=> Blue 3098 // <6=> Magenta 3099 // <7=> Cyan 3100 // <8=> White 3101 3102 #ifndef PDM_CONFIG_INFO_COLOR 3103 #define PDM_CONFIG_INFO_COLOR 0 3104 #endif 3105 3106 // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3107 3108 // <0=> Default 3109 // <1=> Black 3110 // <2=> Red 3111 // <3=> Green 3112 // <4=> Yellow 3113 // <5=> Blue 3114 // <6=> Magenta 3115 // <7=> Cyan 3116 // <8=> White 3117 3118 #ifndef PDM_CONFIG_DEBUG_COLOR 3119 #define PDM_CONFIG_DEBUG_COLOR 0 3120 #endif 3121 3122 // </e> 3123 3124 // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module. 3125 //========================================================== 3126 #ifndef PPI_CONFIG_LOG_ENABLED 3127 #define PPI_CONFIG_LOG_ENABLED 0 3128 #endif 3129 // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level 3130 3131 // <0=> Off 3132 // <1=> Error 3133 // <2=> Warning 3134 // <3=> Info 3135 // <4=> Debug 3136 3137 #ifndef PPI_CONFIG_LOG_LEVEL 3138 #define PPI_CONFIG_LOG_LEVEL 3 3139 #endif 3140 3141 // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 3142 3143 // <0=> Default 3144 // <1=> Black 3145 // <2=> Red 3146 // <3=> Green 3147 // <4=> Yellow 3148 // <5=> Blue 3149 // <6=> Magenta 3150 // <7=> Cyan 3151 // <8=> White 3152 3153 #ifndef PPI_CONFIG_INFO_COLOR 3154 #define PPI_CONFIG_INFO_COLOR 0 3155 #endif 3156 3157 // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3158 3159 // <0=> Default 3160 // <1=> Black 3161 // <2=> Red 3162 // <3=> Green 3163 // <4=> Yellow 3164 // <5=> Blue 3165 // <6=> Magenta 3166 // <7=> Cyan 3167 // <8=> White 3168 3169 #ifndef PPI_CONFIG_DEBUG_COLOR 3170 #define PPI_CONFIG_DEBUG_COLOR 0 3171 #endif 3172 3173 // </e> 3174 3175 // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module. 3176 //========================================================== 3177 #ifndef PWM_CONFIG_LOG_ENABLED 3178 #define PWM_CONFIG_LOG_ENABLED 0 3179 #endif 3180 // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level 3181 3182 // <0=> Off 3183 // <1=> Error 3184 // <2=> Warning 3185 // <3=> Info 3186 // <4=> Debug 3187 3188 #ifndef PWM_CONFIG_LOG_LEVEL 3189 #define PWM_CONFIG_LOG_LEVEL 3 3190 #endif 3191 3192 // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix. 3193 3194 // <0=> Default 3195 // <1=> Black 3196 // <2=> Red 3197 // <3=> Green 3198 // <4=> Yellow 3199 // <5=> Blue 3200 // <6=> Magenta 3201 // <7=> Cyan 3202 // <8=> White 3203 3204 #ifndef PWM_CONFIG_INFO_COLOR 3205 #define PWM_CONFIG_INFO_COLOR 0 3206 #endif 3207 3208 // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3209 3210 // <0=> Default 3211 // <1=> Black 3212 // <2=> Red 3213 // <3=> Green 3214 // <4=> Yellow 3215 // <5=> Blue 3216 // <6=> Magenta 3217 // <7=> Cyan 3218 // <8=> White 3219 3220 #ifndef PWM_CONFIG_DEBUG_COLOR 3221 #define PWM_CONFIG_DEBUG_COLOR 0 3222 #endif 3223 3224 // </e> 3225 3226 // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module. 3227 //========================================================== 3228 #ifndef QDEC_CONFIG_LOG_ENABLED 3229 #define QDEC_CONFIG_LOG_ENABLED 0 3230 #endif 3231 // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level 3232 3233 // <0=> Off 3234 // <1=> Error 3235 // <2=> Warning 3236 // <3=> Info 3237 // <4=> Debug 3238 3239 #ifndef QDEC_CONFIG_LOG_LEVEL 3240 #define QDEC_CONFIG_LOG_LEVEL 3 3241 #endif 3242 3243 // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix. 3244 3245 // <0=> Default 3246 // <1=> Black 3247 // <2=> Red 3248 // <3=> Green 3249 // <4=> Yellow 3250 // <5=> Blue 3251 // <6=> Magenta 3252 // <7=> Cyan 3253 // <8=> White 3254 3255 #ifndef QDEC_CONFIG_INFO_COLOR 3256 #define QDEC_CONFIG_INFO_COLOR 0 3257 #endif 3258 3259 // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3260 3261 // <0=> Default 3262 // <1=> Black 3263 // <2=> Red 3264 // <3=> Green 3265 // <4=> Yellow 3266 // <5=> Blue 3267 // <6=> Magenta 3268 // <7=> Cyan 3269 // <8=> White 3270 3271 #ifndef QDEC_CONFIG_DEBUG_COLOR 3272 #define QDEC_CONFIG_DEBUG_COLOR 0 3273 #endif 3274 3275 // </e> 3276 3277 // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module. 3278 //========================================================== 3279 #ifndef RNG_CONFIG_LOG_ENABLED 3280 #define RNG_CONFIG_LOG_ENABLED 0 3281 #endif 3282 // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level 3283 3284 // <0=> Off 3285 // <1=> Error 3286 // <2=> Warning 3287 // <3=> Info 3288 // <4=> Debug 3289 3290 #ifndef RNG_CONFIG_LOG_LEVEL 3291 #define RNG_CONFIG_LOG_LEVEL 3 3292 #endif 3293 3294 // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix. 3295 3296 // <0=> Default 3297 // <1=> Black 3298 // <2=> Red 3299 // <3=> Green 3300 // <4=> Yellow 3301 // <5=> Blue 3302 // <6=> Magenta 3303 // <7=> Cyan 3304 // <8=> White 3305 3306 #ifndef RNG_CONFIG_INFO_COLOR 3307 #define RNG_CONFIG_INFO_COLOR 0 3308 #endif 3309 3310 // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3311 3312 // <0=> Default 3313 // <1=> Black 3314 // <2=> Red 3315 // <3=> Green 3316 // <4=> Yellow 3317 // <5=> Blue 3318 // <6=> Magenta 3319 // <7=> Cyan 3320 // <8=> White 3321 3322 #ifndef RNG_CONFIG_DEBUG_COLOR 3323 #define RNG_CONFIG_DEBUG_COLOR 0 3324 #endif 3325 3326 // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers. 3327 3328 3329 #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 3330 #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0 3331 #endif 3332 3333 // </e> 3334 3335 // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module. 3336 //========================================================== 3337 #ifndef RTC_CONFIG_LOG_ENABLED 3338 #define RTC_CONFIG_LOG_ENABLED 0 3339 #endif 3340 // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level 3341 3342 // <0=> Off 3343 // <1=> Error 3344 // <2=> Warning 3345 // <3=> Info 3346 // <4=> Debug 3347 3348 #ifndef RTC_CONFIG_LOG_LEVEL 3349 #define RTC_CONFIG_LOG_LEVEL 3 3350 #endif 3351 3352 // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix. 3353 3354 // <0=> Default 3355 // <1=> Black 3356 // <2=> Red 3357 // <3=> Green 3358 // <4=> Yellow 3359 // <5=> Blue 3360 // <6=> Magenta 3361 // <7=> Cyan 3362 // <8=> White 3363 3364 #ifndef RTC_CONFIG_INFO_COLOR 3365 #define RTC_CONFIG_INFO_COLOR 0 3366 #endif 3367 3368 // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3369 3370 // <0=> Default 3371 // <1=> Black 3372 // <2=> Red 3373 // <3=> Green 3374 // <4=> Yellow 3375 // <5=> Blue 3376 // <6=> Magenta 3377 // <7=> Cyan 3378 // <8=> White 3379 3380 #ifndef RTC_CONFIG_DEBUG_COLOR 3381 #define RTC_CONFIG_DEBUG_COLOR 0 3382 #endif 3383 3384 // </e> 3385 3386 // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module. 3387 //========================================================== 3388 #ifndef SAADC_CONFIG_LOG_ENABLED 3389 #define SAADC_CONFIG_LOG_ENABLED 0 3390 #endif 3391 // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level 3392 3393 // <0=> Off 3394 // <1=> Error 3395 // <2=> Warning 3396 // <3=> Info 3397 // <4=> Debug 3398 3399 #ifndef SAADC_CONFIG_LOG_LEVEL 3400 #define SAADC_CONFIG_LOG_LEVEL 3 3401 #endif 3402 3403 // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix. 3404 3405 // <0=> Default 3406 // <1=> Black 3407 // <2=> Red 3408 // <3=> Green 3409 // <4=> Yellow 3410 // <5=> Blue 3411 // <6=> Magenta 3412 // <7=> Cyan 3413 // <8=> White 3414 3415 #ifndef SAADC_CONFIG_INFO_COLOR 3416 #define SAADC_CONFIG_INFO_COLOR 0 3417 #endif 3418 3419 // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3420 3421 // <0=> Default 3422 // <1=> Black 3423 // <2=> Red 3424 // <3=> Green 3425 // <4=> Yellow 3426 // <5=> Blue 3427 // <6=> Magenta 3428 // <7=> Cyan 3429 // <8=> White 3430 3431 #ifndef SAADC_CONFIG_DEBUG_COLOR 3432 #define SAADC_CONFIG_DEBUG_COLOR 0 3433 #endif 3434 3435 // </e> 3436 3437 // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module. 3438 //========================================================== 3439 #ifndef SPIS_CONFIG_LOG_ENABLED 3440 #define SPIS_CONFIG_LOG_ENABLED 0 3441 #endif 3442 // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level 3443 3444 // <0=> Off 3445 // <1=> Error 3446 // <2=> Warning 3447 // <3=> Info 3448 // <4=> Debug 3449 3450 #ifndef SPIS_CONFIG_LOG_LEVEL 3451 #define SPIS_CONFIG_LOG_LEVEL 3 3452 #endif 3453 3454 // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 3455 3456 // <0=> Default 3457 // <1=> Black 3458 // <2=> Red 3459 // <3=> Green 3460 // <4=> Yellow 3461 // <5=> Blue 3462 // <6=> Magenta 3463 // <7=> Cyan 3464 // <8=> White 3465 3466 #ifndef SPIS_CONFIG_INFO_COLOR 3467 #define SPIS_CONFIG_INFO_COLOR 0 3468 #endif 3469 3470 // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3471 3472 // <0=> Default 3473 // <1=> Black 3474 // <2=> Red 3475 // <3=> Green 3476 // <4=> Yellow 3477 // <5=> Blue 3478 // <6=> Magenta 3479 // <7=> Cyan 3480 // <8=> White 3481 3482 #ifndef SPIS_CONFIG_DEBUG_COLOR 3483 #define SPIS_CONFIG_DEBUG_COLOR 0 3484 #endif 3485 3486 // </e> 3487 3488 // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module. 3489 //========================================================== 3490 #ifndef SPI_CONFIG_LOG_ENABLED 3491 #define SPI_CONFIG_LOG_ENABLED 0 3492 #endif 3493 // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level 3494 3495 // <0=> Off 3496 // <1=> Error 3497 // <2=> Warning 3498 // <3=> Info 3499 // <4=> Debug 3500 3501 #ifndef SPI_CONFIG_LOG_LEVEL 3502 #define SPI_CONFIG_LOG_LEVEL 3 3503 #endif 3504 3505 // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 3506 3507 // <0=> Default 3508 // <1=> Black 3509 // <2=> Red 3510 // <3=> Green 3511 // <4=> Yellow 3512 // <5=> Blue 3513 // <6=> Magenta 3514 // <7=> Cyan 3515 // <8=> White 3516 3517 #ifndef SPI_CONFIG_INFO_COLOR 3518 #define SPI_CONFIG_INFO_COLOR 0 3519 #endif 3520 3521 // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3522 3523 // <0=> Default 3524 // <1=> Black 3525 // <2=> Red 3526 // <3=> Green 3527 // <4=> Yellow 3528 // <5=> Blue 3529 // <6=> Magenta 3530 // <7=> Cyan 3531 // <8=> White 3532 3533 #ifndef SPI_CONFIG_DEBUG_COLOR 3534 #define SPI_CONFIG_DEBUG_COLOR 0 3535 #endif 3536 3537 // </e> 3538 3539 // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module. 3540 //========================================================== 3541 #ifndef TIMER_CONFIG_LOG_ENABLED 3542 #define TIMER_CONFIG_LOG_ENABLED 0 3543 #endif 3544 // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level 3545 3546 // <0=> Off 3547 // <1=> Error 3548 // <2=> Warning 3549 // <3=> Info 3550 // <4=> Debug 3551 3552 #ifndef TIMER_CONFIG_LOG_LEVEL 3553 #define TIMER_CONFIG_LOG_LEVEL 3 3554 #endif 3555 3556 // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix. 3557 3558 // <0=> Default 3559 // <1=> Black 3560 // <2=> Red 3561 // <3=> Green 3562 // <4=> Yellow 3563 // <5=> Blue 3564 // <6=> Magenta 3565 // <7=> Cyan 3566 // <8=> White 3567 3568 #ifndef TIMER_CONFIG_INFO_COLOR 3569 #define TIMER_CONFIG_INFO_COLOR 0 3570 #endif 3571 3572 // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3573 3574 // <0=> Default 3575 // <1=> Black 3576 // <2=> Red 3577 // <3=> Green 3578 // <4=> Yellow 3579 // <5=> Blue 3580 // <6=> Magenta 3581 // <7=> Cyan 3582 // <8=> White 3583 3584 #ifndef TIMER_CONFIG_DEBUG_COLOR 3585 #define TIMER_CONFIG_DEBUG_COLOR 0 3586 #endif 3587 3588 // </e> 3589 3590 // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module. 3591 //========================================================== 3592 #ifndef TWIS_CONFIG_LOG_ENABLED 3593 #define TWIS_CONFIG_LOG_ENABLED 0 3594 #endif 3595 // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level 3596 3597 // <0=> Off 3598 // <1=> Error 3599 // <2=> Warning 3600 // <3=> Info 3601 // <4=> Debug 3602 3603 #ifndef TWIS_CONFIG_LOG_LEVEL 3604 #define TWIS_CONFIG_LOG_LEVEL 3 3605 #endif 3606 3607 // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix. 3608 3609 // <0=> Default 3610 // <1=> Black 3611 // <2=> Red 3612 // <3=> Green 3613 // <4=> Yellow 3614 // <5=> Blue 3615 // <6=> Magenta 3616 // <7=> Cyan 3617 // <8=> White 3618 3619 #ifndef TWIS_CONFIG_INFO_COLOR 3620 #define TWIS_CONFIG_INFO_COLOR 0 3621 #endif 3622 3623 // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3624 3625 // <0=> Default 3626 // <1=> Black 3627 // <2=> Red 3628 // <3=> Green 3629 // <4=> Yellow 3630 // <5=> Blue 3631 // <6=> Magenta 3632 // <7=> Cyan 3633 // <8=> White 3634 3635 #ifndef TWIS_CONFIG_DEBUG_COLOR 3636 #define TWIS_CONFIG_DEBUG_COLOR 0 3637 #endif 3638 3639 // </e> 3640 3641 // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module. 3642 //========================================================== 3643 #ifndef TWI_CONFIG_LOG_ENABLED 3644 #define TWI_CONFIG_LOG_ENABLED 0 3645 #endif 3646 // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level 3647 3648 // <0=> Off 3649 // <1=> Error 3650 // <2=> Warning 3651 // <3=> Info 3652 // <4=> Debug 3653 3654 #ifndef TWI_CONFIG_LOG_LEVEL 3655 #define TWI_CONFIG_LOG_LEVEL 3 3656 #endif 3657 3658 // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix. 3659 3660 // <0=> Default 3661 // <1=> Black 3662 // <2=> Red 3663 // <3=> Green 3664 // <4=> Yellow 3665 // <5=> Blue 3666 // <6=> Magenta 3667 // <7=> Cyan 3668 // <8=> White 3669 3670 #ifndef TWI_CONFIG_INFO_COLOR 3671 #define TWI_CONFIG_INFO_COLOR 0 3672 #endif 3673 3674 // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3675 3676 // <0=> Default 3677 // <1=> Black 3678 // <2=> Red 3679 // <3=> Green 3680 // <4=> Yellow 3681 // <5=> Blue 3682 // <6=> Magenta 3683 // <7=> Cyan 3684 // <8=> White 3685 3686 #ifndef TWI_CONFIG_DEBUG_COLOR 3687 #define TWI_CONFIG_DEBUG_COLOR 0 3688 #endif 3689 3690 // </e> 3691 3692 // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module. 3693 //========================================================== 3694 #ifndef UART_CONFIG_LOG_ENABLED 3695 #define UART_CONFIG_LOG_ENABLED 0 3696 #endif 3697 // <o> UART_CONFIG_LOG_LEVEL - Default Severity level 3698 3699 // <0=> Off 3700 // <1=> Error 3701 // <2=> Warning 3702 // <3=> Info 3703 // <4=> Debug 3704 3705 #ifndef UART_CONFIG_LOG_LEVEL 3706 #define UART_CONFIG_LOG_LEVEL 3 3707 #endif 3708 3709 // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix. 3710 3711 // <0=> Default 3712 // <1=> Black 3713 // <2=> Red 3714 // <3=> Green 3715 // <4=> Yellow 3716 // <5=> Blue 3717 // <6=> Magenta 3718 // <7=> Cyan 3719 // <8=> White 3720 3721 #ifndef UART_CONFIG_INFO_COLOR 3722 #define UART_CONFIG_INFO_COLOR 0 3723 #endif 3724 3725 // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3726 3727 // <0=> Default 3728 // <1=> Black 3729 // <2=> Red 3730 // <3=> Green 3731 // <4=> Yellow 3732 // <5=> Blue 3733 // <6=> Magenta 3734 // <7=> Cyan 3735 // <8=> White 3736 3737 #ifndef UART_CONFIG_DEBUG_COLOR 3738 #define UART_CONFIG_DEBUG_COLOR 0 3739 #endif 3740 3741 // </e> 3742 3743 // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module 3744 //========================================================== 3745 #ifndef USBD_CONFIG_LOG_ENABLED 3746 #define USBD_CONFIG_LOG_ENABLED 0 3747 #endif 3748 // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level 3749 3750 // <0=> Off 3751 // <1=> Error 3752 // <2=> Warning 3753 // <3=> Info 3754 // <4=> Debug 3755 3756 #ifndef USBD_CONFIG_LOG_LEVEL 3757 #define USBD_CONFIG_LOG_LEVEL 3 3758 #endif 3759 3760 // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix. 3761 3762 // <0=> Default 3763 // <1=> Black 3764 // <2=> Red 3765 // <3=> Green 3766 // <4=> Yellow 3767 // <5=> Blue 3768 // <6=> Magenta 3769 // <7=> Cyan 3770 // <8=> White 3771 3772 #ifndef USBD_CONFIG_INFO_COLOR 3773 #define USBD_CONFIG_INFO_COLOR 0 3774 #endif 3775 3776 // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3777 3778 // <0=> Default 3779 // <1=> Black 3780 // <2=> Red 3781 // <3=> Green 3782 // <4=> Yellow 3783 // <5=> Blue 3784 // <6=> Magenta 3785 // <7=> Cyan 3786 // <8=> White 3787 3788 #ifndef USBD_CONFIG_DEBUG_COLOR 3789 #define USBD_CONFIG_DEBUG_COLOR 0 3790 #endif 3791 3792 // </e> 3793 3794 // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module. 3795 //========================================================== 3796 #ifndef WDT_CONFIG_LOG_ENABLED 3797 #define WDT_CONFIG_LOG_ENABLED 0 3798 #endif 3799 // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level 3800 3801 // <0=> Off 3802 // <1=> Error 3803 // <2=> Warning 3804 // <3=> Info 3805 // <4=> Debug 3806 3807 #ifndef WDT_CONFIG_LOG_LEVEL 3808 #define WDT_CONFIG_LOG_LEVEL 3 3809 #endif 3810 3811 // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix. 3812 3813 // <0=> Default 3814 // <1=> Black 3815 // <2=> Red 3816 // <3=> Green 3817 // <4=> Yellow 3818 // <5=> Blue 3819 // <6=> Magenta 3820 // <7=> Cyan 3821 // <8=> White 3822 3823 #ifndef WDT_CONFIG_INFO_COLOR 3824 #define WDT_CONFIG_INFO_COLOR 0 3825 #endif 3826 3827 // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3828 3829 // <0=> Default 3830 // <1=> Black 3831 // <2=> Red 3832 // <3=> Green 3833 // <4=> Yellow 3834 // <5=> Blue 3835 // <6=> Magenta 3836 // <7=> Cyan 3837 // <8=> White 3838 3839 #ifndef WDT_CONFIG_DEBUG_COLOR 3840 #define WDT_CONFIG_DEBUG_COLOR 0 3841 #endif 3842 3843 // </e> 3844 3845 // </h> 3846 //========================================================== 3847 3848 // <h> nrf_log in nRF_Libraries 3849 3850 //========================================================== 3851 // <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module. 3852 //========================================================== 3853 #ifndef APP_BUTTON_CONFIG_LOG_ENABLED 3854 #define APP_BUTTON_CONFIG_LOG_ENABLED 0 3855 #endif 3856 // <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level 3857 3858 // <0=> Off 3859 // <1=> Error 3860 // <2=> Warning 3861 // <3=> Info 3862 // <4=> Debug 3863 3864 #ifndef APP_BUTTON_CONFIG_LOG_LEVEL 3865 #define APP_BUTTON_CONFIG_LOG_LEVEL 3 3866 #endif 3867 3868 // <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled. 3869 3870 3871 // <i> If module generates a lot of logs, initial log level can 3872 // <i> be decreased to prevent flooding. Severity level can be 3873 // <i> increased on instance basis. 3874 // <0=> Off 3875 // <1=> Error 3876 // <2=> Warning 3877 // <3=> Info 3878 // <4=> Debug 3879 3880 #ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3881 #define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3 3882 #endif 3883 3884 // <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix. 3885 3886 // <0=> Default 3887 // <1=> Black 3888 // <2=> Red 3889 // <3=> Green 3890 // <4=> Yellow 3891 // <5=> Blue 3892 // <6=> Magenta 3893 // <7=> Cyan 3894 // <8=> White 3895 3896 #ifndef APP_BUTTON_CONFIG_INFO_COLOR 3897 #define APP_BUTTON_CONFIG_INFO_COLOR 0 3898 #endif 3899 3900 // <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3901 3902 // <0=> Default 3903 // <1=> Black 3904 // <2=> Red 3905 // <3=> Green 3906 // <4=> Yellow 3907 // <5=> Blue 3908 // <6=> Magenta 3909 // <7=> Cyan 3910 // <8=> White 3911 3912 #ifndef APP_BUTTON_CONFIG_DEBUG_COLOR 3913 #define APP_BUTTON_CONFIG_DEBUG_COLOR 0 3914 #endif 3915 3916 // </e> 3917 3918 // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module. 3919 //========================================================== 3920 #ifndef APP_TIMER_CONFIG_LOG_ENABLED 3921 #define APP_TIMER_CONFIG_LOG_ENABLED 0 3922 #endif 3923 // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level 3924 3925 // <0=> Off 3926 // <1=> Error 3927 // <2=> Warning 3928 // <3=> Info 3929 // <4=> Debug 3930 3931 #ifndef APP_TIMER_CONFIG_LOG_LEVEL 3932 #define APP_TIMER_CONFIG_LOG_LEVEL 3 3933 #endif 3934 3935 // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled. 3936 3937 3938 // <i> If module generates a lot of logs, initial log level can 3939 // <i> be decreased to prevent flooding. Severity level can be 3940 // <i> increased on instance basis. 3941 // <0=> Off 3942 // <1=> Error 3943 // <2=> Warning 3944 // <3=> Info 3945 // <4=> Debug 3946 3947 #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3948 #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3 3949 #endif 3950 3951 // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix. 3952 3953 // <0=> Default 3954 // <1=> Black 3955 // <2=> Red 3956 // <3=> Green 3957 // <4=> Yellow 3958 // <5=> Blue 3959 // <6=> Magenta 3960 // <7=> Cyan 3961 // <8=> White 3962 3963 #ifndef APP_TIMER_CONFIG_INFO_COLOR 3964 #define APP_TIMER_CONFIG_INFO_COLOR 0 3965 #endif 3966 3967 // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 3968 3969 // <0=> Default 3970 // <1=> Black 3971 // <2=> Red 3972 // <3=> Green 3973 // <4=> Yellow 3974 // <5=> Blue 3975 // <6=> Magenta 3976 // <7=> Cyan 3977 // <8=> White 3978 3979 #ifndef APP_TIMER_CONFIG_DEBUG_COLOR 3980 #define APP_TIMER_CONFIG_DEBUG_COLOR 0 3981 #endif 3982 3983 // </e> 3984 3985 // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module. 3986 //========================================================== 3987 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 3988 #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0 3989 #endif 3990 // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level 3991 3992 // <0=> Off 3993 // <1=> Error 3994 // <2=> Warning 3995 // <3=> Info 3996 // <4=> Debug 3997 3998 #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3999 #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3 4000 #endif 4001 4002 // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix. 4003 4004 // <0=> Default 4005 // <1=> Black 4006 // <2=> Red 4007 // <3=> Green 4008 // <4=> Yellow 4009 // <5=> Blue 4010 // <6=> Magenta 4011 // <7=> Cyan 4012 // <8=> White 4013 4014 #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 4015 #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0 4016 #endif 4017 4018 // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4019 4020 // <0=> Default 4021 // <1=> Black 4022 // <2=> Red 4023 // <3=> Green 4024 // <4=> Yellow 4025 // <5=> Blue 4026 // <6=> Magenta 4027 // <7=> Cyan 4028 // <8=> White 4029 4030 #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 4031 #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0 4032 #endif 4033 4034 // </e> 4035 4036 // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module. 4037 //========================================================== 4038 #ifndef APP_USBD_CONFIG_LOG_ENABLED 4039 #define APP_USBD_CONFIG_LOG_ENABLED 0 4040 #endif 4041 // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level 4042 4043 // <0=> Off 4044 // <1=> Error 4045 // <2=> Warning 4046 // <3=> Info 4047 // <4=> Debug 4048 4049 #ifndef APP_USBD_CONFIG_LOG_LEVEL 4050 #define APP_USBD_CONFIG_LOG_LEVEL 3 4051 #endif 4052 4053 // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix. 4054 4055 // <0=> Default 4056 // <1=> Black 4057 // <2=> Red 4058 // <3=> Green 4059 // <4=> Yellow 4060 // <5=> Blue 4061 // <6=> Magenta 4062 // <7=> Cyan 4063 // <8=> White 4064 4065 #ifndef APP_USBD_CONFIG_INFO_COLOR 4066 #define APP_USBD_CONFIG_INFO_COLOR 0 4067 #endif 4068 4069 // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4070 4071 // <0=> Default 4072 // <1=> Black 4073 // <2=> Red 4074 // <3=> Green 4075 // <4=> Yellow 4076 // <5=> Blue 4077 // <6=> Magenta 4078 // <7=> Cyan 4079 // <8=> White 4080 4081 #ifndef APP_USBD_CONFIG_DEBUG_COLOR 4082 #define APP_USBD_CONFIG_DEBUG_COLOR 0 4083 #endif 4084 4085 // </e> 4086 4087 // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module. 4088 //========================================================== 4089 #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED 4090 #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0 4091 #endif 4092 // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level 4093 4094 // <0=> Off 4095 // <1=> Error 4096 // <2=> Warning 4097 // <3=> Info 4098 // <4=> Debug 4099 4100 #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL 4101 #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3 4102 #endif 4103 4104 // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix. 4105 4106 // <0=> Default 4107 // <1=> Black 4108 // <2=> Red 4109 // <3=> Green 4110 // <4=> Yellow 4111 // <5=> Blue 4112 // <6=> Magenta 4113 // <7=> Cyan 4114 // <8=> White 4115 4116 #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR 4117 #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0 4118 #endif 4119 4120 // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4121 4122 // <0=> Default 4123 // <1=> Black 4124 // <2=> Red 4125 // <3=> Green 4126 // <4=> Yellow 4127 // <5=> Blue 4128 // <6=> Magenta 4129 // <7=> Cyan 4130 // <8=> White 4131 4132 #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 4133 #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0 4134 #endif 4135 4136 // </e> 4137 4138 // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module. 4139 //========================================================== 4140 #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED 4141 #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0 4142 #endif 4143 // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level 4144 4145 // <0=> Off 4146 // <1=> Error 4147 // <2=> Warning 4148 // <3=> Info 4149 // <4=> Debug 4150 4151 #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL 4152 #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3 4153 #endif 4154 4155 // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix. 4156 4157 // <0=> Default 4158 // <1=> Black 4159 // <2=> Red 4160 // <3=> Green 4161 // <4=> Yellow 4162 // <5=> Blue 4163 // <6=> Magenta 4164 // <7=> Cyan 4165 // <8=> White 4166 4167 #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR 4168 #define APP_USBD_MSC_CONFIG_INFO_COLOR 0 4169 #endif 4170 4171 // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4172 4173 // <0=> Default 4174 // <1=> Black 4175 // <2=> Red 4176 // <3=> Green 4177 // <4=> Yellow 4178 // <5=> Blue 4179 // <6=> Magenta 4180 // <7=> Cyan 4181 // <8=> White 4182 4183 #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR 4184 #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0 4185 #endif 4186 4187 // </e> 4188 4189 // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module. 4190 //========================================================== 4191 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 4192 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0 4193 #endif 4194 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level 4195 4196 // <0=> Off 4197 // <1=> Error 4198 // <2=> Warning 4199 // <3=> Info 4200 // <4=> Debug 4201 4202 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 4203 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3 4204 #endif 4205 4206 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix. 4207 4208 // <0=> Default 4209 // <1=> Black 4210 // <2=> Red 4211 // <3=> Green 4212 // <4=> Yellow 4213 // <5=> Blue 4214 // <6=> Magenta 4215 // <7=> Cyan 4216 // <8=> White 4217 4218 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 4219 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0 4220 #endif 4221 4222 // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4223 4224 // <0=> Default 4225 // <1=> Black 4226 // <2=> Red 4227 // <3=> Green 4228 // <4=> Yellow 4229 // <5=> Blue 4230 // <6=> Magenta 4231 // <7=> Cyan 4232 // <8=> White 4233 4234 #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 4235 #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0 4236 #endif 4237 4238 // </e> 4239 4240 // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module. 4241 //========================================================== 4242 #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED 4243 #define NRF_ATFIFO_CONFIG_LOG_ENABLED 0 4244 #endif 4245 // <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level 4246 4247 // <0=> Off 4248 // <1=> Error 4249 // <2=> Warning 4250 // <3=> Info 4251 // <4=> Debug 4252 4253 #ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL 4254 #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3 4255 #endif 4256 4257 // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled 4258 4259 // <0=> Off 4260 // <1=> Error 4261 // <2=> Warning 4262 // <3=> Info 4263 // <4=> Debug 4264 4265 #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 4266 #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3 4267 #endif 4268 4269 // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix. 4270 4271 // <0=> Default 4272 // <1=> Black 4273 // <2=> Red 4274 // <3=> Green 4275 // <4=> Yellow 4276 // <5=> Blue 4277 // <6=> Magenta 4278 // <7=> Cyan 4279 // <8=> White 4280 4281 #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR 4282 #define NRF_ATFIFO_CONFIG_INFO_COLOR 0 4283 #endif 4284 4285 // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4286 4287 // <0=> Default 4288 // <1=> Black 4289 // <2=> Red 4290 // <3=> Green 4291 // <4=> Yellow 4292 // <5=> Blue 4293 // <6=> Magenta 4294 // <7=> Cyan 4295 // <8=> White 4296 4297 #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR 4298 #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0 4299 #endif 4300 4301 // </e> 4302 4303 // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module. 4304 //========================================================== 4305 #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED 4306 #define NRF_BALLOC_CONFIG_LOG_ENABLED 0 4307 #endif 4308 // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level 4309 4310 // <0=> Off 4311 // <1=> Error 4312 // <2=> Warning 4313 // <3=> Info 4314 // <4=> Debug 4315 4316 #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL 4317 #define NRF_BALLOC_CONFIG_LOG_LEVEL 3 4318 #endif 4319 4320 // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled. 4321 4322 4323 // <i> If module generates a lot of logs, initial log level can 4324 // <i> be decreased to prevent flooding. Severity level can be 4325 // <i> increased on instance basis. 4326 // <0=> Off 4327 // <1=> Error 4328 // <2=> Warning 4329 // <3=> Info 4330 // <4=> Debug 4331 4332 #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 4333 #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3 4334 #endif 4335 4336 // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix. 4337 4338 // <0=> Default 4339 // <1=> Black 4340 // <2=> Red 4341 // <3=> Green 4342 // <4=> Yellow 4343 // <5=> Blue 4344 // <6=> Magenta 4345 // <7=> Cyan 4346 // <8=> White 4347 4348 #ifndef NRF_BALLOC_CONFIG_INFO_COLOR 4349 #define NRF_BALLOC_CONFIG_INFO_COLOR 0 4350 #endif 4351 4352 // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4353 4354 // <0=> Default 4355 // <1=> Black 4356 // <2=> Red 4357 // <3=> Green 4358 // <4=> Yellow 4359 // <5=> Blue 4360 // <6=> Magenta 4361 // <7=> Cyan 4362 // <8=> White 4363 4364 #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR 4365 #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0 4366 #endif 4367 4368 // </e> 4369 4370 // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module. 4371 //========================================================== 4372 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 4373 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0 4374 #endif 4375 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level 4376 4377 // <0=> Off 4378 // <1=> Error 4379 // <2=> Warning 4380 // <3=> Info 4381 // <4=> Debug 4382 4383 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 4384 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3 4385 #endif 4386 4387 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled 4388 4389 // <0=> Off 4390 // <1=> Error 4391 // <2=> Warning 4392 // <3=> Info 4393 // <4=> Debug 4394 4395 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 4396 #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3 4397 #endif 4398 4399 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix. 4400 4401 // <0=> Default 4402 // <1=> Black 4403 // <2=> Red 4404 // <3=> Green 4405 // <4=> Yellow 4406 // <5=> Blue 4407 // <6=> Magenta 4408 // <7=> Cyan 4409 // <8=> White 4410 4411 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 4412 #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0 4413 #endif 4414 4415 // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4416 4417 // <0=> Default 4418 // <1=> Black 4419 // <2=> Red 4420 // <3=> Green 4421 // <4=> Yellow 4422 // <5=> Blue 4423 // <6=> Magenta 4424 // <7=> Cyan 4425 // <8=> White 4426 4427 #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 4428 #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0 4429 #endif 4430 4431 // </e> 4432 4433 // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module. 4434 //========================================================== 4435 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 4436 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0 4437 #endif 4438 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level 4439 4440 // <0=> Off 4441 // <1=> Error 4442 // <2=> Warning 4443 // <3=> Info 4444 // <4=> Debug 4445 4446 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 4447 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3 4448 #endif 4449 4450 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled 4451 4452 // <0=> Off 4453 // <1=> Error 4454 // <2=> Warning 4455 // <3=> Info 4456 // <4=> Debug 4457 4458 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 4459 #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3 4460 #endif 4461 4462 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 4463 4464 // <0=> Default 4465 // <1=> Black 4466 // <2=> Red 4467 // <3=> Green 4468 // <4=> Yellow 4469 // <5=> Blue 4470 // <6=> Magenta 4471 // <7=> Cyan 4472 // <8=> White 4473 4474 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 4475 #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0 4476 #endif 4477 4478 // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4479 4480 // <0=> Default 4481 // <1=> Black 4482 // <2=> Red 4483 // <3=> Green 4484 // <4=> Yellow 4485 // <5=> Blue 4486 // <6=> Magenta 4487 // <7=> Cyan 4488 // <8=> White 4489 4490 #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 4491 #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0 4492 #endif 4493 4494 // </e> 4495 4496 // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module. 4497 //========================================================== 4498 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 4499 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0 4500 #endif 4501 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level 4502 4503 // <0=> Off 4504 // <1=> Error 4505 // <2=> Warning 4506 // <3=> Info 4507 // <4=> Debug 4508 4509 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 4510 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3 4511 #endif 4512 4513 // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled 4514 4515 // <0=> Off 4516 // <1=> Error 4517 // <2=> Warning 4518 // <3=> Info 4519 // <4=> Debug 4520 4521 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 4522 #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3 4523 #endif 4524 4525 // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix. 4526 4527 // <0=> Default 4528 // <1=> Black 4529 // <2=> Red 4530 // <3=> Green 4531 // <4=> Yellow 4532 // <5=> Blue 4533 // <6=> Magenta 4534 // <7=> Cyan 4535 // <8=> White 4536 4537 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 4538 #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0 4539 #endif 4540 4541 // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4542 4543 // <0=> Default 4544 // <1=> Black 4545 // <2=> Red 4546 // <3=> Green 4547 // <4=> Yellow 4548 // <5=> Blue 4549 // <6=> Magenta 4550 // <7=> Cyan 4551 // <8=> White 4552 4553 #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 4554 #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0 4555 #endif 4556 4557 // </e> 4558 4559 // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module. 4560 //========================================================== 4561 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 4562 #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0 4563 #endif 4564 // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level 4565 4566 // <0=> Off 4567 // <1=> Error 4568 // <2=> Warning 4569 // <3=> Info 4570 // <4=> Debug 4571 4572 #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 4573 #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3 4574 #endif 4575 4576 // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix. 4577 4578 // <0=> Default 4579 // <1=> Black 4580 // <2=> Red 4581 // <3=> Green 4582 // <4=> Yellow 4583 // <5=> Blue 4584 // <6=> Magenta 4585 // <7=> Cyan 4586 // <8=> White 4587 4588 #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 4589 #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0 4590 #endif 4591 4592 // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4593 4594 // <0=> Default 4595 // <1=> Black 4596 // <2=> Red 4597 // <3=> Green 4598 // <4=> Yellow 4599 // <5=> Blue 4600 // <6=> Magenta 4601 // <7=> Cyan 4602 // <8=> White 4603 4604 #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 4605 #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0 4606 #endif 4607 4608 // </e> 4609 4610 // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module. 4611 //========================================================== 4612 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 4613 #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0 4614 #endif 4615 // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level 4616 4617 // <0=> Off 4618 // <1=> Error 4619 // <2=> Warning 4620 // <3=> Info 4621 // <4=> Debug 4622 4623 #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 4624 #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3 4625 #endif 4626 4627 // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 4628 4629 // <0=> Default 4630 // <1=> Black 4631 // <2=> Red 4632 // <3=> Green 4633 // <4=> Yellow 4634 // <5=> Blue 4635 // <6=> Magenta 4636 // <7=> Cyan 4637 // <8=> White 4638 4639 #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 4640 #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0 4641 #endif 4642 4643 // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4644 4645 // <0=> Default 4646 // <1=> Black 4647 // <2=> Red 4648 // <3=> Green 4649 // <4=> Yellow 4650 // <5=> Blue 4651 // <6=> Magenta 4652 // <7=> Cyan 4653 // <8=> White 4654 4655 #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 4656 #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0 4657 #endif 4658 4659 // </e> 4660 4661 // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module. 4662 //========================================================== 4663 #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED 4664 #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0 4665 #endif 4666 // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level 4667 4668 // <0=> Off 4669 // <1=> Error 4670 // <2=> Warning 4671 // <3=> Info 4672 // <4=> Debug 4673 4674 #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL 4675 #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3 4676 #endif 4677 4678 // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix. 4679 4680 // <0=> Default 4681 // <1=> Black 4682 // <2=> Red 4683 // <3=> Green 4684 // <4=> Yellow 4685 // <5=> Blue 4686 // <6=> Magenta 4687 // <7=> Cyan 4688 // <8=> White 4689 4690 #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR 4691 #define NRF_CLI_UART_CONFIG_INFO_COLOR 0 4692 #endif 4693 4694 // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4695 4696 // <0=> Default 4697 // <1=> Black 4698 // <2=> Red 4699 // <3=> Green 4700 // <4=> Yellow 4701 // <5=> Blue 4702 // <6=> Magenta 4703 // <7=> Cyan 4704 // <8=> White 4705 4706 #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR 4707 #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0 4708 #endif 4709 4710 // </e> 4711 4712 // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module. 4713 //========================================================== 4714 #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED 4715 #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0 4716 #endif 4717 // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level 4718 4719 // <0=> Off 4720 // <1=> Error 4721 // <2=> Warning 4722 // <3=> Info 4723 // <4=> Debug 4724 4725 #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL 4726 #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3 4727 #endif 4728 4729 // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix. 4730 4731 // <0=> Default 4732 // <1=> Black 4733 // <2=> Red 4734 // <3=> Green 4735 // <4=> Yellow 4736 // <5=> Blue 4737 // <6=> Magenta 4738 // <7=> Cyan 4739 // <8=> White 4740 4741 #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR 4742 #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0 4743 #endif 4744 4745 // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4746 4747 // <0=> Default 4748 // <1=> Black 4749 // <2=> Red 4750 // <3=> Green 4751 // <4=> Yellow 4752 // <5=> Blue 4753 // <6=> Magenta 4754 // <7=> Cyan 4755 // <8=> White 4756 4757 #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR 4758 #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0 4759 #endif 4760 4761 // </e> 4762 4763 // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module. 4764 //========================================================== 4765 #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED 4766 #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0 4767 #endif 4768 // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level 4769 4770 // <0=> Off 4771 // <1=> Error 4772 // <2=> Warning 4773 // <3=> Info 4774 // <4=> Debug 4775 4776 #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL 4777 #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3 4778 #endif 4779 4780 // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix. 4781 4782 // <0=> Default 4783 // <1=> Black 4784 // <2=> Red 4785 // <3=> Green 4786 // <4=> Yellow 4787 // <5=> Blue 4788 // <6=> Magenta 4789 // <7=> Cyan 4790 // <8=> White 4791 4792 #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR 4793 #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0 4794 #endif 4795 4796 // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4797 4798 // <0=> Default 4799 // <1=> Black 4800 // <2=> Red 4801 // <3=> Green 4802 // <4=> Yellow 4803 // <5=> Blue 4804 // <6=> Magenta 4805 // <7=> Cyan 4806 // <8=> White 4807 4808 #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR 4809 #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0 4810 #endif 4811 4812 // </e> 4813 4814 // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module. 4815 //========================================================== 4816 #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED 4817 #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0 4818 #endif 4819 // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level 4820 4821 // <0=> Off 4822 // <1=> Error 4823 // <2=> Warning 4824 // <3=> Info 4825 // <4=> Debug 4826 4827 #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL 4828 #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3 4829 #endif 4830 4831 // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix. 4832 4833 // <0=> Default 4834 // <1=> Black 4835 // <2=> Red 4836 // <3=> Green 4837 // <4=> Yellow 4838 // <5=> Blue 4839 // <6=> Magenta 4840 // <7=> Cyan 4841 // <8=> White 4842 4843 #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR 4844 #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0 4845 #endif 4846 4847 // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4848 4849 // <0=> Default 4850 // <1=> Black 4851 // <2=> Red 4852 // <3=> Green 4853 // <4=> Yellow 4854 // <5=> Blue 4855 // <6=> Magenta 4856 // <7=> Cyan 4857 // <8=> White 4858 4859 #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 4860 #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0 4861 #endif 4862 4863 // </e> 4864 4865 // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module. 4866 //========================================================== 4867 #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED 4868 #define NRF_QUEUE_CONFIG_LOG_ENABLED 0 4869 #endif 4870 // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level 4871 4872 // <0=> Off 4873 // <1=> Error 4874 // <2=> Warning 4875 // <3=> Info 4876 // <4=> Debug 4877 4878 #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL 4879 #define NRF_QUEUE_CONFIG_LOG_LEVEL 3 4880 #endif 4881 4882 // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled 4883 4884 // <0=> Off 4885 // <1=> Error 4886 // <2=> Warning 4887 // <3=> Info 4888 // <4=> Debug 4889 4890 #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 4891 #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3 4892 #endif 4893 4894 // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix. 4895 4896 // <0=> Default 4897 // <1=> Black 4898 // <2=> Red 4899 // <3=> Green 4900 // <4=> Yellow 4901 // <5=> Blue 4902 // <6=> Magenta 4903 // <7=> Cyan 4904 // <8=> White 4905 4906 #ifndef NRF_QUEUE_CONFIG_INFO_COLOR 4907 #define NRF_QUEUE_CONFIG_INFO_COLOR 0 4908 #endif 4909 4910 // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 4911 4912 // <0=> Default 4913 // <1=> Black 4914 // <2=> Red 4915 // <3=> Green 4916 // <4=> Yellow 4917 // <5=> Blue 4918 // <6=> Magenta 4919 // <7=> Cyan 4920 // <8=> White 4921 4922 #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR 4923 #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0 4924 #endif 4925 4926 // </e> 4927 4928 // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module. 4929 //========================================================== 4930 #ifndef NRF_SDH_ANT_LOG_ENABLED 4931 #define NRF_SDH_ANT_LOG_ENABLED 0 4932 #endif 4933 // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level 4934 4935 // <0=> Off 4936 // <1=> Error 4937 // <2=> Warning 4938 // <3=> Info 4939 // <4=> Debug 4940 4941 #ifndef NRF_SDH_ANT_LOG_LEVEL 4942 #define NRF_SDH_ANT_LOG_LEVEL 3 4943 #endif 4944 4945 // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix. 4946 4947 // <0=> Default 4948 // <1=> Black 4949 // <2=> Red 4950 // <3=> Green 4951 // <4=> Yellow 4952 // <5=> Blue 4953 // <6=> Magenta 4954 // <7=> Cyan 4955 // <8=> White 4956 4957 #ifndef NRF_SDH_ANT_INFO_COLOR 4958 #define NRF_SDH_ANT_INFO_COLOR 0 4959 #endif 4960 4961 // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix. 4962 4963 // <0=> Default 4964 // <1=> Black 4965 // <2=> Red 4966 // <3=> Green 4967 // <4=> Yellow 4968 // <5=> Blue 4969 // <6=> Magenta 4970 // <7=> Cyan 4971 // <8=> White 4972 4973 #ifndef NRF_SDH_ANT_DEBUG_COLOR 4974 #define NRF_SDH_ANT_DEBUG_COLOR 0 4975 #endif 4976 4977 // </e> 4978 4979 // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module. 4980 //========================================================== 4981 #ifndef NRF_SDH_BLE_LOG_ENABLED 4982 #define NRF_SDH_BLE_LOG_ENABLED 0 4983 #endif 4984 // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level 4985 4986 // <0=> Off 4987 // <1=> Error 4988 // <2=> Warning 4989 // <3=> Info 4990 // <4=> Debug 4991 4992 #ifndef NRF_SDH_BLE_LOG_LEVEL 4993 #define NRF_SDH_BLE_LOG_LEVEL 3 4994 #endif 4995 4996 // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix. 4997 4998 // <0=> Default 4999 // <1=> Black 5000 // <2=> Red 5001 // <3=> Green 5002 // <4=> Yellow 5003 // <5=> Blue 5004 // <6=> Magenta 5005 // <7=> Cyan 5006 // <8=> White 5007 5008 #ifndef NRF_SDH_BLE_INFO_COLOR 5009 #define NRF_SDH_BLE_INFO_COLOR 0 5010 #endif 5011 5012 // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix. 5013 5014 // <0=> Default 5015 // <1=> Black 5016 // <2=> Red 5017 // <3=> Green 5018 // <4=> Yellow 5019 // <5=> Blue 5020 // <6=> Magenta 5021 // <7=> Cyan 5022 // <8=> White 5023 5024 #ifndef NRF_SDH_BLE_DEBUG_COLOR 5025 #define NRF_SDH_BLE_DEBUG_COLOR 0 5026 #endif 5027 5028 // </e> 5029 5030 // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module. 5031 //========================================================== 5032 #ifndef NRF_SDH_LOG_ENABLED 5033 #define NRF_SDH_LOG_ENABLED 0 5034 #endif 5035 // <o> NRF_SDH_LOG_LEVEL - Default Severity level 5036 5037 // <0=> Off 5038 // <1=> Error 5039 // <2=> Warning 5040 // <3=> Info 5041 // <4=> Debug 5042 5043 #ifndef NRF_SDH_LOG_LEVEL 5044 #define NRF_SDH_LOG_LEVEL 3 5045 #endif 5046 5047 // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix. 5048 5049 // <0=> Default 5050 // <1=> Black 5051 // <2=> Red 5052 // <3=> Green 5053 // <4=> Yellow 5054 // <5=> Blue 5055 // <6=> Magenta 5056 // <7=> Cyan 5057 // <8=> White 5058 5059 #ifndef NRF_SDH_INFO_COLOR 5060 #define NRF_SDH_INFO_COLOR 0 5061 #endif 5062 5063 // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix. 5064 5065 // <0=> Default 5066 // <1=> Black 5067 // <2=> Red 5068 // <3=> Green 5069 // <4=> Yellow 5070 // <5=> Blue 5071 // <6=> Magenta 5072 // <7=> Cyan 5073 // <8=> White 5074 5075 #ifndef NRF_SDH_DEBUG_COLOR 5076 #define NRF_SDH_DEBUG_COLOR 0 5077 #endif 5078 5079 // </e> 5080 5081 // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module. 5082 //========================================================== 5083 #ifndef NRF_SDH_SOC_LOG_ENABLED 5084 #define NRF_SDH_SOC_LOG_ENABLED 0 5085 #endif 5086 // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level 5087 5088 // <0=> Off 5089 // <1=> Error 5090 // <2=> Warning 5091 // <3=> Info 5092 // <4=> Debug 5093 5094 #ifndef NRF_SDH_SOC_LOG_LEVEL 5095 #define NRF_SDH_SOC_LOG_LEVEL 3 5096 #endif 5097 5098 // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix. 5099 5100 // <0=> Default 5101 // <1=> Black 5102 // <2=> Red 5103 // <3=> Green 5104 // <4=> Yellow 5105 // <5=> Blue 5106 // <6=> Magenta 5107 // <7=> Cyan 5108 // <8=> White 5109 5110 #ifndef NRF_SDH_SOC_INFO_COLOR 5111 #define NRF_SDH_SOC_INFO_COLOR 0 5112 #endif 5113 5114 // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix. 5115 5116 // <0=> Default 5117 // <1=> Black 5118 // <2=> Red 5119 // <3=> Green 5120 // <4=> Yellow 5121 // <5=> Blue 5122 // <6=> Magenta 5123 // <7=> Cyan 5124 // <8=> White 5125 5126 #ifndef NRF_SDH_SOC_DEBUG_COLOR 5127 #define NRF_SDH_SOC_DEBUG_COLOR 0 5128 #endif 5129 5130 // </e> 5131 5132 // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module. 5133 //========================================================== 5134 #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED 5135 #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0 5136 #endif 5137 // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level 5138 5139 // <0=> Off 5140 // <1=> Error 5141 // <2=> Warning 5142 // <3=> Info 5143 // <4=> Debug 5144 5145 #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL 5146 #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3 5147 #endif 5148 5149 // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix. 5150 5151 // <0=> Default 5152 // <1=> Black 5153 // <2=> Red 5154 // <3=> Green 5155 // <4=> Yellow 5156 // <5=> Blue 5157 // <6=> Magenta 5158 // <7=> Cyan 5159 // <8=> White 5160 5161 #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR 5162 #define NRF_SORTLIST_CONFIG_INFO_COLOR 0 5163 #endif 5164 5165 // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 5166 5167 // <0=> Default 5168 // <1=> Black 5169 // <2=> Red 5170 // <3=> Green 5171 // <4=> Yellow 5172 // <5=> Blue 5173 // <6=> Magenta 5174 // <7=> Cyan 5175 // <8=> White 5176 5177 #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR 5178 #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0 5179 #endif 5180 5181 // </e> 5182 5183 // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module. 5184 //========================================================== 5185 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 5186 #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0 5187 #endif 5188 // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level 5189 5190 // <0=> Off 5191 // <1=> Error 5192 // <2=> Warning 5193 // <3=> Info 5194 // <4=> Debug 5195 5196 #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 5197 #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3 5198 #endif 5199 5200 // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix. 5201 5202 // <0=> Default 5203 // <1=> Black 5204 // <2=> Red 5205 // <3=> Green 5206 // <4=> Yellow 5207 // <5=> Blue 5208 // <6=> Magenta 5209 // <7=> Cyan 5210 // <8=> White 5211 5212 #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR 5213 #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0 5214 #endif 5215 5216 // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 5217 5218 // <0=> Default 5219 // <1=> Black 5220 // <2=> Red 5221 // <3=> Green 5222 // <4=> Yellow 5223 // <5=> Blue 5224 // <6=> Magenta 5225 // <7=> Cyan 5226 // <8=> White 5227 5228 #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 5229 #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0 5230 #endif 5231 5232 // </e> 5233 5234 // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules. 5235 //========================================================== 5236 #ifndef PM_LOG_ENABLED 5237 #define PM_LOG_ENABLED 1 5238 #endif 5239 // <o> PM_LOG_LEVEL - Default Severity level 5240 5241 // <0=> Off 5242 // <1=> Error 5243 // <2=> Warning 5244 // <3=> Info 5245 // <4=> Debug 5246 5247 #ifndef PM_LOG_LEVEL 5248 #define PM_LOG_LEVEL 3 5249 #endif 5250 5251 // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix. 5252 5253 // <0=> Default 5254 // <1=> Black 5255 // <2=> Red 5256 // <3=> Green 5257 // <4=> Yellow 5258 // <5=> Blue 5259 // <6=> Magenta 5260 // <7=> Cyan 5261 // <8=> White 5262 5263 #ifndef PM_LOG_INFO_COLOR 5264 #define PM_LOG_INFO_COLOR 0 5265 #endif 5266 5267 // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix. 5268 5269 // <0=> Default 5270 // <1=> Black 5271 // <2=> Red 5272 // <3=> Green 5273 // <4=> Yellow 5274 // <5=> Blue 5275 // <6=> Magenta 5276 // <7=> Cyan 5277 // <8=> White 5278 5279 #ifndef PM_LOG_DEBUG_COLOR 5280 #define PM_LOG_DEBUG_COLOR 0 5281 #endif 5282 5283 // </e> 5284 5285 // </h> 5286 //========================================================== 5287 5288 // <h> nrf_log in nRF_Serialization 5289 5290 //========================================================== 5291 // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module. 5292 //========================================================== 5293 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 5294 #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0 5295 #endif 5296 // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level 5297 5298 // <0=> Off 5299 // <1=> Error 5300 // <2=> Warning 5301 // <3=> Info 5302 // <4=> Debug 5303 5304 #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 5305 #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3 5306 #endif 5307 5308 // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix. 5309 5310 // <0=> Default 5311 // <1=> Black 5312 // <2=> Red 5313 // <3=> Green 5314 // <4=> Yellow 5315 // <5=> Blue 5316 // <6=> Magenta 5317 // <7=> Cyan 5318 // <8=> White 5319 5320 #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 5321 #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0 5322 #endif 5323 5324 // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 5325 5326 // <0=> Default 5327 // <1=> Black 5328 // <2=> Red 5329 // <3=> Green 5330 // <4=> Yellow 5331 // <5=> Blue 5332 // <6=> Magenta 5333 // <7=> Cyan 5334 // <8=> White 5335 5336 #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 5337 #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0 5338 #endif 5339 5340 // </e> 5341 5342 // </h> 5343 //========================================================== 5344 5345 // </h> 5346 //========================================================== 5347 5348 // </e> 5349 5350 // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter 5351 5352 5353 #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 5354 #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1 5355 #endif 5356 5357 // </h> 5358 //========================================================== 5359 5360 // <h> nRF_NFC 5361 5362 //========================================================== 5363 // <e> NFC_NDEF_MSG_ENABLED - nfc_ndef_msg - NFC NDEF Message generator module 5364 //========================================================== 5365 #ifndef NFC_NDEF_MSG_ENABLED 5366 #define NFC_NDEF_MSG_ENABLED 1 5367 #endif 5368 // <o> NFC_NDEF_MSG_TAG_TYPE - NFC Tag Type 5369 5370 // <2=> Type 2 Tag 5371 // <4=> Type 4 Tag 5372 5373 #ifndef NFC_NDEF_MSG_TAG_TYPE 5374 #define NFC_NDEF_MSG_TAG_TYPE 2 5375 #endif 5376 5377 // </e> 5378 5379 // <q> NFC_NDEF_RECORD_ENABLED - nfc_ndef_record - NFC NDEF Record generator module 5380 5381 5382 #ifndef NFC_NDEF_RECORD_ENABLED 5383 #define NFC_NDEF_RECORD_ENABLED 1 5384 #endif 5385 5386 // <q> NFC_NDEF_URI_MSG_ENABLED - nfc_uri_msg - Encoding data for NDEF message with URI record for NFC Tag 5387 5388 5389 #ifndef NFC_NDEF_URI_MSG_ENABLED 5390 #define NFC_NDEF_URI_MSG_ENABLED 1 5391 #endif 5392 5393 // <q> NFC_NDEF_URI_REC_ENABLED - nfc_uri_rec - Encoding data for a URI record for NFC Tag 5394 5395 5396 #ifndef NFC_NDEF_URI_REC_ENABLED 5397 #define NFC_NDEF_URI_REC_ENABLED 1 5398 #endif 5399 5400 // <e> NFC_PLATFORM_ENABLED - nfc_platform - NFC platform module for Clock control. 5401 //========================================================== 5402 #ifndef NFC_PLATFORM_ENABLED 5403 #define NFC_PLATFORM_ENABLED 1 5404 #endif 5405 // <e> NFC_PLATFORM_LOG_ENABLED - Enables logging in the module. 5406 //========================================================== 5407 #ifndef NFC_PLATFORM_LOG_ENABLED 5408 #define NFC_PLATFORM_LOG_ENABLED 0 5409 #endif 5410 // <o> NFC_PLATFORM_LOG_LEVEL - Default Severity level 5411 5412 // <0=> Off 5413 // <1=> Error 5414 // <2=> Warning 5415 // <3=> Info 5416 // <4=> Debug 5417 5418 #ifndef NFC_PLATFORM_LOG_LEVEL 5419 #define NFC_PLATFORM_LOG_LEVEL 3 5420 #endif 5421 5422 // <o> NFC_PLATFORM_INFO_COLOR - ANSI escape code prefix. 5423 5424 // <0=> Default 5425 // <1=> Black 5426 // <2=> Red 5427 // <3=> Green 5428 // <4=> Yellow 5429 // <5=> Blue 5430 // <6=> Magenta 5431 // <7=> Cyan 5432 // <8=> White 5433 5434 #ifndef NFC_PLATFORM_INFO_COLOR 5435 #define NFC_PLATFORM_INFO_COLOR 0 5436 #endif 5437 5438 // <o> NFC_PLATFORM_DEBUG_COLOR - ANSI escape code prefix. 5439 5440 // <0=> Default 5441 // <1=> Black 5442 // <2=> Red 5443 // <3=> Green 5444 // <4=> Yellow 5445 // <5=> Blue 5446 // <6=> Magenta 5447 // <7=> Cyan 5448 // <8=> White 5449 5450 #ifndef NFC_PLATFORM_DEBUG_COLOR 5451 #define NFC_PLATFORM_DEBUG_COLOR 0 5452 #endif 5453 5454 // </e> 5455 5456 // </e> 5457 5458 // </h> 5459 5460 //========================================================== 5461 // <h> nRF_Segger_RTT 5462 5463 //========================================================== 5464 // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_UP - Size of upstream buffer. 5465 // <i> Note that either @ref NRF_LOG_BACKEND_RTT_OUTPUT_BUFFER_SIZE 5466 // <i> or this value is actually used. It depends on which one is bigger. 5467 5468 #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 5469 #define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512 5470 #endif 5471 5472 // <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers. 5473 #ifndef SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 5474 #define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 2 5475 #endif 5476 5477 // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN - Size of downstream buffer. 5478 #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 5479 #define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16 5480 #endif 5481 5482 // <o> SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS - Maximum number of downstream buffers. 5483 #ifndef SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 5484 #define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 2 5485 #endif 5486 5487 // <o> SEGGER_RTT_CONFIG_DEFAULT_MODE - RTT behavior if the buffer is full. 5488 5489 5490 // <i> The following modes are supported: 5491 // <i> - SKIP - Do not block, output nothing. 5492 // <i> - TRIM - Do not block, output as much as fits. 5493 // <i> - BLOCK - Wait until there is space in the buffer. 5494 // <0=> SKIP 5495 // <1=> TRIM 5496 // <2=> BLOCK_IF_FIFO_FULL 5497 5498 #ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE 5499 #define SEGGER_RTT_CONFIG_DEFAULT_MODE 0 5500 #endif 5501 5502 // </h> 5503 //========================================================== 5504 5505 // </h> 5506 //========================================================== 5507 5508 //========================================================== 5509 // <e> NFC Tag Emulation - NFCTAGEMU 5510 // <i> Module that emulates NFC Tag Types (Currently only 5511 // <i> NFC Fourm Type 2 "Generic", and NTAG21Xs 5512 5513 #ifndef NFCTAGEMU_MODULE_ENABLED 5514 #define NFCTAGEMU_MODULE_ENABLED 1 5515 #endif 5516 5517 //========================================================== 5518 // <o> NFCTAGEMU_RX_BUFFER_SIZE - Size of receive buffer. <8-65535> 5519 // <i> Most NFC messages are relatively small, but if you expect to 5520 // <i> be able to handle something like a FAST_WRITE command that 5521 // <i> can write your whole device at one time, you'll need a buffer 5522 // <i> large enough to handle all of that. 5523 5524 #ifndef NFCTAGEMU_RX_BUFFER_SIZE 5525 #define NFCTAGEMU_RX_BUFFER_SIZE 540 5526 #endif 5527 5528 //========================================================== 5529 // <o> NFCTAGEMU_TX_BUFFER_SIZE - Size of transmit buffer. <32-65535> 5530 // <i> Like the RX buffer, while most messages are relatively small, 5531 // <i> It's not impossible that a device will ask for all your data 5532 // <i> at once. It's a good idea to have this at least the full 5533 // <i> size of your emulated tag. 5534 5535 #ifndef NFCTAGEMU_TX_BUFFER_SIZE 5536 #define NFCTAGEMU_TX_BUFFER_SIZE 540 5537 #endif 5538 5539 //========================================================== 5540 // <o> NFCTAGEMU_FLASH_RAM_BUFFER_SIZE - Size of flash copy buffer. <8-65535> 5541 // <i> The NFCT device uses EasyDMA to get data from the application. If 5542 // <i> the data is in flash (i.e. const), it the NFCT can't read it. 5543 // <i> This buffer will be used to copy data from flash before transmit. 5544 // <i> While this can be low, it's should be large enough to hold 5545 // <i> the largest single payload you have in flash. 5546 5547 #ifndef NFCTAGEMU_FLASH_RAM_BUFFER_SIZE 5548 #define NFCTAGEMU_FLASH_RAM_BUFFER_SIZE 64 5549 #endif 5550 5551 // <e> NFCTAGEMU_LOG_ENABLED - Enable logging in NFCTAGEMU and its submodules. 5552 //========================================================== 5553 5554 #ifndef NFCTAGEMU_LOG_ENABLED 5555 #define NFCTAGEMU_LOG_ENABLED 1 5556 #endif 5557 5558 // <o> NFCTAGEMU_LOG_LEVEL - Default Severity level 5559 5560 // <0=> Off 5561 // <1=> Error 5562 // <2=> Warning 5563 // <3=> Info 5564 // <4=> Debug 5565 5566 #ifndef NFCTAGEMU_LOG_LEVEL 5567 #define NFCTAGEMU_LOG_LEVEL 4 5568 #endif 5569 5570 // <q> NFCTAGEMU_VERBOSE_LOGGING - Enable verbose logging in NFCTAGEMU and its submodules. 5571 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 5572 //========================================================== 5573 5574 #ifndef NFCTAGEMU_VERBOSE_LOGGING 5575 #define NFCTAGEMU_VERBOSE_LOGGING 1 5576 #endif 5577 5578 // <o> NFCTAGEMU_INFO_COLOR - ANSI escape code prefix. 5579 5580 // <0=> Default 5581 // <1=> Black 5582 // <2=> Red 5583 // <3=> Green 5584 // <4=> Yellow 5585 // <5=> Blue 5586 // <6=> Magenta 5587 // <7=> Cyan 5588 // <8=> White 5589 5590 #ifndef NFCTAGEMU_INFO_COLOR 5591 #define NFCTAGEMU_INFO_COLOR 0 5592 #endif 5593 5594 // <o> NFCTAGEMU_DEBUG_COLOR - ANSI escape code prefix. 5595 5596 // <0=> Default 5597 // <1=> Black 5598 // <2=> Red 5599 // <3=> Green 5600 // <4=> Yellow 5601 // <5=> Blue 5602 // <6=> Magenta 5603 // <7=> Cyan 5604 // <8=> White 5605 5606 #ifndef NFCTAGEMU_DEBUG_COLOR 5607 #define NFCTAGEMU_DEBUG_COLOR 0 5608 #endif 5609 5610 // </e> 5611 5612 // </e> 5613 //========================================================== 5614 5615 // <e> APPUSB_LOG_ENABLED - Enable logging in APPUSB and its submodules. 5616 //========================================================== 5617 5618 #ifndef APPUSB_LOG_ENABLED 5619 #define APPUSB_LOG_ENABLED 1 5620 #endif 5621 5622 // <o> APPUSB_LOG_LEVEL - Default Severity level 5623 5624 // <0=> Off 5625 // <1=> Error 5626 // <2=> Warning 5627 // <3=> Info 5628 // <4=> Debug 5629 5630 #ifndef APPUSB_LOG_LEVEL 5631 #define APPUSB_LOG_LEVEL 4 5632 #endif 5633 5634 // <q> APPUSB_VERBOSE_LOGGING - Enable verbose logging in APPUSB and its submodules. 5635 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 5636 //========================================================== 5637 5638 #ifndef APPUSB_VERBOSE_LOGGING 5639 #define APPUSB_VERBOSE_LOGGING 1 5640 #endif 5641 5642 // <o> APPUSB_INFO_COLOR - ANSI escape code prefix. 5643 5644 // <0=> Default 5645 // <1=> Black 5646 // <2=> Red 5647 // <3=> Green 5648 // <4=> Yellow 5649 // <5=> Blue 5650 // <6=> Magenta 5651 // <7=> Cyan 5652 // <8=> White 5653 5654 #ifndef APPUSB_INFO_COLOR 5655 #define APPUSB_INFO_COLOR 0 5656 #endif 5657 5658 // <o> APPUSB_DEBUG_COLOR - ANSI escape code prefix. 5659 5660 // <0=> Default 5661 // <1=> Black 5662 // <2=> Red 5663 // <3=> Green 5664 // <4=> Yellow 5665 // <5=> Blue 5666 // <6=> Magenta 5667 // <7=> Cyan 5668 // <8=> White 5669 5670 #ifndef APPUSB_DEBUG_COLOR 5671 #define APPUSB_DEBUG_COLOR 0 5672 #endif 5673 5674 // </e> 5675 5676 // <e> APP_USBD_ENABLED - app_usbd - USB Device library 5677 //========================================================== 5678 #ifndef APP_USBD_ENABLED 5679 #define APP_USBD_ENABLED 1 5680 #endif 5681 // <s> APP_USBD_VID - Vendor ID. 5682 5683 // <i> Note: This value is not editable in Configuration Wizard. 5684 // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/ 5685 #ifndef APP_USBD_VID 5686 #define APP_USBD_VID USB_VID 5687 #endif 5688 5689 // <s> APP_USBD_PID - Product ID. 5690 5691 // <i> Note: This value is not editable in Configuration Wizard. 5692 // <i> Selected Product ID 5693 #ifndef APP_USBD_PID 5694 #define APP_USBD_PID USB_PID 5695 #endif 5696 5697 // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99> 5698 5699 5700 // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values. 5701 5702 #ifndef APP_USBD_DEVICE_VER_MAJOR 5703 #define APP_USBD_DEVICE_VER_MAJOR USB_DEVICE_VERSION_MAJOR 5704 #endif 5705 5706 // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9> 5707 5708 5709 // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values. 5710 5711 #ifndef APP_USBD_DEVICE_VER_MINOR 5712 #define APP_USBD_DEVICE_VER_MINOR USB_DEVICE_VERSION_MINIOR 5713 #endif 5714 5715 // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9> 5716 5717 5718 // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values. 5719 5720 #ifndef APP_USBD_DEVICE_VER_SUB 5721 #define APP_USBD_DEVICE_VER_SUB USB_DEVICE_VERSION_SUB_MINOR 5722 #endif 5723 5724 // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered. 5725 5726 5727 #ifndef APP_USBD_CONFIG_SELF_POWERED 5728 #define APP_USBD_CONFIG_SELF_POWERED USB_DEVICE_SELF_POWERED 5729 #endif 5730 5731 // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500> 5732 5733 5734 #ifndef APP_USBD_CONFIG_MAX_POWER 5735 #define APP_USBD_CONFIG_MAX_POWER USB_DEVICE_MAX_POWER 5736 #endif 5737 5738 // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events. 5739 5740 5741 // <i> Enable processing power events in USB event handler. 5742 5743 #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS 5744 #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1 5745 #endif 5746 5747 // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue. 5748 5749 // <i> This is the default configuration when all the events are placed into internal queue. 5750 // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts. 5751 // <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. 5752 // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable. 5753 //========================================================== 5754 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 5755 #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1 5756 #endif 5757 // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64> 5758 5759 5760 // <i> The size of the queue for the events that would be processed in the main loop. 5761 5762 #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE 5763 #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32 5764 #endif 5765 5766 // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode. 5767 5768 5769 // <i> Normal queue - SOF events are pushed normally into the event queue. 5770 // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty. 5771 // <i> This prevents the queue from filling up with SOF events. 5772 // <i> Interrupt - SOF events are processed in interrupt. 5773 // <0=> Normal queue 5774 // <1=> Compress queue 5775 // <2=> Interrupt 5776 5777 #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE 5778 #define APP_USBD_CONFIG_SOF_HANDLING_MODE 1 5779 #endif 5780 5781 // </e> 5782 5783 // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF. 5784 5785 5786 // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled. 5787 // <i> Use it when initializing the logger. 5788 // <i> SOF processing is always enabled when this configuration parameter is active. 5789 // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED. 5790 // <i> This means that it works even if the logging in this very module is disabled. 5791 5792 #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 5793 #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 1 5794 #endif 5795 5796 // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254> 5797 5798 5799 // <i> 31 characters can be stored in the internal USB buffer used for transfers. 5800 // <i> Any value higher than 31 creates an additional buffer just for descriptor strings. 5801 5802 #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE 5803 #define APP_USBD_CONFIG_DESC_STRING_SIZE 31 5804 #endif 5805 5806 // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion. 5807 5808 5809 // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available. 5810 5811 #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 5812 #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED USB_DEVICE_USE_UTF8_STRINGS 5813 #endif 5814 5815 // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers. 5816 5817 // <i> Note: This value is not editable in Configuration Wizard. 5818 // <i> Comma-separated list of supported languages. 5819 #ifndef APP_USBD_STRINGS_LANGIDS 5820 #define APP_USBD_STRINGS_LANGIDS USB_DEVICE_LANGUAGE_IDS 5821 #endif 5822 5823 // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID. 5824 5825 // <i> Setting ID to 0 disables the string. 5826 //========================================================== 5827 #ifndef APP_USBD_STRING_ID_MANUFACTURER 5828 #define APP_USBD_STRING_ID_MANUFACTURER 1 5829 #endif 5830 // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable. 5831 5832 5833 #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN 5834 #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 1 5835 #endif 5836 5837 // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name. 5838 5839 // <i> Note: This value is not editable in Configuration Wizard. 5840 // <i> Comma-separated list of manufacturer names for each defined language. 5841 // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string. 5842 // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values. 5843 // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values. 5844 // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor. 5845 // <i> Setting string to NULL disables that string. 5846 // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS. 5847 #ifndef APP_USBD_STRINGS_MANUFACTURER 5848 #define APP_USBD_STRINGS_MANUFACTURER USB_DEVICE_MANUFACTURER 5849 #endif 5850 5851 // </e> 5852 5853 // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID. 5854 5855 // <i> Setting ID to 0 disables the string. 5856 //========================================================== 5857 #ifndef APP_USBD_STRING_ID_PRODUCT 5858 #define APP_USBD_STRING_ID_PRODUCT 2 5859 #endif 5860 // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable. 5861 5862 5863 #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN 5864 #define APP_USBD_STRINGS_PRODUCT_EXTERN 1 5865 #endif 5866 5867 // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name. 5868 5869 // <i> Note: This value is not editable in Configuration Wizard. 5870 // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER. 5871 #ifndef APP_USBD_STRINGS_PRODUCT 5872 #define APP_USBD_STRINGS_PRODUCT USB_DEVICE_PRODUCT 5873 #endif 5874 5875 // </e> 5876 5877 // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID. 5878 5879 // <i> Setting ID to 0 disables the string. 5880 //========================================================== 5881 #ifndef APP_USBD_STRING_ID_SERIAL 5882 #define APP_USBD_STRING_ID_SERIAL 3 5883 #endif 5884 // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable. 5885 5886 5887 #ifndef APP_USBD_STRING_SERIAL_EXTERN 5888 #define APP_USBD_STRING_SERIAL_EXTERN 1 5889 #endif 5890 5891 // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number. 5892 5893 // <i> Note: This value is not editable in Configuration Wizard. 5894 // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER. 5895 #ifndef APP_USBD_STRING_SERIAL 5896 #define APP_USBD_STRING_SERIAL USB_DEVICE_SERIAL 5897 #endif 5898 5899 // </e> 5900 5901 // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID. 5902 5903 // <i> Setting ID to 0 disables the string. 5904 //========================================================== 5905 #ifndef APP_USBD_STRING_ID_CONFIGURATION 5906 #define APP_USBD_STRING_ID_CONFIGURATION 4 5907 #endif 5908 // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable. 5909 5910 5911 #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN 5912 #define APP_USBD_STRING_CONFIGURATION_EXTERN 0 5913 #endif 5914 5915 // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration. 5916 5917 // <i> Note: This value is not editable in Configuration Wizard. 5918 // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER. 5919 #ifndef APP_USBD_STRINGS_CONFIGURATION 5920 #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC(USB_DEVICE_CONFIGURATION_MODE_STRING) 5921 #endif 5922 5923 // <s> APP_USBD_STRINGS_USER - Default values for user strings. 5924 5925 // <i> Note: This value is not editable in Configuration Wizard. 5926 // <i> This value stores all application specific user strings with the default initialization. 5927 // <i> The setup is done by X-macros. 5928 // <i> Expected macro parameters: 5929 // <i> @code 5930 // <i> X(mnemonic, [=str_idx], ...) 5931 // <i> @endcode 5932 // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to 5933 // <i> @ref app_usbd_string_desc_idx_t enumerator. 5934 // <i> - @c str_idx : String index value, can be set or left empty. 5935 // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index. 5936 // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...))) 5937 // <i> - @c ... : List of string descriptors for each defined language. 5938 #ifndef APP_USBD_STRINGS_USER 5939 #define APP_USBD_STRINGS_USER USB_STRINGS_USER 5940 #endif 5941 5942 // <q> APP_USBD_MSC_ENABLED - app_usbd_msc - USB MSC class 5943 5944 5945 #ifndef APP_USBD_MSC_ENABLED 5946 #define APP_USBD_MSC_ENABLED 1 5947 #endif 5948 5949 // <q> NRF_BLOCK_DEV_EMPTY_ENABLED - nrf_block_dev_empty - Empty block device 5950 5951 5952 #ifndef NRF_BLOCK_DEV_EMPTY_ENABLED 5953 #define NRF_BLOCK_DEV_EMPTY_ENABLED 1 5954 #endif 5955 5956 // <q> NRF_BLOCK_DEV_QSPI_ENABLED - nrf_block_dev_qspi - QSPI block device 5957 5958 5959 #ifndef NRF_BLOCK_DEV_QSPI_ENABLED 5960 #define NRF_BLOCK_DEV_QSPI_ENABLED 1 5961 #endif 5962 5963 // <q> NRF_BLOCK_DEV_RAM_ENABLED - nrf_block_dev_ram - RAM block device 5964 5965 5966 #ifndef NRF_BLOCK_DEV_RAM_ENABLED 5967 #define NRF_BLOCK_DEV_RAM_ENABLED 1 5968 #endif 5969 5970 // <q> NRF_BLOCK_DEV_SDC_ENABLED - nrf_block_dev_sd - SD Card block device 5971 5972 5973 #ifndef NRF_BLOCK_DEV_SDC_ENABLED 5974 #define NRF_BLOCK_DEV_SDC_ENABLED 1 5975 #endif 5976 5977 // </e> 5978 5979 // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver 5980 //========================================================== 5981 #ifndef NRFX_USBD_ENABLED 5982 #define NRFX_USBD_ENABLED 1 5983 #endif 5984 // <o> NRFX_USBD_CONFIG_IRQ_PRIORITY - Interrupt priority 5985 5986 // <0=> 0 (highest) 5987 // <1=> 1 5988 // <2=> 2 5989 // <3=> 3 5990 // <4=> 4 5991 // <5=> 5 5992 // <6=> 6 5993 // <7=> 7 5994 5995 #ifndef NRFX_USBD_CONFIG_IRQ_PRIORITY 5996 #define NRFX_USBD_CONFIG_IRQ_PRIORITY 6 5997 #endif 5998 5999 // <o> NRFX_USBD_CONFIG_DMASCHEDULER_MODE - USBD DMA scheduler working scheme 6000 6001 // <0=> Prioritized access 6002 // <1=> Round Robin 6003 6004 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_MODE 6005 #define NRFX_USBD_CONFIG_DMASCHEDULER_MODE 0 6006 #endif 6007 6008 // <q> NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers 6009 6010 6011 // <i> This option gives priority to isochronous transfers. 6012 // <i> Enabling it assures that isochronous transfers are always processed, 6013 // <i> even if multiple other transfers are pending. 6014 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm 6015 // <i> function is called, so the option is independent of the algorithm chosen. 6016 6017 #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 6018 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1 6019 #endif 6020 6021 // <q> NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready 6022 6023 6024 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent. 6025 // <i> Else, there will be no response. 6026 6027 #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP 6028 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0 6029 #endif 6030 6031 // </e> 6032 6033 // <e> USBD_ENABLED - nrf_drv_usbd - Software Component 6034 //========================================================== 6035 #ifndef USBD_ENABLED 6036 #define USBD_ENABLED 1 6037 #endif 6038 // <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority 6039 6040 6041 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 6042 // <0=> 0 (highest) 6043 // <1=> 1 6044 // <2=> 2 6045 // <3=> 3 6046 // <4=> 4 6047 // <5=> 5 6048 // <6=> 6 6049 // <7=> 7 6050 6051 #ifndef USBD_CONFIG_IRQ_PRIORITY 6052 #define USBD_CONFIG_IRQ_PRIORITY 6 6053 #endif 6054 6055 // <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme 6056 6057 // <0=> Prioritized access 6058 // <1=> Round Robin 6059 6060 #ifndef USBD_CONFIG_DMASCHEDULER_MODE 6061 #define USBD_CONFIG_DMASCHEDULER_MODE 0 6062 #endif 6063 6064 // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers 6065 6066 6067 // <i> This option gives priority to isochronous transfers. 6068 // <i> Enabling it assures that isochronous transfers are always processed, 6069 // <i> even if multiple other transfers are pending. 6070 // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm 6071 // <i> function is called, so the option is independent of the algorithm chosen. 6072 6073 #ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST 6074 #define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1 6075 #endif 6076 6077 // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready 6078 6079 6080 // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent. 6081 // <i> Else, there will be no response. 6082 // <i> NOTE: This option does not work on Engineering A chip. 6083 6084 #ifndef USBD_CONFIG_ISO_IN_ZLP 6085 #define USBD_CONFIG_ISO_IN_ZLP 0 6086 #endif 6087 6088 // </e> 6089 6090 // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver 6091 //========================================================== 6092 #ifndef NRFX_POWER_ENABLED 6093 #define NRFX_POWER_ENABLED 1 6094 #endif 6095 // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority 6096 6097 // <0=> 0 (highest) 6098 // <1=> 1 6099 // <2=> 2 6100 // <3=> 3 6101 // <4=> 4 6102 // <5=> 5 6103 // <6=> 6 6104 // <7=> 7 6105 6106 #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY 6107 #define NRFX_POWER_CONFIG_IRQ_PRIORITY 6 6108 #endif 6109 6110 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator 6111 6112 6113 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled. 6114 6115 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN 6116 #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0 6117 #endif 6118 6119 // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator 6120 6121 6122 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled. 6123 6124 #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 6125 #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0 6126 #endif 6127 6128 // </e> 6129 6130 // <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer 6131 //========================================================== 6132 #ifndef POWER_ENABLED 6133 #define POWER_ENABLED 1 6134 #endif 6135 // <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority 6136 6137 6138 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 6139 // <0=> 0 (highest) 6140 // <1=> 1 6141 // <2=> 2 6142 // <3=> 3 6143 // <4=> 4 6144 // <5=> 5 6145 // <6=> 6 6146 // <7=> 7 6147 6148 #ifndef POWER_CONFIG_IRQ_PRIORITY 6149 #define POWER_CONFIG_IRQ_PRIORITY 6 6150 #endif 6151 6152 // <q> POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator 6153 6154 6155 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled. 6156 6157 #ifndef POWER_CONFIG_DEFAULT_DCDCEN 6158 #define POWER_CONFIG_DEFAULT_DCDCEN 0 6159 #endif 6160 6161 // <q> POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator 6162 6163 6164 // <i> This settings means only that components for DCDC regulator are installed and it can be enabled. 6165 6166 #ifndef POWER_CONFIG_DEFAULT_DCDCENHV 6167 #define POWER_CONFIG_DEFAULT_DCDCENHV 0 6168 #endif 6169 6170 // </e> 6171 6172 // <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver 6173 //========================================================== 6174 #ifndef NRFX_QSPI_ENABLED 6175 #define NRFX_QSPI_ENABLED 1 6176 #endif 6177 // <o> NRFX_QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255> 6178 6179 6180 #ifndef NRFX_QSPI_CONFIG_SCK_DELAY 6181 #define NRFX_QSPI_CONFIG_SCK_DELAY 1 6182 #endif 6183 6184 // <o> NRFX_QSPI_CONFIG_XIP_OFFSET - Address offset in the external memory for Execute in Place operation. 6185 #ifndef NRFX_QSPI_CONFIG_XIP_OFFSET 6186 #define NRFX_QSPI_CONFIG_XIP_OFFSET 0 6187 #endif 6188 6189 // <o> NRFX_QSPI_CONFIG_READOC - Number of data lines and opcode used for reading. 6190 6191 // <0=> FastRead 6192 // <1=> Read2O 6193 // <2=> Read2IO 6194 // <3=> Read4O 6195 // <4=> Read4IO 6196 6197 #ifndef NRFX_QSPI_CONFIG_READOC 6198 #define NRFX_QSPI_CONFIG_READOC 0 6199 #endif 6200 6201 // <o> NRFX_QSPI_CONFIG_WRITEOC - Number of data lines and opcode used for writing. 6202 6203 // <0=> PP 6204 // <1=> PP2O 6205 // <2=> PP4O 6206 // <3=> PP4IO 6207 6208 #ifndef NRFX_QSPI_CONFIG_WRITEOC 6209 #define NRFX_QSPI_CONFIG_WRITEOC 0 6210 #endif 6211 6212 // <o> NRFX_QSPI_CONFIG_ADDRMODE - Addressing mode. 6213 6214 // <0=> 24bit 6215 // <1=> 32bit 6216 6217 #ifndef NRFX_QSPI_CONFIG_ADDRMODE 6218 #define NRFX_QSPI_CONFIG_ADDRMODE 0 6219 #endif 6220 6221 // <o> NRFX_QSPI_CONFIG_MODE - SPI mode. 6222 6223 // <0=> Mode 0 6224 // <1=> Mode 1 6225 6226 #ifndef NRFX_QSPI_CONFIG_MODE 6227 #define NRFX_QSPI_CONFIG_MODE 0 6228 #endif 6229 6230 // <o> NRFX_QSPI_CONFIG_FREQUENCY - Frequency divider. 6231 6232 // <0=> 32MHz/1 6233 // <1=> 32MHz/2 6234 // <2=> 32MHz/3 6235 // <3=> 32MHz/4 6236 // <4=> 32MHz/5 6237 // <5=> 32MHz/6 6238 // <6=> 32MHz/7 6239 // <7=> 32MHz/8 6240 // <8=> 32MHz/9 6241 // <9=> 32MHz/10 6242 // <10=> 32MHz/11 6243 // <11=> 32MHz/12 6244 // <12=> 32MHz/13 6245 // <13=> 32MHz/14 6246 // <14=> 32MHz/15 6247 // <15=> 32MHz/16 6248 6249 #ifndef NRFX_QSPI_CONFIG_FREQUENCY 6250 #define NRFX_QSPI_CONFIG_FREQUENCY 15 6251 #endif 6252 6253 // <s> NRFX_QSPI_PIN_SCK - SCK pin value. 6254 #ifndef NRFX_QSPI_PIN_SCK 6255 #define NRFX_QSPI_PIN_SCK NRF_QSPI_PIN_NOT_CONNECTED 6256 #endif 6257 6258 // <s> NRFX_QSPI_PIN_CSN - CSN pin value. 6259 #ifndef NRFX_QSPI_PIN_CSN 6260 #define NRFX_QSPI_PIN_CSN NRF_QSPI_PIN_NOT_CONNECTED 6261 #endif 6262 6263 // <s> NRFX_QSPI_PIN_IO0 - IO0 pin value. 6264 #ifndef NRFX_QSPI_PIN_IO0 6265 #define NRFX_QSPI_PIN_IO0 NRF_QSPI_PIN_NOT_CONNECTED 6266 #endif 6267 6268 // <s> NRFX_QSPI_PIN_IO1 - IO1 pin value. 6269 #ifndef NRFX_QSPI_PIN_IO1 6270 #define NRFX_QSPI_PIN_IO1 NRF_QSPI_PIN_NOT_CONNECTED 6271 #endif 6272 6273 // <s> NRFX_QSPI_PIN_IO2 - IO2 pin value. 6274 #ifndef NRFX_QSPI_PIN_IO2 6275 #define NRFX_QSPI_PIN_IO2 NRF_QSPI_PIN_NOT_CONNECTED 6276 #endif 6277 6278 // <s> NRFX_QSPI_PIN_IO3 - IO3 pin value. 6279 #ifndef NRFX_QSPI_PIN_IO3 6280 #define NRFX_QSPI_PIN_IO3 NRF_QSPI_PIN_NOT_CONNECTED 6281 #endif 6282 6283 // <o> NRFX_QSPI_CONFIG_IRQ_PRIORITY - Interrupt priority 6284 6285 // <0=> 0 (highest) 6286 // <1=> 1 6287 // <2=> 2 6288 // <3=> 3 6289 // <4=> 4 6290 // <5=> 5 6291 // <6=> 6 6292 // <7=> 7 6293 6294 #ifndef NRFX_QSPI_CONFIG_IRQ_PRIORITY 6295 #define NRFX_QSPI_CONFIG_IRQ_PRIORITY 6 6296 #endif 6297 6298 // </e> 6299 6300 // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver 6301 //========================================================== 6302 #ifndef NRFX_SPIM_ENABLED 6303 #define NRFX_SPIM_ENABLED 1 6304 #endif 6305 // <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance 6306 6307 6308 #ifndef NRFX_SPIM0_ENABLED 6309 #define NRFX_SPIM0_ENABLED 1 6310 #endif 6311 6312 // <q> NRFX_SPIM1_ENABLED - Enable SPIM1 instance 6313 6314 6315 #ifndef NRFX_SPIM1_ENABLED 6316 #define NRFX_SPIM1_ENABLED 1 6317 #endif 6318 6319 // <q> NRFX_SPIM2_ENABLED - Enable SPIM2 instance 6320 6321 6322 #ifndef NRFX_SPIM2_ENABLED 6323 #define NRFX_SPIM2_ENABLED 1 6324 #endif 6325 6326 // <q> NRFX_SPIM3_ENABLED - Enable SPIM3 instance 6327 6328 6329 #ifndef NRFX_SPIM3_ENABLED 6330 #define NRFX_SPIM3_ENABLED 1 6331 #endif 6332 6333 // <q> NRFX_SPIM_EXTENDED_ENABLED - Enable extended SPIM features 6334 6335 6336 #ifndef NRFX_SPIM_EXTENDED_ENABLED 6337 #define NRFX_SPIM_EXTENDED_ENABLED 1 6338 #endif 6339 6340 // <o> NRFX_SPIM_MISO_PULL_CFG - MISO pin pull configuration. 6341 6342 // <0=> NRF_GPIO_PIN_NOPULL 6343 // <1=> NRF_GPIO_PIN_PULLDOWN 6344 // <3=> NRF_GPIO_PIN_PULLUP 6345 6346 #ifndef NRFX_SPIM_MISO_PULL_CFG 6347 #define NRFX_SPIM_MISO_PULL_CFG 1 6348 #endif 6349 6350 // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 6351 6352 // <0=> 0 (highest) 6353 // <1=> 1 6354 // <2=> 2 6355 // <3=> 3 6356 // <4=> 4 6357 // <5=> 5 6358 // <6=> 6 6359 // <7=> 7 6360 6361 #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 6362 #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 6 6363 #endif 6364 6365 // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module. 6366 //========================================================== 6367 #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED 6368 #define NRFX_SPIM_CONFIG_LOG_ENABLED 0 6369 #endif 6370 // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level 6371 6372 // <0=> Off 6373 // <1=> Error 6374 // <2=> Warning 6375 // <3=> Info 6376 // <4=> Debug 6377 6378 #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL 6379 #define NRFX_SPIM_CONFIG_LOG_LEVEL 3 6380 #endif 6381 6382 // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix. 6383 6384 // <0=> Default 6385 // <1=> Black 6386 // <2=> Red 6387 // <3=> Green 6388 // <4=> Yellow 6389 // <5=> Blue 6390 // <6=> Magenta 6391 // <7=> Cyan 6392 // <8=> White 6393 6394 #ifndef NRFX_SPIM_CONFIG_INFO_COLOR 6395 #define NRFX_SPIM_CONFIG_INFO_COLOR 0 6396 #endif 6397 6398 // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 6399 6400 // <0=> Default 6401 // <1=> Black 6402 // <2=> Red 6403 // <3=> Green 6404 // <4=> Yellow 6405 // <5=> Blue 6406 // <6=> Magenta 6407 // <7=> Cyan 6408 // <8=> White 6409 6410 #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR 6411 #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0 6412 #endif 6413 6414 // </e> 6415 6416 // </e> 6417 6418 // <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver 6419 //========================================================== 6420 #ifndef NRFX_SPI_ENABLED 6421 #define NRFX_SPI_ENABLED 1 6422 #endif 6423 // <q> NRFX_SPI0_ENABLED - Enable SPI0 instance 6424 6425 6426 #ifndef NRFX_SPI0_ENABLED 6427 #define NRFX_SPI0_ENABLED 0 6428 #endif 6429 6430 // <q> NRFX_SPI1_ENABLED - Enable SPI1 instance 6431 6432 6433 #ifndef NRFX_SPI1_ENABLED 6434 #define NRFX_SPI1_ENABLED 0 6435 #endif 6436 6437 // <q> NRFX_SPI2_ENABLED - Enable SPI2 instance 6438 6439 6440 #ifndef NRFX_SPI2_ENABLED 6441 #define NRFX_SPI2_ENABLED 0 6442 #endif 6443 6444 // <o> NRFX_SPI_MISO_PULL_CFG - MISO pin pull configuration. 6445 6446 // <0=> NRF_GPIO_PIN_NOPULL 6447 // <1=> NRF_GPIO_PIN_PULLDOWN 6448 // <3=> NRF_GPIO_PIN_PULLUP 6449 6450 #ifndef NRFX_SPI_MISO_PULL_CFG 6451 #define NRFX_SPI_MISO_PULL_CFG 1 6452 #endif 6453 6454 // <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority 6455 6456 // <0=> 0 (highest) 6457 // <1=> 1 6458 // <2=> 2 6459 // <3=> 3 6460 // <4=> 4 6461 // <5=> 5 6462 // <6=> 6 6463 // <7=> 7 6464 6465 #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6466 #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6 6467 #endif 6468 6469 // <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module. 6470 //========================================================== 6471 #ifndef NRFX_SPI_CONFIG_LOG_ENABLED 6472 #define NRFX_SPI_CONFIG_LOG_ENABLED 0 6473 #endif 6474 // <o> NRFX_SPI_CONFIG_LOG_LEVEL - Default Severity level 6475 6476 // <0=> Off 6477 // <1=> Error 6478 // <2=> Warning 6479 // <3=> Info 6480 // <4=> Debug 6481 6482 #ifndef NRFX_SPI_CONFIG_LOG_LEVEL 6483 #define NRFX_SPI_CONFIG_LOG_LEVEL 3 6484 #endif 6485 6486 // <o> NRFX_SPI_CONFIG_INFO_COLOR - ANSI escape code prefix. 6487 6488 // <0=> Default 6489 // <1=> Black 6490 // <2=> Red 6491 // <3=> Green 6492 // <4=> Yellow 6493 // <5=> Blue 6494 // <6=> Magenta 6495 // <7=> Cyan 6496 // <8=> White 6497 6498 #ifndef NRFX_SPI_CONFIG_INFO_COLOR 6499 #define NRFX_SPI_CONFIG_INFO_COLOR 0 6500 #endif 6501 6502 // <o> NRFX_SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix. 6503 6504 // <0=> Default 6505 // <1=> Black 6506 // <2=> Red 6507 // <3=> Green 6508 // <4=> Yellow 6509 // <5=> Blue 6510 // <6=> Magenta 6511 // <7=> Cyan 6512 // <8=> White 6513 6514 #ifndef NRFX_SPI_CONFIG_DEBUG_COLOR 6515 #define NRFX_SPI_CONFIG_DEBUG_COLOR 0 6516 #endif 6517 6518 // </e> 6519 6520 // </e> 6521 6522 //========================================================== 6523 6524 // <e> ODIIN_LOG_ENABLED - Enable logging in APPFILES and its submodules. 6525 //========================================================== 6526 6527 #ifndef ODIIN_LOG_ENABLED 6528 #define ODIIN_LOG_ENABLED 1 6529 #endif 6530 6531 // <o> ODIIN_LOG_LEVEL - Default Severity level 6532 6533 // <0=> Off 6534 // <1=> Error 6535 // <2=> Warning 6536 // <3=> Info 6537 // <4=> Debug 6538 6539 #ifndef ODIIN_LOG_LEVEL 6540 #define ODIIN_LOG_LEVEL 4 6541 #endif 6542 6543 // <q> ODIIN_VERBOSE_LOGGING - Enable verbose logging in APPFILES and its submodules. 6544 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 6545 //========================================================== 6546 6547 #ifndef ODIIN_VERBOSE_LOGGING 6548 #define ODIIN_VERBOSE_LOGGING 0 6549 #endif 6550 6551 // <o> ODIIN_INFO_COLOR - ANSI escape code prefix. 6552 6553 // <0=> Default 6554 // <1=> Black 6555 // <2=> Red 6556 // <3=> Green 6557 // <4=> Yellow 6558 // <5=> Blue 6559 // <6=> Magenta 6560 // <7=> Cyan 6561 // <8=> White 6562 6563 #ifndef ODIIN_INFO_COLOR 6564 #define ODIIN_INFO_COLOR 7 6565 #endif 6566 6567 // <o> ODIIN_DEBUG_COLOR - ANSI escape code prefix. 6568 6569 // <0=> Default 6570 // <1=> Black 6571 // <2=> Red 6572 // <3=> Green 6573 // <4=> Yellow 6574 // <5=> Blue 6575 // <6=> Magenta 6576 // <7=> Cyan 6577 // <8=> White 6578 6579 #ifndef ODIIN_DEBUG_COLOR 6580 #define ODIIN_DEBUG_COLOR 8 6581 #endif 6582 6583 // </e> 6584 6585 6586 //========================================================== 6587 6588 // <e> APPFILES_LOG_ENABLED - Enable logging in APPFILES and its submodules. 6589 //========================================================== 6590 6591 #ifndef APPFILES_LOG_ENABLED 6592 #define APPFILES_LOG_ENABLED 1 6593 #endif 6594 6595 // <o> APPFILES_LOG_LEVEL - Default Severity level 6596 6597 // <0=> Off 6598 // <1=> Error 6599 // <2=> Warning 6600 // <3=> Info 6601 // <4=> Debug 6602 6603 #ifndef APPFILES_LOG_LEVEL 6604 #define APPFILES_LOG_LEVEL 4 6605 #endif 6606 6607 // <q> APPFILES_VERBOSE_LOGGING - Enable verbose logging in APPFILES and its submodules. 6608 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 6609 //========================================================== 6610 6611 #ifndef APPFILES_VERBOSE_LOGGING 6612 #define APPFILES_VERBOSE_LOGGING 0 6613 #endif 6614 6615 // <o> APPFILES_INFO_COLOR - ANSI escape code prefix. 6616 6617 // <0=> Default 6618 // <1=> Black 6619 // <2=> Red 6620 // <3=> Green 6621 // <4=> Yellow 6622 // <5=> Blue 6623 // <6=> Magenta 6624 // <7=> Cyan 6625 // <8=> White 6626 6627 #ifndef APPFILES_INFO_COLOR 6628 #define APPFILES_INFO_COLOR 0 6629 #endif 6630 6631 // <o> APPFILES_DEBUG_COLOR - ANSI escape code prefix. 6632 6633 // <0=> Default 6634 // <1=> Black 6635 // <2=> Red 6636 // <3=> Green 6637 // <4=> Yellow 6638 // <5=> Blue 6639 // <6=> Magenta 6640 // <7=> Cyan 6641 // <8=> White 6642 6643 #ifndef APPFILES_DEBUG_COLOR 6644 #define APPFILES_DEBUG_COLOR 0 6645 #endif 6646 6647 // </e> 6648 6649 //========================================================== 6650 6651 // <e> APPDISPLAY_LOG_ENABLED - Enable logging in APPDISPLAY and its submodules. 6652 //========================================================== 6653 6654 #ifndef APPDISPLAY_LOG_ENABLED 6655 #define APPDISPLAY_LOG_ENABLED 1 6656 #endif 6657 6658 // <o> APPDISPLAY_LOG_LEVEL - Default Severity level 6659 6660 // <0=> Off 6661 // <1=> Error 6662 // <2=> Warning 6663 // <3=> Info 6664 // <4=> Debug 6665 6666 #ifndef APPDISPLAY_LOG_LEVEL 6667 #define APPDISPLAY_LOG_LEVEL 4 6668 #endif 6669 6670 // <q> APPDISPLAY_VERBOSE_LOGGING - Enable verbose logging in APPDISPLAY and its submodules. 6671 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 6672 //========================================================== 6673 6674 #ifndef APPDISPLAY_VERBOSE_LOGGING 6675 #define APPDISPLAY_VERBOSE_LOGGING 0 6676 #endif 6677 6678 // <o> APPDISPLAY_INFO_COLOR - ANSI escape code prefix. 6679 6680 // <0=> Default 6681 // <1=> Black 6682 // <2=> Red 6683 // <3=> Green 6684 // <4=> Yellow 6685 // <5=> Blue 6686 // <6=> Magenta 6687 // <7=> Cyan 6688 // <8=> White 6689 6690 #ifndef APPDISPLAY_INFO_COLOR 6691 #define APPDISPLAY_INFO_COLOR 0 6692 #endif 6693 6694 // <o> APPDISPLAY_DEBUG_COLOR - ANSI escape code prefix. 6695 6696 // <0=> Default 6697 // <1=> Black 6698 // <2=> Red 6699 // <3=> Green 6700 // <4=> Yellow 6701 // <5=> Blue 6702 // <6=> Magenta 6703 // <7=> Cyan 6704 // <8=> White 6705 6706 #ifndef APPDISPLAY_DEBUG_COLOR 6707 #define APPDISPLAY_DEBUG_COLOR 0 6708 #endif 6709 6710 // </e> 6711 6712 //========================================================== 6713 6714 // <e> APPINPUT_LOG_ENABLED - Enable logging in APPINPUT and its submodules. 6715 //========================================================== 6716 6717 #ifndef APPINPUT_LOG_ENABLED 6718 #define APPINPUT_LOG_ENABLED 1 6719 #endif 6720 6721 // <o> APPINPUT_LOG_LEVEL - Default Severity level 6722 6723 // <0=> Off 6724 // <1=> Error 6725 // <2=> Warning 6726 // <3=> Info 6727 // <4=> Debug 6728 6729 #ifndef APPINPUT_LOG_LEVEL 6730 #define APPINPUT_LOG_LEVEL 4 6731 #endif 6732 6733 // <q> APPINPUT_VERBOSE_LOGGING - Enable verbose logging in APPINPUT and its submodules. 6734 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 6735 //========================================================== 6736 6737 #ifndef APPINPUT_VERBOSE_LOGGING 6738 #define APPINPUT_VERBOSE_LOGGING 1 6739 #endif 6740 6741 // <o> APPINPUT_INFO_COLOR - ANSI escape code prefix. 6742 6743 // <0=> Default 6744 // <1=> Black 6745 // <2=> Red 6746 // <3=> Green 6747 // <4=> Yellow 6748 // <5=> Blue 6749 // <6=> Magenta 6750 // <7=> Cyan 6751 // <8=> White 6752 6753 #ifndef APPINPUT_INFO_COLOR 6754 #define APPINPUT_INFO_COLOR 0 6755 #endif 6756 6757 // <o> APPINPUT_DEBUG_COLOR - ANSI escape code prefix. 6758 6759 // <0=> Default 6760 // <1=> Black 6761 // <2=> Red 6762 // <3=> Green 6763 // <4=> Yellow 6764 // <5=> Blue 6765 // <6=> Magenta 6766 // <7=> Cyan 6767 // <8=> White 6768 6769 #ifndef APPINPUT_DEBUG_COLOR 6770 #define APPINPUT_DEBUG_COLOR 0 6771 #endif 6772 6773 // </e> 6774 // <e> APPCRYPTO_LOG_ENABLED - Enable logging in APPCRYPTO and its submodules. 6775 //========================================================== 6776 6777 #ifndef APPCRYPTO_LOG_ENABLED 6778 #define APPCRYPTO_LOG_ENABLED 1 6779 #endif 6780 6781 // <o> APPCRYPTO_LOG_LEVEL - Default Severity level 6782 6783 // <0=> Off 6784 // <1=> Error 6785 // <2=> Warning 6786 // <3=> Info 6787 // <4=> Debug 6788 6789 #ifndef APPCRYPTO_LOG_LEVEL 6790 #define APPCRYPTO_LOG_LEVEL 4 6791 #endif 6792 6793 // <q> APPCRYPTO_VERBOSE_LOGGING - Enable verbose logging in APPCRYPTO and its submodules. 6794 // <i> This is for even more verbose than 'Debug' logging. Requires LOG_LEVEL to be set to debug. 6795 //========================================================== 6796 6797 #ifndef APPCRYPTO_VERBOSE_LOGGING 6798 #define APPCRYPTO_VERBOSE_LOGGING 1 6799 #endif 6800 6801 // <o> APPCRYPTO_INFO_COLOR - ANSI escape code prefix. 6802 6803 // <0=> Default 6804 // <1=> Black 6805 // <2=> Red 6806 // <3=> Green 6807 // <4=> Yellow 6808 // <5=> Blue 6809 // <6=> Magenta 6810 // <7=> Cyan 6811 // <8=> White 6812 6813 #ifndef APPCRYPTO_INFO_COLOR 6814 #define APPCRYPTO_INFO_COLOR 0 6815 #endif 6816 6817 // <o> APPCRYPTO_DEBUG_COLOR - ANSI escape code prefix. 6818 6819 // <0=> Default 6820 // <1=> Black 6821 // <2=> Red 6822 // <3=> Green 6823 // <4=> Yellow 6824 // <5=> Blue 6825 // <6=> Magenta 6826 // <7=> Cyan 6827 // <8=> White 6828 6829 #ifndef APPCRYPTO_DEBUG_COLOR 6830 #define APPCRYPTO_DEBUG_COLOR 0 6831 #endif 6832 6833 // </e> 6834 6835 // <h> nRF_Drivers_External 6836 6837 //========================================================== 6838 // <e> ILI9341_ENABLED - ili9341 - ILI9341 TFT controller 6839 //========================================================== 6840 #ifndef ILI9341_ENABLED 6841 #define ILI9341_ENABLED 1 6842 #endif 6843 // <h> SPI_CONFIGURATION - SPI configuration 6844 6845 //========================================================== 6846 // <o> ILI9341_SCK_PIN - Pin number <0-73> 6847 6848 6849 #ifndef ILI9341_SCK_PIN 6850 #error "Please Define ILI9341_SCK_PIN in your custom board config header." 6851 #endif 6852 6853 // <o> ILI9341_MISO_PIN - Pin number <0-73> 6854 6855 6856 #ifndef ILI9341_MISO_PIN 6857 #error "Please Define ILI9341_MISO_PIN in your custom board config header." 6858 #endif 6859 6860 // <o> ILI9341_MOSI_PIN - Pin number <0-73> 6861 6862 6863 #ifndef ILI9341_MOSI_PIN 6864 #error "Please Define ILI9341_MOSI_PIN in your custom board config header." 6865 #endif 6866 6867 // <o> ILI9341_SS_PIN - Pin number <0-73> 6868 6869 6870 #ifndef ILI9341_SS_PIN 6871 #error "Please Define ILI9341_SS_PIN in your custom board config header." 6872 #endif 6873 6874 // <o> ILI9341_IRQ_PRIORITY - Interrupt priority 6875 6876 6877 // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice 6878 // <0=> 0 (highest) 6879 // <1=> 1 6880 // <2=> 2 6881 // <3=> 3 6882 // <4=> 4 6883 // <5=> 5 6884 // <6=> 6 6885 // <7=> 7 6886 6887 #ifndef ILI9341_IRQ_PRIORITY 6888 #define ILI9341_IRQ_PRIORITY 3 6889 #endif 6890 6891 // </h> 6892 //========================================================== 6893 6894 // <o> ILI9341_SPI_INSTANCE 6895 6896 // <0=> 0 6897 // <1=> 1 6898 // <2=> 2 6899 6900 #ifndef ILI9341_SPI_INSTANCE 6901 #define ILI9341_SPI_INSTANCE 3 6902 #endif 6903 6904 // <o> ILI9341_DC_PIN - Pin number <0-73> 6905 6906 6907 #ifndef ILI9341_DC_PIN 6908 #error "Please Define ILI9341_DC_PIN in your custom board config header." 6909 #endif 6910 6911 // <o> ILI9341_RESET_PIN - Pin number <0-73> 6912 6913 6914 #ifndef ILI9341_RESET_PIN 6915 #error "Please Define ILI9341_RESET_PIN in your custom board config header." 6916 #endif 6917 6918 // <o> ILI9341_BACKLIGHT_CONTROL_PIN - Pin number <0-73> 6919 6920 6921 #ifndef ILI9341_BACKLIGHT_CONTROL_PIN 6922 #error "Please Define ILI9341_BACKLIGHT_CONTROL_PIN in your custom board config header." 6923 #endif 6924 6925 6926 // <o> ILI9341_BACKLIGHT_LED_PWM_INSTANCE - Which PWM instance to use for the LCD Backlight <0-3> 6927 6928 #ifndef ILI9341_BACKLIGHT_LED_PWM_INSTANCE 6929 #define ILI9341_BACKLIGHT_LED_PWM_INSTANCE 0 6930 #endif 6931 6932 // <o> ILI9341_HEIGHT - ILI9341 height <0-320> 6933 6934 6935 #ifndef ILI9341_HEIGHT 6936 #define ILI9341_HEIGHT 320 6937 #endif 6938 6939 // <o> ILI9341_WIDTH - ILI9341 width <0-240> 6940 6941 6942 #ifndef ILI9341_WIDTH 6943 #define ILI9341_WIDTH 240 6944 #endif 6945 6946 // <o> ILI9341_RING_BUFFER_SIZE - ILI9341 interal ring buffer size. Must be a power of 2. <0-8192> 6947 6948 6949 #ifndef ILI9341_RING_BUFFER_SIZE 6950 #define ILI9341_RING_BUFFER_SIZE 8192 6951 #endif 6952 6953 // </e> 6954 6955 // </h> 6956 //========================================================== 6957 6958 // <h> nRF_Crypto 6959 6960 //========================================================== 6961 // <e> NRF_CRYPTO_ENABLED - nrf_crypto - Cryptography library. 6962 //========================================================== 6963 #ifndef NRF_CRYPTO_ENABLED 6964 #define NRF_CRYPTO_ENABLED 1 6965 #endif 6966 // <o> NRF_CRYPTO_ALLOCATOR - Memory allocator 6967 6968 6969 // <i> Choose memory allocator used by nrf_crypto. Default is alloca if possible or nrf_malloc otherwise. If 'User macros' are selected, the user has to create 'nrf_crypto_allocator.h' file that contains NRF_CRYPTO_ALLOC, NRF_CRYPTO_FREE, and NRF_CRYPTO_ALLOC_ON_STACK. 6970 // <0=> Default 6971 // <1=> User macros 6972 // <2=> On stack (alloca) 6973 // <3=> C dynamic memory (malloc) 6974 // <4=> SDK Memory Manager (nrf_malloc) 6975 6976 #ifndef NRF_CRYPTO_ALLOCATOR 6977 #define NRF_CRYPTO_ALLOCATOR 0 6978 #endif 6979 6980 // <e> NRF_CRYPTO_BACKEND_CC310_BL_ENABLED - Enable the ARM Cryptocell CC310 reduced backend. 6981 6982 // <i> The CC310 hardware-accelerated cryptography backend with reduced functionality and footprint (only available on nRF52840). 6983 //========================================================== 6984 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 6985 #define NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 0 6986 #endif 6987 // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310_BL. 6988 6989 6990 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 6991 #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 0 6992 #endif 6993 6994 // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310_BL. 6995 6996 6997 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 6998 #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 1 6999 #endif 7000 7001 // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED - CC310_BL SHA-256 hash functionality. 7002 7003 7004 // <i> CC310_BL backend implementation for hardware-accelerated SHA-256. 7005 7006 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 7007 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 1 7008 #endif 7009 7010 // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED - nrf_cc310_bl buffers to RAM before running hash operation 7011 7012 7013 // <i> Enabling this makes hashing of addresses in FLASH range possible. Size of buffer allocated for hashing is set by NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 7014 7015 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 7016 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 0 7017 #endif 7018 7019 // <o> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE - nrf_cc310_bl hash outputs digests in little endian 7020 // <i> Makes the nrf_cc310_bl hash functions output digests in little endian format. Only for use in nRF SDK DFU! 7021 7022 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 7023 #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 4096 7024 #endif 7025 7026 // <q> NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310 bl. 7027 7028 7029 // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used 7030 7031 #ifndef NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 7032 #define NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 1 7033 #endif 7034 7035 // </e> 7036 7037 // <e> NRF_CRYPTO_BACKEND_CC310_ENABLED - Enable the ARM Cryptocell CC310 backend. 7038 7039 // <i> The CC310 hardware-accelerated cryptography backend (only available on nRF52840). 7040 //========================================================== 7041 #ifndef NRF_CRYPTO_BACKEND_CC310_ENABLED 7042 #define NRF_CRYPTO_BACKEND_CC310_ENABLED 1 7043 #endif 7044 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED - Enable the AES CBC mode using CC310. 7045 7046 7047 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 7048 #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 1 7049 #endif 7050 7051 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED - Enable the AES CTR mode using CC310. 7052 7053 7054 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 7055 #define NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 1 7056 #endif 7057 7058 // <q> NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED - Enable the AES ECB mode using CC310. 7059 7060 7061 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 7062 #define NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 1 7063 #endif 7064 7065 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED - Enable the AES CBC_MAC mode using CC310. 7066 7067 7068 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 7069 #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 1 7070 #endif 7071 7072 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED - Enable the AES CMAC mode using CC310. 7073 7074 7075 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 7076 #define NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 1 7077 #endif 7078 7079 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED - Enable the AES CCM mode using CC310. 7080 7081 7082 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 7083 #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1 7084 #endif 7085 7086 // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED - Enable the AES CCM* mode using CC310. 7087 7088 7089 #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 7090 #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 1 7091 #endif 7092 7093 // <q> NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using CC310. 7094 7095 7096 #ifndef NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 7097 #define NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 1 7098 #endif 7099 7100 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED - Enable the secp160r1 elliptic curve support using CC310. 7101 7102 7103 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 7104 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 1 7105 #endif 7106 7107 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED - Enable the secp160r2 elliptic curve support using CC310. 7108 7109 7110 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 7111 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 1 7112 #endif 7113 7114 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED - Enable the secp192r1 elliptic curve support using CC310. 7115 7116 7117 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 7118 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 1 7119 #endif 7120 7121 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310. 7122 7123 7124 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 7125 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 1 7126 #endif 7127 7128 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310. 7129 7130 7131 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 7132 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1 7133 #endif 7134 7135 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED - Enable the secp384r1 elliptic curve support using CC310. 7136 7137 7138 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 7139 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 1 7140 #endif 7141 7142 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED - Enable the secp521r1 elliptic curve support using CC310. 7143 7144 7145 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 7146 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 1 7147 #endif 7148 7149 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED - Enable the secp160k1 elliptic curve support using CC310. 7150 7151 7152 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 7153 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 1 7154 #endif 7155 7156 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED - Enable the secp192k1 elliptic curve support using CC310. 7157 7158 7159 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 7160 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 1 7161 #endif 7162 7163 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED - Enable the secp224k1 elliptic curve support using CC310. 7164 7165 7166 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 7167 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 1 7168 #endif 7169 7170 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED - Enable the secp256k1 elliptic curve support using CC310. 7171 7172 7173 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 7174 #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 1 7175 #endif 7176 7177 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED - Enable the Curve25519 curve support using CC310. 7178 7179 7180 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 7181 #define NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 1 7182 #endif 7183 7184 // <q> NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED - Enable the Ed25519 curve support using CC310. 7185 7186 7187 #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 7188 #define NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 1 7189 #endif 7190 7191 // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED - CC310 SHA-256 hash functionality. 7192 7193 7194 // <i> CC310 backend implementation for hardware-accelerated SHA-256. 7195 7196 #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 7197 #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 1 7198 #endif 7199 7200 // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED - CC310 SHA-512 hash functionality 7201 7202 7203 // <i> CC310 backend implementation for SHA-512 (in software). 7204 7205 #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 7206 #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 0 7207 #endif 7208 7209 // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED - CC310 HMAC using SHA-256 7210 7211 7212 // <i> CC310 backend implementation for HMAC using hardware-accelerated SHA-256. 7213 7214 #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 7215 #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 1 7216 #endif 7217 7218 // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED - CC310 HMAC using SHA-512 7219 7220 7221 // <i> CC310 backend implementation for HMAC using SHA-512 (in software). 7222 7223 #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 7224 #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 0 7225 #endif 7226 7227 // <q> NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED - Enable RNG support using CC310. 7228 7229 7230 #ifndef NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 7231 #define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1 7232 #endif 7233 7234 // <q> NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310. 7235 7236 7237 // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used 7238 7239 #ifndef NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 7240 #define NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 1 7241 #endif 7242 7243 // </e> 7244 7245 // <e> NRF_CRYPTO_BACKEND_CIFRA_ENABLED - Enable the Cifra backend. 7246 //========================================================== 7247 #ifndef NRF_CRYPTO_BACKEND_CIFRA_ENABLED 7248 #define NRF_CRYPTO_BACKEND_CIFRA_ENABLED 0 7249 #endif 7250 // <q> NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED - Enable the AES EAX mode using Cifra. 7251 7252 7253 #ifndef NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 7254 #define NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 1 7255 #endif 7256 7257 // </e> 7258 7259 // <e> NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED - Enable the mbed TLS backend. 7260 //========================================================== 7261 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 7262 #define NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 0 7263 #endif 7264 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED - Enable the AES CBC mode mbed TLS. 7265 7266 7267 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 7268 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 1 7269 #endif 7270 7271 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED - Enable the AES CTR mode using mbed TLS. 7272 7273 7274 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 7275 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 1 7276 #endif 7277 7278 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED - Enable the AES CFB mode using mbed TLS. 7279 7280 7281 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 7282 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 1 7283 #endif 7284 7285 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED - Enable the AES ECB mode using mbed TLS. 7286 7287 7288 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 7289 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 1 7290 #endif 7291 7292 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED - Enable the AES CBC MAC mode using mbed TLS. 7293 7294 7295 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 7296 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 1 7297 #endif 7298 7299 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED - Enable the AES CMAC mode using mbed TLS. 7300 7301 7302 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 7303 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 1 7304 #endif 7305 7306 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED - Enable the AES CCM mode using mbed TLS. 7307 7308 7309 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 7310 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 1 7311 #endif 7312 7313 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED - Enable the AES GCM mode using mbed TLS. 7314 7315 7316 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 7317 #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 1 7318 #endif 7319 7320 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve 7321 7322 7323 // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using MBEDTLS 7324 7325 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 7326 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 1 7327 #endif 7328 7329 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve 7330 7331 7332 // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using MBEDTLS 7333 7334 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 7335 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 1 7336 #endif 7337 7338 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve 7339 7340 7341 // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using MBEDTLS 7342 7343 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 7344 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 1 7345 #endif 7346 7347 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED - Enable secp384r1 (NIST 384-bit) curve 7348 7349 7350 // <i> Enable this setting if you need secp384r1 (NIST 384-bit) support using MBEDTLS 7351 7352 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 7353 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 1 7354 #endif 7355 7356 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED - Enable secp521r1 (NIST 521-bit) curve 7357 7358 7359 // <i> Enable this setting if you need secp521r1 (NIST 521-bit) support using MBEDTLS 7360 7361 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 7362 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 1 7363 #endif 7364 7365 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED - Enable secp192k1 (Koblitz 192-bit) curve 7366 7367 7368 // <i> Enable this setting if you need secp192k1 (Koblitz 192-bit) support using MBEDTLS 7369 7370 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 7371 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 1 7372 #endif 7373 7374 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED - Enable secp224k1 (Koblitz 224-bit) curve 7375 7376 7377 // <i> Enable this setting if you need secp224k1 (Koblitz 224-bit) support using MBEDTLS 7378 7379 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 7380 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 1 7381 #endif 7382 7383 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve 7384 7385 7386 // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using MBEDTLS 7387 7388 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 7389 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 1 7390 #endif 7391 7392 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED - Enable bp256r1 (Brainpool 256-bit) curve 7393 7394 7395 // <i> Enable this setting if you need bp256r1 (Brainpool 256-bit) support using MBEDTLS 7396 7397 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 7398 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 1 7399 #endif 7400 7401 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED - Enable bp384r1 (Brainpool 384-bit) curve 7402 7403 7404 // <i> Enable this setting if you need bp384r1 (Brainpool 384-bit) support using MBEDTLS 7405 7406 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 7407 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 1 7408 #endif 7409 7410 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED - Enable bp512r1 (Brainpool 512-bit) curve 7411 7412 7413 // <i> Enable this setting if you need bp512r1 (Brainpool 512-bit) support using MBEDTLS 7414 7415 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 7416 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 1 7417 #endif 7418 7419 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED - Enable Curve25519 curve 7420 7421 7422 // <i> Enable this setting if you need Curve25519 support using MBEDTLS 7423 7424 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 7425 #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 1 7426 #endif 7427 7428 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED - Enable mbed TLS SHA-256 hash functionality. 7429 7430 7431 // <i> mbed TLS backend implementation for SHA-256. 7432 7433 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 7434 #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 1 7435 #endif 7436 7437 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED - Enable mbed TLS SHA-512 hash functionality. 7438 7439 7440 // <i> mbed TLS backend implementation for SHA-512. 7441 7442 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 7443 #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 1 7444 #endif 7445 7446 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED - Enable mbed TLS HMAC using SHA-256. 7447 7448 7449 // <i> mbed TLS backend implementation for HMAC using SHA-256. 7450 7451 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 7452 #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 1 7453 #endif 7454 7455 // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED - Enable mbed TLS HMAC using SHA-512. 7456 7457 7458 // <i> mbed TLS backend implementation for HMAC using SHA-512. 7459 7460 #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 7461 #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 1 7462 #endif 7463 7464 // </e> 7465 7466 // <e> NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED - Enable the micro-ecc backend. 7467 //========================================================== 7468 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 7469 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 0 7470 #endif 7471 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve 7472 7473 7474 // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using micro-ecc 7475 7476 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 7477 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 1 7478 #endif 7479 7480 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve 7481 7482 7483 // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using micro-ecc 7484 7485 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 7486 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 1 7487 #endif 7488 7489 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve 7490 7491 7492 // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using micro-ecc 7493 7494 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 7495 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 1 7496 #endif 7497 7498 // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve 7499 7500 7501 // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using micro-ecc 7502 7503 #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 7504 #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 1 7505 #endif 7506 7507 // </e> 7508 7509 // <e> NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED - Enable the nRF HW RNG backend. 7510 7511 // <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices. 7512 //========================================================== 7513 #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 7514 #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 0 7515 #endif 7516 // <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm. 7517 7518 7519 // <i> Enable mbed TLS CTR-DRBG standardized by NIST (NIST SP 800-90A Rev. 1). The nRF HW RNG is used as an entropy source for seeding. 7520 7521 #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 7522 #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 1 7523 #endif 7524 7525 // </e> 7526 7527 // <e> NRF_CRYPTO_BACKEND_NRF_SW_ENABLED - Enable the legacy nRFx sw for crypto. 7528 7529 // <i> The nRF SW cryptography backend (only used in bootloader context). 7530 //========================================================== 7531 #ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 7532 #define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 0 7533 #endif 7534 // <q> NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED - nRF SW hash backend support for SHA-256 7535 7536 7537 // <i> The nRF SW backend provide access to nRF SDK legacy hash implementation of SHA-256. 7538 7539 #ifndef NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 7540 #define NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 1 7541 #endif 7542 7543 // </e> 7544 7545 // <e> NRF_CRYPTO_BACKEND_OBERON_ENABLED - Enable the Oberon backend 7546 7547 // <i> The Oberon backend 7548 //========================================================== 7549 #ifndef NRF_CRYPTO_BACKEND_OBERON_ENABLED 7550 #define NRF_CRYPTO_BACKEND_OBERON_ENABLED 0 7551 #endif 7552 // <q> NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using Oberon. 7553 7554 7555 #ifndef NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 7556 #define NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 1 7557 #endif 7558 7559 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED - Enable secp256r1 curve 7560 7561 7562 // <i> Enable this setting if you need secp256r1 curve support using Oberon library 7563 7564 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 7565 #define NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 1 7566 #endif 7567 7568 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED - Enable Curve25519 ECDH 7569 7570 7571 // <i> Enable this setting if you need Curve25519 ECDH support using Oberon library 7572 7573 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 7574 #define NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 1 7575 #endif 7576 7577 // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED - Enable Ed25519 signature scheme 7578 7579 7580 // <i> Enable this setting if you need Ed25519 support using Oberon library 7581 7582 #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 7583 #define NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 1 7584 #endif 7585 7586 // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED - Oberon SHA-256 hash functionality 7587 7588 7589 // <i> Oberon backend implementation for SHA-256. 7590 7591 #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 7592 #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 1 7593 #endif 7594 7595 // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED - Oberon SHA-512 hash functionality 7596 7597 7598 // <i> Oberon backend implementation for SHA-512. 7599 7600 #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 7601 #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 1 7602 #endif 7603 7604 // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED - Oberon HMAC using SHA-256 7605 7606 7607 // <i> Oberon backend implementation for HMAC using SHA-256. 7608 7609 #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 7610 #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 1 7611 #endif 7612 7613 // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED - Oberon HMAC using SHA-512 7614 7615 7616 // <i> Oberon backend implementation for HMAC using SHA-512. 7617 7618 #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 7619 #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 1 7620 #endif 7621 7622 // </e> 7623 7624 // <e> NRF_CRYPTO_BACKEND_OPTIGA_ENABLED - Enable the nrf_crypto Optiga Trust X backend. 7625 7626 // <i> Enables the nrf_crypto backend for Optiga Trust X devices. 7627 //========================================================== 7628 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 7629 #define NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 0 7630 #endif 7631 // <q> NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED - Optiga backend support for RNG 7632 7633 7634 // <i> The Optiga backend provide external chip RNG. 7635 7636 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 7637 #define NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 0 7638 #endif 7639 7640 // <q> NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED - Optiga backend support for ECC secp256r1 7641 7642 7643 // <i> The Optiga backend provide external chip ECC using secp256r1. 7644 7645 #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 7646 #define NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 1 7647 #endif 7648 7649 // </e> 7650 7651 // <q> NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED - Big-endian byte order in raw Curve25519 data 7652 7653 7654 // <i> Enable big-endian byte order in Curve25519 API, if set to 1. Use little-endian, if set to 0. 7655 7656 #ifndef NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 7657 #define NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 0 7658 #endif 7659 7660 // </e> 7661 7662 // <h> nrf_crypto_rng - RNG Configuration 7663 7664 //========================================================== 7665 // <q> NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED - Use static memory buffers for context and temporary init buffer. 7666 7667 7668 // <i> Always recommended when using the nRF HW RNG as the context and temporary buffers are small. Consider disabling if using the CC310 RNG in a RAM constrained application. In this case, memory must be provided to nrf_crypto_rng_init, or it can be allocated internally provided that NRF_CRYPTO_ALLOCATOR does not allocate memory on the stack. 7669 7670 #ifndef NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED 7671 #define NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED 1 7672 #endif 7673 7674 // <q> NRF_CRYPTO_RNG_AUTO_INIT_ENABLED - Initialize the RNG module automatically when nrf_crypto is initialized. 7675 7676 7677 // <i> Automatic initialization is only supported with static or internally allocated context and temporary memory. 7678 7679 #ifndef NRF_CRYPTO_RNG_AUTO_INIT_ENABLED 7680 #define NRF_CRYPTO_RNG_AUTO_INIT_ENABLED 1 7681 #endif 7682 7683 // </h> 7684 //========================================================== 7685 7686 // </h> 7687 //========================================================== 7688 7689 // <<< end of configuration section >>> 7690 #endif //SDK_CONFIG_H 7691