stuffmatic opened a new pull request #2509: URL: https://github.com/apache/mynewt-core/pull/2509
This PR adds `UART_1` support by adding `os_bsp_uart1_cfg`, which uses `USART2`. This makes it possible to use the ST-LINK virtual COM port for logging if 1. Flying wires have been connected according to figure 6 (ST-LINK VCP connection to USART2) in the STM32F4DISCOVERY user manual 2. `UART_1` and `CONSOLE_UART_DEV` are set to `1` and `uart1` respectively Below is the relevant page from the manual. <img width="684" alt="Screenshot 2021-02-28 at 19 59 17" src="https://user-images.githubusercontent.com/2444852/109430038-71ee5c00-79ff-11eb-9858-d7da9b187b32.png"> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org