Skip to content

Commit b542628

Browse files
HCI Uart changing supported devices
nina based devices will be supported through nina spi transport changing the macro from exclusion to explicit inclusion
1 parent 7ff2838 commit b542628

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/utility/HCIUartTransport.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@
1717
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818
*/
1919

20-
#if !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)
24+
#if defined(ARDUINO_PORTENTA_H7_M4)
2925
// SerialHCI is already defined in the variant
3026
#elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
3127
#define SerialHCI Serial2

0 commit comments

Comments
 (0)