hartmannathan opened a new pull request #1719: URL: https://github.com/apache/incubator-nuttx/pull/1719
## Summary arch/arm/src/stm32/stm32_lowputc.c: - stm32_lowsetup(): Ensure the USART is disabled before attempting to configure it because some register bits cannot be modified otherwise. See the mail thread "[stm32 uart init bug?](https://lists.apache.org/thread.html/rf09668db5ec0cf378afcce66cb6aaefec9f01fe99c3bfbedb33b12e4%40%3Cdev.nuttx.apache.org%3E)" beginning 2020/09/03. ## Impact This solves an issue that was encountered when a serial bootloader did not perform a full teardown/cleanup before launching NuttX. ## Testing Tested with STM32G474RE MCU in the ST Micro B-G474E-DPOW1 board (b-g474e-dpow1:nsh config). Performed build testing on the following configurations: - stm32ldiscovery:nsh - nucleo-f302r8:nsh - nucleo-f207zg:nsh - nucleo-f334r8:nsh - stm32f411e-disco:nsh Tested nxstyle. ---------------------------------------------------------------- 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: [email protected]
