diff --git a/framework/connection/Adapter/bluetooth/xs_adapter_bluetooth.c b/framework/connection/Adapter/bluetooth/xs_adapter_bluetooth.c index 8c8a21a0b..b652c1921 100644 --- a/framework/connection/Adapter/bluetooth/xs_adapter_bluetooth.c +++ b/framework/connection/Adapter/bluetooth/xs_adapter_bluetooth.c @@ -25,7 +25,12 @@ #include #include +#ifdef BOARD_K210_EVB #define SAMPLE_UART_NAME "/dev/uart3_dev3" +#endif +#ifdef BOARD_STM32F407_EVB +#define SAMPLE_UART_NAME "/dev/usart3_dev3" +#endif static int serial_fd; static int32_t bluetooth_receive;