优化实现串口驱动,SPI驱动 W25QXX还需要初始化验证修复
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#define BSP_CONFIG_H
|
||||
|
||||
#include "hal_gpio.h"
|
||||
#include "hal_uart.h"
|
||||
|
||||
/**
|
||||
* @brief Board name definition
|
||||
@ -32,7 +33,7 @@
|
||||
/**
|
||||
* @brief UART hardware configuration
|
||||
*/
|
||||
#define BSP_UART_INSTANCE USART1
|
||||
#define BSP_UART_INSTANCE BSP_UART_INSTANCE_1
|
||||
#define BSP_UART_BAUDRATE 115200
|
||||
#define BSP_UART_PARITY HAL_UART_PARITY_NONE
|
||||
#define BSP_UART_STOPBITS HAL_UART_STOPBITS_1
|
||||
|
||||
Reference in New Issue
Block a user