soc: stm32f4: fixup: Rename UART generated DT_ defines
On stm32f4 series, uart4 is not an usart, so generated with 'st,stm32-usart' compatible and hence generated defined should be prefixed with DT_ST_STM32_UART_ rather than DT_ST_STM32_USART. Fixes #14542 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
ad816f7453
commit
70f95a25f5
1 changed files with 7 additions and 7 deletions
|
@ -125,13 +125,13 @@
|
||||||
#define DT_UART_STM32_USART_3_CLOCK_BITS DT_ST_STM32_USART_40004800_CLOCK_BITS
|
#define DT_UART_STM32_USART_3_CLOCK_BITS DT_ST_STM32_USART_40004800_CLOCK_BITS
|
||||||
#define DT_UART_STM32_USART_3_CLOCK_BUS DT_ST_STM32_USART_40004800_CLOCK_BUS
|
#define DT_UART_STM32_USART_3_CLOCK_BUS DT_ST_STM32_USART_40004800_CLOCK_BUS
|
||||||
|
|
||||||
#define DT_UART_STM32_UART_4_BASE_ADDRESS DT_ST_STM32_USART_40004C00_BASE_ADDRESS
|
#define DT_UART_STM32_UART_4_BASE_ADDRESS DT_ST_STM32_UART_40004C00_BASE_ADDRESS
|
||||||
#define DT_UART_STM32_UART_4_BAUD_RATE DT_ST_STM32_USART_40004C00_CURRENT_SPEED
|
#define DT_UART_STM32_UART_4_BAUD_RATE DT_ST_STM32_UART_40004C00_CURRENT_SPEED
|
||||||
#define DT_UART_STM32_UART_4_IRQ_PRI DT_ST_STM32_USART_40004C00_IRQ_0_PRIORITY
|
#define DT_UART_STM32_UART_4_IRQ_PRI DT_ST_STM32_UART_40004C00_IRQ_0_PRIORITY
|
||||||
#define DT_UART_STM32_UART_4_NAME DT_ST_STM32_USART_40004C00_LABEL
|
#define DT_UART_STM32_UART_4_NAME DT_ST_STM32_UART_40004C00_LABEL
|
||||||
#define DT_UART_4_IRQ DT_ST_STM32_USART_40004C00_IRQ_0
|
#define DT_UART_4_IRQ DT_ST_STM32_UART_40004C00_IRQ_0
|
||||||
#define DT_UART_STM32_UART_4_CLOCK_BITS DT_ST_STM32_USART_40004C00_CLOCK_BITS
|
#define DT_UART_STM32_UART_4_CLOCK_BITS DT_ST_STM32_UART_40004C00_CLOCK_BITS
|
||||||
#define DT_UART_STM32_UART_4_CLOCK_BUS DT_ST_STM32_USART_40004C00_CLOCK_BUS
|
#define DT_UART_STM32_UART_4_CLOCK_BUS DT_ST_STM32_UART_40004C00_CLOCK_BUS
|
||||||
|
|
||||||
#define DT_UART_STM32_USART_6_NAME DT_ST_STM32_USART_40011400_LABEL
|
#define DT_UART_STM32_USART_6_NAME DT_ST_STM32_USART_40011400_LABEL
|
||||||
#define DT_UART_STM32_USART_6_BASE_ADDRESS DT_ST_STM32_USART_40011400_BASE_ADDRESS
|
#define DT_UART_STM32_USART_6_BASE_ADDRESS DT_ST_STM32_USART_40011400_BASE_ADDRESS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue