优化实现串口驱动,SPI驱动 W25QXX还需要初始化验证修复

This commit is contained in:
冯佳
2026-01-23 09:59:43 +08:00
parent 51e8d79f78
commit b166bee1a9
69 changed files with 6253 additions and 1178 deletions

View File

@ -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