Skip to content

Commit c358f71

Browse files
andreagilardonifabik111
authored andcommitted
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 0884a6a commit c358f71

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

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(__ZEPHYR__) && !defined(ESP32) && !defined(ARDUINO_SILABS) && !defined(ARDUINO_UNOR4_WIFI) && !defined(__ZEPHYR__) || 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)