[riot-notifications] [RIOT-OS/RIOT] boot: Moved stdio_init() into periph_init() (#10806)
notifications at github.com
Tue Mar 26 14:45:01 CET 2019
> Looking into the code of `stdio_init()` for the UART case, it basically initializes the UART device, thus, a peripheral device. So this argument is not as weak as it appears on the first view.
IMO that proves only that stdio_uart has periph/uart as a dependency. Thus initializing stdio_uart before the uart periph subsystem got a chance to be initialized (through periph_init()) is at least dangerous (or well, will lead to crashes).
I'd assume that stdio_rtt would have a similar issue. It depends on xtimer, which depends on periph_timer, which is also not initialized at this point.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications