mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
[bsp][stm32][uart]:fix stm32 uart timout (#10022)
fix:stm32 uart timout
This commit is contained in:
@@ -32,6 +32,11 @@ menu "On-chip Peripheral Drivers"
|
||||
default y
|
||||
select RT_USING_SERIAL
|
||||
if BSP_USING_UART
|
||||
config BSP_STM32_UART_V1_TX_TIMEOUT
|
||||
int "UART TX timeout"
|
||||
default 2000
|
||||
depends on RT_USING_SERIAL_V1
|
||||
|
||||
config BSP_USING_UART1
|
||||
bool "Enable UART1"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user