surport bluetooth on f407

This commit is contained in:
yudongdong 2021-05-10 17:39:25 +08:00
parent 340c6fe503
commit 8ccf223eb0
1 changed files with 5 additions and 0 deletions

View File

@ -25,7 +25,12 @@
#include <dev_serial.h> #include <dev_serial.h>
#include <string.h> #include <string.h>
#ifdef BOARD_K210_EVB
#define SAMPLE_UART_NAME "/dev/uart3_dev3" #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 int serial_fd;
static int32_t bluetooth_receive; static int32_t bluetooth_receive;