forked from xuos/xiuos
surport bluetooth on f407
This commit is contained in:
parent
340c6fe503
commit
8ccf223eb0
|
@ -25,7 +25,12 @@
|
|||
#include <dev_serial.h>
|
||||
#include <string.h>
|
||||
|
||||
#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;
|
||||
|
|
Loading…
Reference in New Issue