Skip to content

Commit fb3da3b

Browse files
committed
chore(wb): warn user about untested board
Fixes #75 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 8fdf958 commit fb3da3b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/utility/HCISharedMemTransport.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@
2222
#include "STM32_WPAN/hw.h"
2323
#include "otp.h"
2424

25-
#if defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) ||\
26-
defined(ARDUINO_STM32WB5MM_DK) || defined(ARDUINO_P_NUCLEO_WB55_USB_DONGLE)
2725
HCISharedMemTransportClass HCISharedMemTransport;
28-
#else
29-
#error "Unsupported board or shield selected!"
26+
#if !defined(ARDUINO_NUCLEO_WB15CC) && !defined(ARDUINO_P_NUCLEO_WB55RG) &&\
27+
!defined(ARDUINO_STM32WB5MM_DK) && !defined(ARDUINO_P_NUCLEO_WB55_USB_DONGLE)
28+
#warning "Selected board has never been tested with this library, ensure to have a correct configuration!"
3029
#endif
3130

3231
/* Private variables ---------------------------------------------------------*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy