-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from facchinm/giga_m4
Fix functionality on Giga CM4 core
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#if defined(CORE_CM4) | ||
|
||
#include "CyH4TransportDriver.h" | ||
|
||
ble::vendor::cypress_ble::CyH4TransportDriver& ble_cordio_get_h4_transport_driver() | ||
{ | ||
static ble::vendor::cypress_ble::CyH4TransportDriver s_transport_driver( | ||
/* TX */ CYBSP_BT_UART_TX, /* RX */ CYBSP_BT_UART_RX, | ||
/* cts */ CYBSP_BT_UART_CTS, /* rts */ CYBSP_BT_UART_RTS, NC, DEF_BT_BAUD_RATE, | ||
CYBSP_BT_HOST_WAKE, CYBSP_BT_DEVICE_WAKE | ||
); | ||
return s_transport_driver; | ||
} | ||
|
||
#define CUSTOM_HCI_DRIVER | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters