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

Marian Buschsieweke notifications at github.com
Thu Jan 17 17:37:03 CET 2019

### Contribution description

Prior to this commit stdio is initialized at different stages during boot depending on the board used. This commit moves the initialization of stdio to the beginning of periph_init(). This commit makes stdio available at a predictable and hardware independent stage during boot, which makes the use of stdio (e.g. via DEBUG(...)) during boot more robust.

### Testing procedure

If `examples/hello_world` still compiles and prints, this would be a good indicator that `stdio` is still initialized properly.

### Issues/PRs references
Addresses issue https://github.com/RIOT-OS/RIOT/issues/10645
Related to PR https://github.com/RIOT-OS/RIOT/pull/10615
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * boot: Moved stdio_init() into periph_init()

-- File Changes --

    M boards/common/atmega/board.c (1)
    M boards/common/msb-430/board_init.c (4)
    M boards/common/wsn430/board_init.c (4)
    M boards/telosb/board.c (4)
    M boards/waspmote-pro/board.c (1)
    M boards/z1/board.c (4)
    M cpu/esp32/startup.c (7)
    M cpu/fe310/nano/nanostubs.c (6)
    M drivers/periph_common/init.c (20)
    M sys/newlib_syscalls_default/syscalls.c (2)

-- Patch Links --


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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190117/f07ffc9c/attachment.html>

More information about the notifications mailing list