mkiiskila commented on issue #507: boot_serial; access uart driver directly instead of going through console. URL: https://github.com/apache/mynewt-core/pull/507#issuecomment-326368940 The serial bootloader opens the UART, and uses syscfg settings to figure out which one to open, baudrate etc. I could've placed these syscfg definitions to under boot/boot_serial instead, but it felt more natural to have them under console/stub. I wanted to use the same syscfg variable names (as these might be overwritten in bsp). console/stub gets used when building bootloader, so it sort of works naturally. Although the reason to have them there is a bit unnatural. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
With regards, Apache Git Services