stm32: Include pin names in STM32_SERIAL_USART?_ALT kconfig symbols

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-05-24 21:06:04 -04:00
parent 338bc82d0b
commit c1e8ee58e7
3 changed files with 6 additions and 6 deletions

View File

@@ -30,7 +30,7 @@
#define GPIO_Tx GPIO('B', 10)
#define USARTx USART3
#define USARTx_IRQn USART3_IRQn
#elif CONFIG_STM32_SERIAL_USART3_ALT
#elif CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PD9,PD8");
#define GPIO_Rx GPIO('D', 9)
#define GPIO_Tx GPIO('D', 8)