nimble/ll: Add GPIOs for HCI debugging

This adds two new settings which allows to use two GPIO pins to indicate
when command is received or event sent by controller. This can be useful
for debugging, e.g. to check synchronization between HCI and air
activity.
This commit is contained in:
Andrzej Kaczmarek
2019-06-14 09:02:13 +09:00
parent d5ede9c755
commit d6dfb6ceb0
3 changed files with 47 additions and 0 deletions
+8
View File
@@ -509,6 +509,14 @@
#define MYNEWT_VAL_BLE_LL_CONN_INIT_SLOTS (4)
#endif
#ifndef MYNEWT_VAL_BLE_LL_DBG_HCI_CMD_PIN
#define MYNEWT_VAL_BLE_LL_DBG_HCI_CMD_PIN (-1)
#endif
#ifndef MYNEWT_VAL_BLE_LL_DBG_HCI_EV_PIN
#define MYNEWT_VAL_BLE_LL_DBG_HCI_EV_PIN (-1)
#endif
#ifndef MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE
#define MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE (0)
#endif