[riot-notifications] [RIOT-OS/RIOT] boot: Moved stdio_init() into periph_init() (#10806)

Marian Buschsieweke notifications at github.com
Tue Mar 26 14:26:07 CET 2019


> I see, but it does not solve the issue for abusing the periph_comon/init.c for non-peripheral implemenations.

Maybe one could view stdio as an peripheral device in a broader sense, as it is an upper layer for interacting with peripheral devices such as keyboard/terminal/serial port on a PC and UART/RTT in the context of RIOT. Those devices are definitely peripheral devices and stdio is RIOT's default interface to UART when there is a human on the other side of the UART port.

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10806#issuecomment-476632552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/931a49fc/attachment.html>


More information about the notifications mailing list