Skip to content

Commit 32adc12

Browse files
fixup! [TMP] disabling hci over uart
1 parent 8fa8586 commit 32adc12

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/utility/HCIUartTransport.cpp

+2-14
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,12 @@
1717
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818
*/
1919

20-
#if 0 && !defined(ARDUINO_ARCH_MBED) && !defined(ESP32) && !defined(ARDUINO_SILABS) && !defined(ARDUINO_UNOR4_WIFI) || defined(TARGET_NANO_RP2040_CONNECT) //|| defined(CORE_CM4)
20+
#if defined(ARDUINO_PORTENTA_C33)
2121

2222
#include "HCIUartTransport.h"
2323

24-
#if defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_AVR_UNO_WIFI_REV2)
25-
#define SerialHCI Serial2
26-
#elif defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_NANO_RP2040_CONNECT)
27-
// SerialHCI is already defined in the variant
28-
#elif defined(ARDUINO_PORTENTA_H7_M4)
29-
// SerialHCI is already defined in the variant
30-
#elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
31-
#define SerialHCI Serial2
32-
#elif defined(ARDUINO_OPTA)
33-
#define SerialHCI Serial3
34-
#elif defined(ARDUINO_PORTENTA_C33)
24+
#if defined(ARDUINO_PORTENTA_C33)
3525
#define SerialHCI Serial5
36-
#elif defined(ARDUINO_GIGA)
37-
arduino::UART SerialHCI(CYBSP_BT_UART_TX, CYBSP_BT_UART_RX, CYBSP_BT_UART_RTS, CYBSP_BT_UART_CTS);
3826
#else
3927
#error "Unsupported board selected!"
4028
#endif

0 commit comments

Comments
 (0)