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

Fran├žois Berder notifications at github.com
Thu Feb 21 23:27:16 CET 2019

So I finally found why it was not working on the WiFire board (and Clicker as well). By default, `STDIO_UART_DEV` is set to `UART_DEV(0)`. Since `UART_DEV` is not redefined, this means that `STDIO_UART_DEV` has value 0 and the call to `uart_init(STDIO_UART_DEV, ...)` triggers the assertion in `cpu/mips_pic32_common/periph/uart.c:51` because, on PIC32MX and PIC32MZ, UART peripherals indexing start from 1 (as I think all other peripherals).

Here are the patches for pic32-wifire and pic32-clicker boards (I have tested this PR on both boards): [mips-patches.zip](https://github.com/RIOT-OS/RIOT/files/2891511/mips-patches.zip)

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/20190221/4fde0363/attachment-0001.html>

More information about the notifications mailing list