Skip to content

Commit 7e4da13

Browse files
committed
Change error to warning
1 parent eede1b6 commit 7e4da13

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/arduino/ports/stm32/Adafruit_TinyUSB_stm32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#include "stm32wbxx_hal.h"
5151
#include "stm32wbxx_hal_rcc.h"
5252
#else
53-
#error "This TinyUSB port only supports the STM32F4, STM32F7, STM32H7, STM32WB and STM32WBA families"
53+
#warning "This TinyUSB port only supports the STM32F4, STM32F7, STM32H7, STM32WB and STM32WBA families"
5454
#endif
5555

5656
#include "tusb.h"

src/arduino/ports/stm32/tusb_config_stm32.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
#define CFG_TUSB_MCU OPT_MCU_STM32F4
4040
#elif defined(STM32WBxx)
4141
#define CFG_TUSB_MCU OPT_MCU_STM32WB
42-
#else
43-
#error "This TinyUSB port only supports the STM32F4, STM32F7, STM32H7, STM32WB and STM32WBA families"
4442
#endif
4543
#define CFG_TUSB_OS OPT_OS_NONE
4644

0 commit comments

Comments
 (0)