ref: fc5424cb72e477c5f1bbfaeddb5c50b851a965ae
src/libs/mynewt-nimble/porting/npl/riot/include/syscfg/syscfg.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 |
/** * This file was generated by Apache newt version: 1.9.0-dev */ #ifndef H_MYNEWT_SYSCFG_ #define H_MYNEWT_SYSCFG_ /** * This macro exists to ensure code includes this header when needed. If code * checks the existence of a setting directly via ifdef without including this * header, the setting macro will silently evaluate to 0. In contrast, an * attempt to use these macros without including this header will result in a * compiler error. */ #define MYNEWT_VAL(_name) MYNEWT_VAL_ ## _name #define MYNEWT_VAL_CHOICE(_name, _val) MYNEWT_VAL_ ## _name ## __ ## _val /*** @apache-mynewt-core/compiler/arm-none-eabi-m4 */ #ifndef MYNEWT_VAL_HARDFLOAT #define MYNEWT_VAL_HARDFLOAT (0) #endif /*** @apache-mynewt-core/hw/bsp/nordic_pca10056 */ #ifndef MYNEWT_VAL_BSP_NRF52840 #define MYNEWT_VAL_BSP_NRF52840 (1) #endif #ifndef MYNEWT_VAL_SOFT_PWM #define MYNEWT_VAL_SOFT_PWM (0) #endif /*** @apache-mynewt-core/hw/hal */ #ifndef MYNEWT_VAL_HAL_ENABLE_SOFTWARE_BREAKPOINTS #define MYNEWT_VAL_HAL_ENABLE_SOFTWARE_BREAKPOINTS (1) #endif #ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_BUF_SZ #define MYNEWT_VAL_HAL_FLASH_VERIFY_BUF_SZ (16) #endif #ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_ERASES #define MYNEWT_VAL_HAL_FLASH_VERIFY_ERASES (0) #endif #ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_WRITES #define MYNEWT_VAL_HAL_FLASH_VERIFY_WRITES (0) #endif #ifndef MYNEWT_VAL_HAL_SYSTEM_RESET_CB #define MYNEWT_VAL_HAL_SYSTEM_RESET_CB (0) #endif /*** @apache-mynewt-core/hw/mcu/nordic/nrf52xxx */ #ifndef MYNEWT_VAL_ADC_0 #define MYNEWT_VAL_ADC_0 (0) #endif #ifndef MYNEWT_VAL_ADC_0_REFMV_0 #define MYNEWT_VAL_ADC_0_REFMV_0 (0) #endif #ifndef MYNEWT_VAL_CRYPTO #define MYNEWT_VAL_CRYPTO (0) #endif #ifndef MYNEWT_VAL_GPIO_AS_PIN_RESET #define MYNEWT_VAL_GPIO_AS_PIN_RESET (0) #endif #ifndef MYNEWT_VAL_I2C_0 #define MYNEWT_VAL_I2C_0 (0) #endif #ifndef MYNEWT_VAL_I2C_0_FREQ_KHZ #define MYNEWT_VAL_I2C_0_FREQ_KHZ (100) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_I2C_0_PIN_SCL #define MYNEWT_VAL_I2C_0_PIN_SCL (27) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_I2C_0_PIN_SDA #define MYNEWT_VAL_I2C_0_PIN_SDA (26) #endif #ifndef MYNEWT_VAL_I2C_1 #define MYNEWT_VAL_I2C_1 (0) #endif #ifndef MYNEWT_VAL_I2C_1_FREQ_KHZ #define MYNEWT_VAL_I2C_1_FREQ_KHZ (100) #endif #undef MYNEWT_VAL_I2C_1_PIN_SCL #undef MYNEWT_VAL_I2C_1_PIN_SDA #ifndef MYNEWT_VAL_MCU_BUS_DRIVER_I2C_USE_TWIM #define MYNEWT_VAL_MCU_BUS_DRIVER_I2C_USE_TWIM (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_MCU_DCDC_ENABLED #define MYNEWT_VAL_MCU_DCDC_ENABLED (1) #endif #ifndef MYNEWT_VAL_MCU_DEBUG_IGNORE_BKPT #define MYNEWT_VAL_MCU_DEBUG_IGNORE_BKPT (0) #endif #ifndef MYNEWT_VAL_MCU_FLASH_MIN_WRITE_SIZE #define MYNEWT_VAL_MCU_FLASH_MIN_WRITE_SIZE (1) #endif #ifndef MYNEWT_VAL_MCU_GPIO_USE_PORT_EVENT #define MYNEWT_VAL_MCU_GPIO_USE_PORT_EVENT (0) #endif #ifndef MYNEWT_VAL_MCU_I2C_RECOVERY_DELAY_USEC #define MYNEWT_VAL_MCU_I2C_RECOVERY_DELAY_USEC (100) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_MCU_LFCLK_SOURCE__LFRC #define MYNEWT_VAL_MCU_LFCLK_SOURCE__LFRC (0) #endif #ifndef MYNEWT_VAL_MCU_LFCLK_SOURCE__LFSYNTH #define MYNEWT_VAL_MCU_LFCLK_SOURCE__LFSYNTH (0) #endif #ifndef MYNEWT_VAL_MCU_LFCLK_SOURCE__LFXO #define MYNEWT_VAL_MCU_LFCLK_SOURCE__LFXO (1) #endif #ifndef MYNEWT_VAL_MCU_LFCLK_SOURCE #define MYNEWT_VAL_MCU_LFCLK_SOURCE (1) #endif #ifndef MYNEWT_VAL_MCU_NRF52832 #define MYNEWT_VAL_MCU_NRF52832 (0) #endif #ifndef MYNEWT_VAL_MCU_NRF52840 #define MYNEWT_VAL_MCU_NRF52840 (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_MCU_TARGET__nRF52810 #define MYNEWT_VAL_MCU_TARGET__nRF52810 (0) #endif #ifndef MYNEWT_VAL_MCU_TARGET__nRF52811 #define MYNEWT_VAL_MCU_TARGET__nRF52811 (0) #endif #ifndef MYNEWT_VAL_MCU_TARGET__nRF52832 #define MYNEWT_VAL_MCU_TARGET__nRF52832 (0) #endif #ifndef MYNEWT_VAL_MCU_TARGET__nRF52840 #define MYNEWT_VAL_MCU_TARGET__nRF52840 (1) #endif #ifndef MYNEWT_VAL_MCU_TARGET #define MYNEWT_VAL_MCU_TARGET (1) #endif #ifndef MYNEWT_VAL_NFC_PINS_AS_GPIO #define MYNEWT_VAL_NFC_PINS_AS_GPIO (1) #endif #ifndef MYNEWT_VAL_OS_TICKS_PER_SEC #define MYNEWT_VAL_OS_TICKS_PER_SEC (128) #endif #ifndef MYNEWT_VAL_PWM_0 #define MYNEWT_VAL_PWM_0 (0) #endif #ifndef MYNEWT_VAL_PWM_1 #define MYNEWT_VAL_PWM_1 (0) #endif #ifndef MYNEWT_VAL_PWM_2 #define MYNEWT_VAL_PWM_2 (0) #endif #ifndef MYNEWT_VAL_PWM_3 #define MYNEWT_VAL_PWM_3 (0) #endif #ifndef MYNEWT_VAL_QSPI_ADDRMODE #define MYNEWT_VAL_QSPI_ADDRMODE (0) #endif #ifndef MYNEWT_VAL_QSPI_DPMCONFIG #define MYNEWT_VAL_QSPI_DPMCONFIG (0) #endif #ifndef MYNEWT_VAL_QSPI_ENABLE #define MYNEWT_VAL_QSPI_ENABLE (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_FLASH_PAGE_SIZE #define MYNEWT_VAL_QSPI_FLASH_PAGE_SIZE (256) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_FLASH_SECTOR_COUNT #define MYNEWT_VAL_QSPI_FLASH_SECTOR_COUNT (4096) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_FLASH_SECTOR_SIZE #define MYNEWT_VAL_QSPI_FLASH_SECTOR_SIZE (4096) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_CS #define MYNEWT_VAL_QSPI_PIN_CS (17) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_DIO0 #define MYNEWT_VAL_QSPI_PIN_DIO0 (20) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_DIO1 #define MYNEWT_VAL_QSPI_PIN_DIO1 (21) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_DIO2 #define MYNEWT_VAL_QSPI_PIN_DIO2 (22) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_DIO3 #define MYNEWT_VAL_QSPI_PIN_DIO3 (23) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_QSPI_PIN_SCK #define MYNEWT_VAL_QSPI_PIN_SCK (19) #endif #ifndef MYNEWT_VAL_QSPI_READOC #define MYNEWT_VAL_QSPI_READOC (0) #endif #ifndef MYNEWT_VAL_QSPI_SCK_DELAY #define MYNEWT_VAL_QSPI_SCK_DELAY (0) #endif #ifndef MYNEWT_VAL_QSPI_SCK_FREQ #define MYNEWT_VAL_QSPI_SCK_FREQ (0) #endif #ifndef MYNEWT_VAL_QSPI_SPI_MODE #define MYNEWT_VAL_QSPI_SPI_MODE (0) #endif #ifndef MYNEWT_VAL_QSPI_WRITEOC #define MYNEWT_VAL_QSPI_WRITEOC (0) #endif #ifndef MYNEWT_VAL_SPI_0_MASTER #define MYNEWT_VAL_SPI_0_MASTER (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_MASTER_PIN_MISO #define MYNEWT_VAL_SPI_0_MASTER_PIN_MISO (47) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_MASTER_PIN_MOSI #define MYNEWT_VAL_SPI_0_MASTER_PIN_MOSI (46) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_MASTER_PIN_SCK #define MYNEWT_VAL_SPI_0_MASTER_PIN_SCK (45) #endif #ifndef MYNEWT_VAL_SPI_0_SLAVE #define MYNEWT_VAL_SPI_0_SLAVE (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_SLAVE_PIN_MISO #define MYNEWT_VAL_SPI_0_SLAVE_PIN_MISO (47) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_SLAVE_PIN_MOSI #define MYNEWT_VAL_SPI_0_SLAVE_PIN_MOSI (46) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_SLAVE_PIN_SCK #define MYNEWT_VAL_SPI_0_SLAVE_PIN_SCK (45) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_SPI_0_SLAVE_PIN_SS #define MYNEWT_VAL_SPI_0_SLAVE_PIN_SS (44) #endif #ifndef MYNEWT_VAL_SPI_1_MASTER #define MYNEWT_VAL_SPI_1_MASTER (0) #endif #undef MYNEWT_VAL_SPI_1_MASTER_PIN_MISO #undef MYNEWT_VAL_SPI_1_MASTER_PIN_MOSI #undef MYNEWT_VAL_SPI_1_MASTER_PIN_SCK #ifndef MYNEWT_VAL_SPI_1_SLAVE #define MYNEWT_VAL_SPI_1_SLAVE (0) #endif #undef MYNEWT_VAL_SPI_1_SLAVE_PIN_MISO #undef MYNEWT_VAL_SPI_1_SLAVE_PIN_MOSI #undef MYNEWT_VAL_SPI_1_SLAVE_PIN_SCK #undef MYNEWT_VAL_SPI_1_SLAVE_PIN_SS #ifndef MYNEWT_VAL_SPI_2_MASTER #define MYNEWT_VAL_SPI_2_MASTER (0) #endif #undef MYNEWT_VAL_SPI_2_MASTER_PIN_MISO #undef MYNEWT_VAL_SPI_2_MASTER_PIN_MOSI #undef MYNEWT_VAL_SPI_2_MASTER_PIN_SCK #ifndef MYNEWT_VAL_SPI_2_SLAVE #define MYNEWT_VAL_SPI_2_SLAVE (0) #endif #undef MYNEWT_VAL_SPI_2_SLAVE_PIN_MISO #undef MYNEWT_VAL_SPI_2_SLAVE_PIN_MOSI #undef MYNEWT_VAL_SPI_2_SLAVE_PIN_SCK #undef MYNEWT_VAL_SPI_2_SLAVE_PIN_SS #ifndef MYNEWT_VAL_SPI_3_MASTER #define MYNEWT_VAL_SPI_3_MASTER (0) #endif #undef MYNEWT_VAL_SPI_3_MASTER_PIN_MISO #undef MYNEWT_VAL_SPI_3_MASTER_PIN_MOSI #undef MYNEWT_VAL_SPI_3_MASTER_PIN_SCK #ifndef MYNEWT_VAL_TEMP #define MYNEWT_VAL_TEMP (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_TIMER_0 #define MYNEWT_VAL_TIMER_0 (0) #endif #ifndef MYNEWT_VAL_TIMER_1 #define MYNEWT_VAL_TIMER_1 (0) #endif #ifndef MYNEWT_VAL_TIMER_2 #define MYNEWT_VAL_TIMER_2 (0) #endif #ifndef MYNEWT_VAL_TIMER_3 #define MYNEWT_VAL_TIMER_3 (0) #endif #ifndef MYNEWT_VAL_TIMER_4 #define MYNEWT_VAL_TIMER_4 (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_TIMER_5 #define MYNEWT_VAL_TIMER_5 (1) #endif #ifndef MYNEWT_VAL_TRNG #define MYNEWT_VAL_TRNG (0) #endif #ifndef MYNEWT_VAL_UART_0 #define MYNEWT_VAL_UART_0 (1) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_UART_0_PIN_CTS #define MYNEWT_VAL_UART_0_PIN_CTS (7) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_UART_0_PIN_RTS #define MYNEWT_VAL_UART_0_PIN_RTS (5) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_UART_0_PIN_RX #define MYNEWT_VAL_UART_0_PIN_RX (8) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_UART_0_PIN_TX #define MYNEWT_VAL_UART_0_PIN_TX (6) #endif #ifndef MYNEWT_VAL_UART_1 #define MYNEWT_VAL_UART_1 (0) #endif #ifndef MYNEWT_VAL_UART_1_PIN_CTS #define MYNEWT_VAL_UART_1_PIN_CTS (-1) #endif #ifndef MYNEWT_VAL_UART_1_PIN_RTS #define MYNEWT_VAL_UART_1_PIN_RTS (-1) #endif #undef MYNEWT_VAL_UART_1_PIN_RX #undef MYNEWT_VAL_UART_1_PIN_TX /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-core/hw/mcu/nordic/nrf52xxx) */ #ifndef MYNEWT_VAL_XTAL_32768 #define MYNEWT_VAL_XTAL_32768 (1) #endif #ifndef MYNEWT_VAL_XTAL_32768_SYNTH #define MYNEWT_VAL_XTAL_32768_SYNTH (0) #endif #ifndef MYNEWT_VAL_XTAL_RC #define MYNEWT_VAL_XTAL_RC (0) #endif /*** @apache-mynewt-core/kernel/os */ #ifndef MYNEWT_VAL_FLOAT_USER #define MYNEWT_VAL_FLOAT_USER (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-core/kernel/os) */ #ifndef MYNEWT_VAL_MSYS_1_BLOCK_COUNT #define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (5) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-core/kernel/os) */ #ifndef MYNEWT_VAL_MSYS_1_BLOCK_SIZE #define MYNEWT_VAL_MSYS_1_BLOCK_SIZE (88) #endif #ifndef MYNEWT_VAL_MSYS_1_SANITY_MIN_COUNT #define MYNEWT_VAL_MSYS_1_SANITY_MIN_COUNT (0) #endif #ifndef MYNEWT_VAL_MSYS_2_BLOCK_COUNT #define MYNEWT_VAL_MSYS_2_BLOCK_COUNT (0) #endif #ifndef MYNEWT_VAL_MSYS_2_BLOCK_SIZE #define MYNEWT_VAL_MSYS_2_BLOCK_SIZE (0) #endif #ifndef MYNEWT_VAL_MSYS_2_SANITY_MIN_COUNT #define MYNEWT_VAL_MSYS_2_SANITY_MIN_COUNT (0) #endif #ifndef MYNEWT_VAL_MSYS_SANITY_TIMEOUT #define MYNEWT_VAL_MSYS_SANITY_TIMEOUT (60000) #endif #ifndef MYNEWT_VAL_OS_ASSERT_CB #define MYNEWT_VAL_OS_ASSERT_CB (0) #endif #ifndef MYNEWT_VAL_OS_CLI #define MYNEWT_VAL_OS_CLI (0) #endif #ifndef MYNEWT_VAL_OS_COREDUMP #define MYNEWT_VAL_OS_COREDUMP (0) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/kernel/os) */ #ifndef MYNEWT_VAL_OS_CPUTIME_FREQ #define MYNEWT_VAL_OS_CPUTIME_FREQ (32768) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-core/kernel/os) */ #ifndef MYNEWT_VAL_OS_CPUTIME_TIMER_NUM #define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM (5) #endif #ifndef MYNEWT_VAL_OS_CRASH_FILE_LINE #define MYNEWT_VAL_OS_CRASH_FILE_LINE (0) #endif #ifndef MYNEWT_VAL_OS_CRASH_LOG #define MYNEWT_VAL_OS_CRASH_LOG (0) #endif #ifndef MYNEWT_VAL_OS_CRASH_RESTORE_REGS #define MYNEWT_VAL_OS_CRASH_RESTORE_REGS (0) #endif #ifndef MYNEWT_VAL_OS_CRASH_STACKTRACE #define MYNEWT_VAL_OS_CRASH_STACKTRACE (0) #endif #ifndef MYNEWT_VAL_OS_CTX_SW_STACK_CHECK #define MYNEWT_VAL_OS_CTX_SW_STACK_CHECK (0) #endif #ifndef MYNEWT_VAL_OS_CTX_SW_STACK_GUARD #define MYNEWT_VAL_OS_CTX_SW_STACK_GUARD (4) #endif #ifndef MYNEWT_VAL_OS_DEBUG_MODE #define MYNEWT_VAL_OS_DEBUG_MODE (0) #endif #ifndef MYNEWT_VAL_OS_EVENTQ_DEBUG #define MYNEWT_VAL_OS_EVENTQ_DEBUG (0) #endif #ifndef MYNEWT_VAL_OS_EVENTQ_MONITOR #define MYNEWT_VAL_OS_EVENTQ_MONITOR (0) #endif #ifndef MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MAX #define MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MAX (600000) #endif #ifndef MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MIN #define MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MIN (100) #endif #ifndef MYNEWT_VAL_OS_MAIN_STACK_SIZE #define MYNEWT_VAL_OS_MAIN_STACK_SIZE (1024) #endif #ifndef MYNEWT_VAL_OS_MAIN_TASK_PRIO #define MYNEWT_VAL_OS_MAIN_TASK_PRIO (127) #endif #ifndef MYNEWT_VAL_OS_MAIN_TASK_SANITY_ITVL_MS #define MYNEWT_VAL_OS_MAIN_TASK_SANITY_ITVL_MS (0) #endif #ifndef MYNEWT_VAL_OS_MEMPOOL_CHECK #define MYNEWT_VAL_OS_MEMPOOL_CHECK (0) #endif #ifndef MYNEWT_VAL_OS_MEMPOOL_GUARD #define MYNEWT_VAL_OS_MEMPOOL_GUARD (0) #endif #ifndef MYNEWT_VAL_OS_MEMPOOL_POISON #define MYNEWT_VAL_OS_MEMPOOL_POISON (0) #endif #ifndef MYNEWT_VAL_OS_SCHEDULING #define MYNEWT_VAL_OS_SCHEDULING (1) #endif #ifndef MYNEWT_VAL_OS_SYSINIT_STAGE #define MYNEWT_VAL_OS_SYSINIT_STAGE (0) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW #define MYNEWT_VAL_OS_SYSVIEW (0) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_CALLOUT #define MYNEWT_VAL_OS_SYSVIEW_TRACE_CALLOUT (1) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_EVENTQ #define MYNEWT_VAL_OS_SYSVIEW_TRACE_EVENTQ (1) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MBUF #define MYNEWT_VAL_OS_SYSVIEW_TRACE_MBUF (0) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MEMPOOL #define MYNEWT_VAL_OS_SYSVIEW_TRACE_MEMPOOL (0) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MUTEX #define MYNEWT_VAL_OS_SYSVIEW_TRACE_MUTEX (1) #endif #ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_SEM #define MYNEWT_VAL_OS_SYSVIEW_TRACE_SEM (1) #endif #ifndef MYNEWT_VAL_OS_TASK_RUN_TIME_CPUTIME #define MYNEWT_VAL_OS_TASK_RUN_TIME_CPUTIME (0) #endif #ifndef MYNEWT_VAL_OS_TIME_DEBUG #define MYNEWT_VAL_OS_TIME_DEBUG (0) #endif #ifndef MYNEWT_VAL_OS_WATCHDOG_MONITOR #define MYNEWT_VAL_OS_WATCHDOG_MONITOR (0) #endif #ifndef MYNEWT_VAL_SANITY_INTERVAL #define MYNEWT_VAL_SANITY_INTERVAL (15000) #endif #ifndef MYNEWT_VAL_WATCHDOG_INTERVAL #define MYNEWT_VAL_WATCHDOG_INTERVAL (30000) #endif /*** @apache-mynewt-core/libc/baselibc */ #ifndef MYNEWT_VAL_BASELIBC_ASSERT_FILE_LINE #define MYNEWT_VAL_BASELIBC_ASSERT_FILE_LINE (0) #endif #ifndef MYNEWT_VAL_BASELIBC_PRESENT #define MYNEWT_VAL_BASELIBC_PRESENT (1) #endif /*** @apache-mynewt-core/sys/console/stub */ #ifndef MYNEWT_VAL_CONSOLE_UART_BAUD #define MYNEWT_VAL_CONSOLE_UART_BAUD (115200) #endif #ifndef MYNEWT_VAL_CONSOLE_UART_DEV #define MYNEWT_VAL_CONSOLE_UART_DEV ("uart0") #endif #ifndef MYNEWT_VAL_CONSOLE_UART_FLOW_CONTROL #define MYNEWT_VAL_CONSOLE_UART_FLOW_CONTROL (UART_FLOW_CTL_NONE) #endif /*** @apache-mynewt-core/sys/flash_map */ #ifndef MYNEWT_VAL_FLASH_MAP_MAX_AREAS #define MYNEWT_VAL_FLASH_MAP_MAX_AREAS (10) #endif #ifndef MYNEWT_VAL_FLASH_MAP_SYSINIT_STAGE #define MYNEWT_VAL_FLASH_MAP_SYSINIT_STAGE (2) #endif /*** @apache-mynewt-core/sys/log/common */ #ifndef MYNEWT_VAL_DFLT_LOG_LVL #define MYNEWT_VAL_DFLT_LOG_LVL (1) #endif #ifndef MYNEWT_VAL_DFLT_LOG_MOD #define MYNEWT_VAL_DFLT_LOG_MOD (0) #endif #ifndef MYNEWT_VAL_LOG_GLOBAL_IDX #define MYNEWT_VAL_LOG_GLOBAL_IDX (1) #endif /*** @apache-mynewt-core/sys/log/modlog */ #ifndef MYNEWT_VAL_MODLOG_CONSOLE_DFLT #define MYNEWT_VAL_MODLOG_CONSOLE_DFLT (1) #endif #ifndef MYNEWT_VAL_MODLOG_LOG_MACROS #define MYNEWT_VAL_MODLOG_LOG_MACROS (0) #endif #ifndef MYNEWT_VAL_MODLOG_MAX_MAPPINGS #define MYNEWT_VAL_MODLOG_MAX_MAPPINGS (16) #endif #ifndef MYNEWT_VAL_MODLOG_MAX_PRINTF_LEN #define MYNEWT_VAL_MODLOG_MAX_PRINTF_LEN (128) #endif #ifndef MYNEWT_VAL_MODLOG_SYSINIT_STAGE #define MYNEWT_VAL_MODLOG_SYSINIT_STAGE (100) #endif /*** @apache-mynewt-core/sys/log/stub */ #ifndef MYNEWT_VAL_LOG_CONSOLE #define MYNEWT_VAL_LOG_CONSOLE (1) #endif #ifndef MYNEWT_VAL_LOG_FCB #define MYNEWT_VAL_LOG_FCB (0) #endif #ifndef MYNEWT_VAL_LOG_FCB_SLOT1 #define MYNEWT_VAL_LOG_FCB_SLOT1 (0) #endif #ifndef MYNEWT_VAL_LOG_LEVEL #define MYNEWT_VAL_LOG_LEVEL (255) #endif /*** @apache-mynewt-core/sys/mfg */ #ifndef MYNEWT_VAL_MFG_LOG_LVL #define MYNEWT_VAL_MFG_LOG_LVL (15) #endif #ifndef MYNEWT_VAL_MFG_LOG_MODULE #define MYNEWT_VAL_MFG_LOG_MODULE (128) #endif #ifndef MYNEWT_VAL_MFG_MAX_MMRS #define MYNEWT_VAL_MFG_MAX_MMRS (2) #endif #ifndef MYNEWT_VAL_MFG_SYSINIT_STAGE #define MYNEWT_VAL_MFG_SYSINIT_STAGE (100) #endif /*** @apache-mynewt-core/sys/sys */ #ifndef MYNEWT_VAL_DEBUG_PANIC_ENABLED #define MYNEWT_VAL_DEBUG_PANIC_ENABLED (1) #endif /*** @apache-mynewt-core/sys/sysdown */ #ifndef MYNEWT_VAL_SYSDOWN_CONSTRAIN_DOWN #define MYNEWT_VAL_SYSDOWN_CONSTRAIN_DOWN (1) #endif #ifndef MYNEWT_VAL_SYSDOWN_PANIC_FILE_LINE #define MYNEWT_VAL_SYSDOWN_PANIC_FILE_LINE (0) #endif #ifndef MYNEWT_VAL_SYSDOWN_PANIC_MESSAGE #define MYNEWT_VAL_SYSDOWN_PANIC_MESSAGE (0) #endif #ifndef MYNEWT_VAL_SYSDOWN_TIMEOUT_MS #define MYNEWT_VAL_SYSDOWN_TIMEOUT_MS (10000) #endif /*** @apache-mynewt-core/sys/sysinit */ #ifndef MYNEWT_VAL_SYSINIT_CONSTRAIN_INIT #define MYNEWT_VAL_SYSINIT_CONSTRAIN_INIT (1) #endif #ifndef MYNEWT_VAL_SYSINIT_PANIC_FILE_LINE #define MYNEWT_VAL_SYSINIT_PANIC_FILE_LINE (0) #endif #ifndef MYNEWT_VAL_SYSINIT_PANIC_MESSAGE #define MYNEWT_VAL_SYSINIT_PANIC_MESSAGE (0) #endif /*** @apache-mynewt-core/util/rwlock */ #ifndef MYNEWT_VAL_RWLOCK_DEBUG #define MYNEWT_VAL_RWLOCK_DEBUG (0) #endif /*** @apache-mynewt-nimble/nimble */ #ifndef MYNEWT_VAL_BLE_EXT_ADV #define MYNEWT_VAL_BLE_EXT_ADV (0) #endif #ifndef MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE #define MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE (31) #endif #ifndef MYNEWT_VAL_BLE_ISO #define MYNEWT_VAL_BLE_ISO (0) #endif #ifndef MYNEWT_VAL_BLE_ISO_TEST #define MYNEWT_VAL_BLE_ISO_TEST (0) #endif #ifndef MYNEWT_VAL_BLE_MAX_CONNECTIONS #define MYNEWT_VAL_BLE_MAX_CONNECTIONS (1) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble) */ #ifndef MYNEWT_VAL_BLE_MAX_PERIODIC_SYNCS #define MYNEWT_VAL_BLE_MAX_PERIODIC_SYNCS (0) #endif #ifndef MYNEWT_VAL_BLE_MULTI_ADV_INSTANCES #define MYNEWT_VAL_BLE_MULTI_ADV_INSTANCES (0) #endif #ifndef MYNEWT_VAL_BLE_PERIODIC_ADV #define MYNEWT_VAL_BLE_PERIODIC_ADV (0) #endif #ifndef MYNEWT_VAL_BLE_PERIODIC_ADV_SYNC_TRANSFER #define MYNEWT_VAL_BLE_PERIODIC_ADV_SYNC_TRANSFER (0) #endif #ifndef MYNEWT_VAL_BLE_ROLE_BROADCASTER #define MYNEWT_VAL_BLE_ROLE_BROADCASTER (1) #endif #ifndef MYNEWT_VAL_BLE_ROLE_CENTRAL #define MYNEWT_VAL_BLE_ROLE_CENTRAL (1) #endif #ifndef MYNEWT_VAL_BLE_ROLE_OBSERVER #define MYNEWT_VAL_BLE_ROLE_OBSERVER (1) #endif #ifndef MYNEWT_VAL_BLE_ROLE_PERIPHERAL #define MYNEWT_VAL_BLE_ROLE_PERIPHERAL (1) #endif #ifndef MYNEWT_VAL_BLE_VERSION #define MYNEWT_VAL_BLE_VERSION (50) #endif #ifndef MYNEWT_VAL_BLE_WHITELIST #define MYNEWT_VAL_BLE_WHITELIST (1) #endif /*** @apache-mynewt-nimble/nimble/controller */ #ifndef MYNEWT_VAL_BLE_CONTROLLER #define MYNEWT_VAL_BLE_CONTROLLER (1) #endif #ifndef MYNEWT_VAL_BLE_DEVICE #define MYNEWT_VAL_BLE_DEVICE (1) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_HW_WHITELIST_ENABLE #define MYNEWT_VAL_BLE_HW_WHITELIST_ENABLE (0) #endif #ifndef MYNEWT_VAL_BLE_LL_ADD_STRICT_SCHED_PERIODS #define MYNEWT_VAL_BLE_LL_ADD_STRICT_SCHED_PERIODS (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_CONN_PARAM_REQ #define MYNEWT_VAL_BLE_LL_CFG_FEAT_CONN_PARAM_REQ (1) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL #define MYNEWT_VAL_BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_DATA_LEN_EXT #define MYNEWT_VAL_BLE_LL_CFG_FEAT_DATA_LEN_EXT (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_2M_PHY #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_2M_PHY (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CODED_PHY #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CODED_PHY (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CSA2 #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CSA2 (1) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_ENCRYPTION #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_ENCRYPTION (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_PING #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_PING (MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_ENCRYPTION) #endif /* Value copied from BLE_EXT_ADV */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_EXT_ADV #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_EXT_ADV (0) #endif /* Value copied from BLE_ISO */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_ISO #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_ISO (0) #endif /* Value copied from BLE_ISO_TEST */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_ISO_TEST #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_ISO_TEST (0) #endif /* Value copied from BLE_PERIODIC_ADV */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV (0) #endif /* Value copied from BLE_MAX_PERIODIC_SYNCS */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_CNT #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_CNT (0) #endif /* Value copied from BLE_MAX_PERIODIC_SYNCS */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_LIST_CNT #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_LIST_CNT (0) #endif /* Value copied from BLE_PERIODIC_ADV_SYNC_TRANSFER */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_TRANSFER #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_TRANSFER (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PRIVACY #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_PRIVACY (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_SCA_UPDATE #define MYNEWT_VAL_BLE_LL_CFG_FEAT_LL_SCA_UPDATE (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG #define MYNEWT_VAL_BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG (1) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_CONN_INIT_MAX_TX_BYTES #define MYNEWT_VAL_BLE_LL_CONN_INIT_MAX_TX_BYTES (MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE) #endif #ifndef MYNEWT_VAL_BLE_LL_CONN_INIT_MIN_WIN_OFFSET #define MYNEWT_VAL_BLE_LL_CONN_INIT_MIN_WIN_OFFSET (0) #endif #ifndef MYNEWT_VAL_BLE_LL_CONN_INIT_SLOTS #define MYNEWT_VAL_BLE_LL_CONN_INIT_SLOTS (4) #endif #ifndef MYNEWT_VAL_BLE_LL_DEBUG_GPIO_HCI_CMD #define MYNEWT_VAL_BLE_LL_DEBUG_GPIO_HCI_CMD (-1) #endif #ifndef MYNEWT_VAL_BLE_LL_DEBUG_GPIO_HCI_EV #define MYNEWT_VAL_BLE_LL_DEBUG_GPIO_HCI_EV (-1) #endif #ifndef MYNEWT_VAL_BLE_LL_DEBUG_GPIO_SCHED_ITEM_CB #define MYNEWT_VAL_BLE_LL_DEBUG_GPIO_SCHED_ITEM_CB (-1) #endif #ifndef MYNEWT_VAL_BLE_LL_DEBUG_GPIO_SCHED_RUN #define MYNEWT_VAL_BLE_LL_DEBUG_GPIO_SCHED_RUN (-1) #endif #ifndef MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE #define MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE (0) #endif /* Value copied from BLE_LL_DIRECT_TEST_MODE */ #ifndef MYNEWT_VAL_BLE_LL_DTM #define MYNEWT_VAL_BLE_LL_DTM (0) #endif #ifndef MYNEWT_VAL_BLE_LL_DTM_EXTENSIONS #define MYNEWT_VAL_BLE_LL_DTM_EXTENSIONS (0) #endif #ifndef MYNEWT_VAL_BLE_LL_EXT_ADV_AUX_PTR_CNT #define MYNEWT_VAL_BLE_LL_EXT_ADV_AUX_PTR_CNT (0) #endif #ifndef MYNEWT_VAL_BLE_LL_MASTER_SCA #define MYNEWT_VAL_BLE_LL_MASTER_SCA (4) #endif #ifndef MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE #define MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE (251) #endif #ifndef MYNEWT_VAL_BLE_LL_MFRG_ID #define MYNEWT_VAL_BLE_LL_MFRG_ID (0xFFFF) #endif #ifndef MYNEWT_VAL_BLE_LL_NUM_COMP_PKT_ITVL_MS #define MYNEWT_VAL_BLE_LL_NUM_COMP_PKT_ITVL_MS (2000) #endif #ifndef MYNEWT_VAL_BLE_LL_NUM_SCAN_DUP_ADVS #define MYNEWT_VAL_BLE_LL_NUM_SCAN_DUP_ADVS (8) #endif #ifndef MYNEWT_VAL_BLE_LL_NUM_SCAN_RSP_ADVS #define MYNEWT_VAL_BLE_LL_NUM_SCAN_RSP_ADVS (8) #endif #ifndef MYNEWT_VAL_BLE_LL_OUR_SCA #define MYNEWT_VAL_BLE_LL_OUR_SCA (60) #endif #ifndef MYNEWT_VAL_BLE_LL_PRIO #define MYNEWT_VAL_BLE_LL_PRIO (0) #endif #ifndef MYNEWT_VAL_BLE_LL_RESOLV_LIST_SIZE #define MYNEWT_VAL_BLE_LL_RESOLV_LIST_SIZE (4) #endif /* Overridden by @apache-mynewt-core/hw/bsp/nordic_pca10056 (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME #define MYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME (1500) #endif #ifndef MYNEWT_VAL_BLE_LL_RNG_BUFSIZE #define MYNEWT_VAL_BLE_LL_RNG_BUFSIZE (32) #endif /* Value copied from BLE_LL_OUR_SCA */ #ifndef MYNEWT_VAL_BLE_LL_SCA #define MYNEWT_VAL_BLE_LL_SCA (60) #endif #ifndef MYNEWT_VAL_BLE_LL_SCHED_AUX_CHAIN_MAFS_DELAY #define MYNEWT_VAL_BLE_LL_SCHED_AUX_CHAIN_MAFS_DELAY (0) #endif #ifndef MYNEWT_VAL_BLE_LL_SCHED_AUX_MAFS_DELAY #define MYNEWT_VAL_BLE_LL_SCHED_AUX_MAFS_DELAY (0) #endif #ifndef MYNEWT_VAL_BLE_LL_SCHED_SCAN_AUX_PDU_LEN #define MYNEWT_VAL_BLE_LL_SCHED_SCAN_AUX_PDU_LEN (41) #endif #ifndef MYNEWT_VAL_BLE_LL_SCHED_SCAN_SYNC_PDU_LEN #define MYNEWT_VAL_BLE_LL_SCHED_SCAN_SYNC_PDU_LEN (32) #endif #ifndef MYNEWT_VAL_BLE_LL_STRICT_CONN_SCHEDULING #define MYNEWT_VAL_BLE_LL_STRICT_CONN_SCHEDULING (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_SUPP_MAX_RX_BYTES #define MYNEWT_VAL_BLE_LL_SUPP_MAX_RX_BYTES (MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/controller) */ #ifndef MYNEWT_VAL_BLE_LL_SUPP_MAX_TX_BYTES #define MYNEWT_VAL_BLE_LL_SUPP_MAX_TX_BYTES (MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE) #endif #ifndef MYNEWT_VAL_BLE_LL_SYSINIT_STAGE #define MYNEWT_VAL_BLE_LL_SYSINIT_STAGE (250) #endif #ifndef MYNEWT_VAL_BLE_LL_SYSVIEW #define MYNEWT_VAL_BLE_LL_SYSVIEW (0) #endif #ifndef MYNEWT_VAL_BLE_LL_TX_PWR_DBM #define MYNEWT_VAL_BLE_LL_TX_PWR_DBM (0) #endif #ifndef MYNEWT_VAL_BLE_LL_USECS_PER_PERIOD #define MYNEWT_VAL_BLE_LL_USECS_PER_PERIOD (3250) #endif #ifndef MYNEWT_VAL_BLE_LL_VND_EVENT_ON_ASSERT #define MYNEWT_VAL_BLE_LL_VND_EVENT_ON_ASSERT (0) #endif #ifndef MYNEWT_VAL_BLE_LL_WHITELIST_SIZE #define MYNEWT_VAL_BLE_LL_WHITELIST_SIZE (8) #endif #ifndef MYNEWT_VAL_BLE_LP_CLOCK #define MYNEWT_VAL_BLE_LP_CLOCK (1) #endif #ifndef MYNEWT_VAL_BLE_NUM_COMP_PKT_RATE #define MYNEWT_VAL_BLE_NUM_COMP_PKT_RATE ((2 * OS_TICKS_PER_SEC)) #endif #ifndef MYNEWT_VAL_BLE_PUBLIC_DEV_ADDR #define MYNEWT_VAL_BLE_PUBLIC_DEV_ADDR ((uint8_t[6]){0x00, 0x00, 0x00, 0x00, 0x00, 0x00}) #endif #ifndef MYNEWT_VAL_BLE_XTAL_SETTLE_TIME #define MYNEWT_VAL_BLE_XTAL_SETTLE_TIME (0) #endif /*** @apache-mynewt-nimble/nimble/drivers/nrf52 */ #ifndef MYNEWT_VAL_BLE_PHY_CODED_RX_IFS_EXTRA_MARGIN #define MYNEWT_VAL_BLE_PHY_CODED_RX_IFS_EXTRA_MARGIN (0) #endif #ifndef MYNEWT_VAL_BLE_PHY_DBG_TIME_ADDRESS_END_PIN #define MYNEWT_VAL_BLE_PHY_DBG_TIME_ADDRESS_END_PIN (-1) #endif #ifndef MYNEWT_VAL_BLE_PHY_DBG_TIME_TXRXEN_READY_PIN #define MYNEWT_VAL_BLE_PHY_DBG_TIME_TXRXEN_READY_PIN (-1) #endif #ifndef MYNEWT_VAL_BLE_PHY_DBG_TIME_WFR_PIN #define MYNEWT_VAL_BLE_PHY_DBG_TIME_WFR_PIN (-1) #endif #ifndef MYNEWT_VAL_BLE_PHY_NRF52840_ERRATA_164 #define MYNEWT_VAL_BLE_PHY_NRF52840_ERRATA_164 (0) #endif #ifndef MYNEWT_VAL_BLE_PHY_NRF52840_ERRATA_191 #define MYNEWT_VAL_BLE_PHY_NRF52840_ERRATA_191 (1) #endif #ifndef MYNEWT_VAL_BLE_PHY_SYSVIEW #define MYNEWT_VAL_BLE_PHY_SYSVIEW (0) #endif /*** @apache-mynewt-nimble/nimble/host */ #ifndef MYNEWT_VAL_BLE_ATT_PREFERRED_MTU #define MYNEWT_VAL_BLE_ATT_PREFERRED_MTU (256) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_FIND_INFO #define MYNEWT_VAL_BLE_ATT_SVR_FIND_INFO (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_FIND_TYPE #define MYNEWT_VAL_BLE_ATT_SVR_FIND_TYPE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_INDICATE #define MYNEWT_VAL_BLE_ATT_SVR_INDICATE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_MAX_PREP_ENTRIES #define MYNEWT_VAL_BLE_ATT_SVR_MAX_PREP_ENTRIES (64) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_NOTIFY #define MYNEWT_VAL_BLE_ATT_SVR_NOTIFY (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE #define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE_TMO #define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE_TMO (30000) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_READ #define MYNEWT_VAL_BLE_ATT_SVR_READ (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_BLOB #define MYNEWT_VAL_BLE_ATT_SVR_READ_BLOB (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_GROUP_TYPE #define MYNEWT_VAL_BLE_ATT_SVR_READ_GROUP_TYPE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_MULT #define MYNEWT_VAL_BLE_ATT_SVR_READ_MULT (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_TYPE #define MYNEWT_VAL_BLE_ATT_SVR_READ_TYPE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_SIGNED_WRITE #define MYNEWT_VAL_BLE_ATT_SVR_SIGNED_WRITE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_WRITE #define MYNEWT_VAL_BLE_ATT_SVR_WRITE (1) #endif #ifndef MYNEWT_VAL_BLE_ATT_SVR_WRITE_NO_RSP #define MYNEWT_VAL_BLE_ATT_SVR_WRITE_NO_RSP (1) #endif #ifndef MYNEWT_VAL_BLE_GAP_MAX_PENDING_CONN_PARAM_UPDATE #define MYNEWT_VAL_BLE_GAP_MAX_PENDING_CONN_PARAM_UPDATE (1) #endif #ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS #define MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS #define MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS #define MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_DISC_CHR_UUID #define MYNEWT_VAL_BLE_GATT_DISC_CHR_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID #define MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_FIND_INC_SVCS #define MYNEWT_VAL_BLE_GATT_FIND_INC_SVCS (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_INDICATE #define MYNEWT_VAL_BLE_GATT_INDICATE (1) #endif #ifndef MYNEWT_VAL_BLE_GATT_MAX_PROCS #define MYNEWT_VAL_BLE_GATT_MAX_PROCS (4) #endif #ifndef MYNEWT_VAL_BLE_GATT_NOTIFY #define MYNEWT_VAL_BLE_GATT_NOTIFY (1) #endif #ifndef MYNEWT_VAL_BLE_GATT_READ #define MYNEWT_VAL_BLE_GATT_READ (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_READ_LONG #define MYNEWT_VAL_BLE_GATT_READ_LONG (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_READ_MAX_ATTRS #define MYNEWT_VAL_BLE_GATT_READ_MAX_ATTRS (8) #endif #ifndef MYNEWT_VAL_BLE_GATT_READ_MULT #define MYNEWT_VAL_BLE_GATT_READ_MULT (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_READ_UUID #define MYNEWT_VAL_BLE_GATT_READ_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_RESUME_RATE #define MYNEWT_VAL_BLE_GATT_RESUME_RATE (1000) #endif #ifndef MYNEWT_VAL_BLE_GATT_SIGNED_WRITE #define MYNEWT_VAL_BLE_GATT_SIGNED_WRITE (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_WRITE #define MYNEWT_VAL_BLE_GATT_WRITE (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_WRITE_LONG #define MYNEWT_VAL_BLE_GATT_WRITE_LONG (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_WRITE_MAX_ATTRS #define MYNEWT_VAL_BLE_GATT_WRITE_MAX_ATTRS (4) #endif #ifndef MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP #define MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_GATT_WRITE_RELIABLE #define MYNEWT_VAL_BLE_GATT_WRITE_RELIABLE (MYNEWT_VAL_BLE_ROLE_CENTRAL) #endif #ifndef MYNEWT_VAL_BLE_HOST #define MYNEWT_VAL_BLE_HOST (1) #endif #ifndef MYNEWT_VAL_BLE_HS_AUTO_START #define MYNEWT_VAL_BLE_HS_AUTO_START (1) #endif #ifndef MYNEWT_VAL_BLE_HS_DEBUG #define MYNEWT_VAL_BLE_HS_DEBUG (0) #endif #ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL #define MYNEWT_VAL_BLE_HS_FLOW_CTRL (0) #endif #ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_ITVL #define MYNEWT_VAL_BLE_HS_FLOW_CTRL_ITVL (1000) #endif #ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_THRESH #define MYNEWT_VAL_BLE_HS_FLOW_CTRL_THRESH (2) #endif #ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT #define MYNEWT_VAL_BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT (0) #endif #ifndef MYNEWT_VAL_BLE_HS_LOG_LVL #define MYNEWT_VAL_BLE_HS_LOG_LVL (1) #endif #ifndef MYNEWT_VAL_BLE_HS_LOG_MOD #define MYNEWT_VAL_BLE_HS_LOG_MOD (4) #endif #ifndef MYNEWT_VAL_BLE_HS_PHONY_HCI_ACKS #define MYNEWT_VAL_BLE_HS_PHONY_HCI_ACKS (0) #endif #ifndef MYNEWT_VAL_BLE_HS_REQUIRE_OS #define MYNEWT_VAL_BLE_HS_REQUIRE_OS (1) #endif #ifndef MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN #define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN (1) #endif #ifndef MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT #define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT (2000) #endif #ifndef MYNEWT_VAL_BLE_HS_SYSINIT_STAGE #define MYNEWT_VAL_BLE_HS_SYSINIT_STAGE (200) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM #define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM (0) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_COC_MPS #define MYNEWT_VAL_BLE_L2CAP_COC_MPS (MYNEWT_VAL_MSYS_1_BLOCK_SIZE-8) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_ENHANCED_COC #define MYNEWT_VAL_BLE_L2CAP_ENHANCED_COC (0) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS #define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_MAX_CHANS #define MYNEWT_VAL_BLE_L2CAP_MAX_CHANS (3*MYNEWT_VAL_BLE_MAX_CONNECTIONS) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_RX_FRAG_TIMEOUT #define MYNEWT_VAL_BLE_L2CAP_RX_FRAG_TIMEOUT (30000) #endif #ifndef MYNEWT_VAL_BLE_L2CAP_SIG_MAX_PROCS #define MYNEWT_VAL_BLE_L2CAP_SIG_MAX_PROCS (1) #endif #ifndef MYNEWT_VAL_BLE_MESH #define MYNEWT_VAL_BLE_MESH (0) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_CONSOLE_BUFFER_SIZE #define MYNEWT_VAL_BLE_MONITOR_CONSOLE_BUFFER_SIZE (128) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_RTT #define MYNEWT_VAL_BLE_MONITOR_RTT (0) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFERED #define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFERED (1) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_NAME #define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_NAME ("btmonitor") #endif #ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_SIZE #define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_SIZE (256) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_UART #define MYNEWT_VAL_BLE_MONITOR_UART (0) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_UART_BAUDRATE #define MYNEWT_VAL_BLE_MONITOR_UART_BAUDRATE (1000000) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_UART_BUFFER_SIZE #define MYNEWT_VAL_BLE_MONITOR_UART_BUFFER_SIZE (64) #endif #ifndef MYNEWT_VAL_BLE_MONITOR_UART_DEV #define MYNEWT_VAL_BLE_MONITOR_UART_DEV ("uart0") #endif #ifndef MYNEWT_VAL_BLE_RPA_TIMEOUT #define MYNEWT_VAL_BLE_RPA_TIMEOUT (300) #endif #ifndef MYNEWT_VAL_BLE_SM_BONDING #define MYNEWT_VAL_BLE_SM_BONDING (0) #endif #ifndef MYNEWT_VAL_BLE_SM_IO_CAP #define MYNEWT_VAL_BLE_SM_IO_CAP (BLE_HS_IO_NO_INPUT_OUTPUT) #endif #ifndef MYNEWT_VAL_BLE_SM_KEYPRESS #define MYNEWT_VAL_BLE_SM_KEYPRESS (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/host) */ #ifndef MYNEWT_VAL_BLE_SM_LEGACY #define MYNEWT_VAL_BLE_SM_LEGACY (0) #endif #ifndef MYNEWT_VAL_BLE_SM_MAX_PROCS #define MYNEWT_VAL_BLE_SM_MAX_PROCS (1) #endif #ifndef MYNEWT_VAL_BLE_SM_MITM #define MYNEWT_VAL_BLE_SM_MITM (0) #endif #ifndef MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG #define MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG (0) #endif #ifndef MYNEWT_VAL_BLE_SM_OUR_KEY_DIST #define MYNEWT_VAL_BLE_SM_OUR_KEY_DIST (0) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/host) */ #ifndef MYNEWT_VAL_BLE_SM_SC #define MYNEWT_VAL_BLE_SM_SC (0) #endif #ifndef MYNEWT_VAL_BLE_SM_SC_DEBUG_KEYS #define MYNEWT_VAL_BLE_SM_SC_DEBUG_KEYS (0) #endif #ifndef MYNEWT_VAL_BLE_SM_THEIR_KEY_DIST #define MYNEWT_VAL_BLE_SM_THEIR_KEY_DIST (0) #endif #ifndef MYNEWT_VAL_BLE_STORE_MAX_BONDS #define MYNEWT_VAL_BLE_STORE_MAX_BONDS (3) #endif #ifndef MYNEWT_VAL_BLE_STORE_MAX_CCCDS #define MYNEWT_VAL_BLE_STORE_MAX_CCCDS (8) #endif /*** @apache-mynewt-nimble/nimble/host/services/gap */ #ifndef MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE #define MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE (0) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE_WRITE_PERM #define MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE_WRITE_PERM (-1) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION #define MYNEWT_VAL_BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION (-1) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME #define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME ("nimble") #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_MAX_LENGTH #define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_MAX_LENGTH (31) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM #define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM (-1) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL #define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL (0) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL #define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL (0) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_SLAVE_LATENCY #define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SLAVE_LATENCY (0) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_SUPERVISION_TMO #define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SUPERVISION_TMO (0) #endif #ifndef MYNEWT_VAL_BLE_SVC_GAP_SYSINIT_STAGE #define MYNEWT_VAL_BLE_SVC_GAP_SYSINIT_STAGE (301) #endif /*** @apache-mynewt-nimble/nimble/host/services/gatt */ #ifndef MYNEWT_VAL_BLE_SVC_GATT_SYSINIT_STAGE #define MYNEWT_VAL_BLE_SVC_GATT_SYSINIT_STAGE (302) #endif /*** @apache-mynewt-nimble/nimble/transport/ram */ /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/transport/ram) */ #ifndef MYNEWT_VAL_BLE_ACL_BUF_COUNT #define MYNEWT_VAL_BLE_ACL_BUF_COUNT (24) #endif #ifndef MYNEWT_VAL_BLE_ACL_BUF_SIZE #define MYNEWT_VAL_BLE_ACL_BUF_SIZE (255) #endif #ifndef MYNEWT_VAL_BLE_HCI_EVT_BUF_SIZE #define MYNEWT_VAL_BLE_HCI_EVT_BUF_SIZE (70) #endif /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/transport/ram) */ #ifndef MYNEWT_VAL_BLE_HCI_EVT_HI_BUF_COUNT #define MYNEWT_VAL_BLE_HCI_EVT_HI_BUF_COUNT (2) #endif #ifndef MYNEWT_VAL_BLE_HCI_EVT_LO_BUF_COUNT #define MYNEWT_VAL_BLE_HCI_EVT_LO_BUF_COUNT (8) #endif #ifndef MYNEWT_VAL_BLE_TRANS_RAM_SYSINIT_STAGE #define MYNEWT_VAL_BLE_TRANS_RAM_SYSINIT_STAGE (100) #endif /*** newt */ #ifndef MYNEWT_VAL_APP_NAME #define MYNEWT_VAL_APP_NAME ("dummy_app") #endif #ifndef MYNEWT_VAL_APP_dummy_app #define MYNEWT_VAL_APP_dummy_app (1) #endif #ifndef MYNEWT_VAL_ARCH_NAME #define MYNEWT_VAL_ARCH_NAME ("cortex_m4") #endif #ifndef MYNEWT_VAL_ARCH_cortex_m4 #define MYNEWT_VAL_ARCH_cortex_m4 (1) #endif #ifndef MYNEWT_VAL_BSP_NAME #define MYNEWT_VAL_BSP_NAME ("nordic_pca10056") #endif #ifndef MYNEWT_VAL_BSP_nordic_pca10056 #define MYNEWT_VAL_BSP_nordic_pca10056 (1) #endif #ifndef MYNEWT_VAL_NEWT_FEATURE_LOGCFG #define MYNEWT_VAL_NEWT_FEATURE_LOGCFG (1) #endif #ifndef MYNEWT_VAL_NEWT_FEATURE_SYSDOWN #define MYNEWT_VAL_NEWT_FEATURE_SYSDOWN (1) #endif #ifndef MYNEWT_VAL_TARGET_NAME #define MYNEWT_VAL_TARGET_NAME ("riot") #endif #ifndef MYNEWT_VAL_TARGET_riot #define MYNEWT_VAL_TARGET_riot (1) #endif #endif |