Skip to content

Commit 141224e

Browse files
added support for USART10
1 parent d96b1be commit 141224e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

boards/XCORE/mcuconf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
#define STM32_UART_USE_UART7 TRUE
445445
#define STM32_UART_USE_UART8 TRUE
446446
#define STM32_UART_USE_UART9 FALSE
447-
#define STM32_UART_USE_USART10 FALSE
447+
#define STM32_UART_USE_USART10 TRUE
448448
#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID_ANY
449449
#define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID_ANY
450450
#define STM32_UART_USART2_RX_DMA_STREAM STM32_DMA_STREAM_ID_ANY
@@ -493,7 +493,7 @@
493493
/*
494494
* WSPI driver system settings.
495495
*/
496-
#define STM32_WSPI_USE_OCTOSPI1 FALSE
496+
#define STM32_WSPI_USE_OCTOSPI1 TRUE
497497
#define STM32_WSPI_USE_OCTOSPI2 FALSE
498498
#define STM32_WSPI_OCTOSPI1_PRESCALER_VALUE 1
499499
#define STM32_WSPI_OCTOSPI2_PRESCALER_VALUE 1

ext/ChibiOS_21.11.3/os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@
148148
#define STM32_DMAMUX1_SAI3_A 113
149149
#define STM32_DMAMUX1_SAI3_B 114
150150
#define STM32_DMAMUX1_ADC3 115
151+
#define STM32_DMAMUX1_USART10_RX 118
152+
#define STM32_DMAMUX1_USART10_TX 119
151153
/** @} */
152154

153155
/**

0 commit comments

Comments
 (0)