[riot-notifications] [RIOT-OS/RIOT] boot: Moved stdio_init() into periph_init() (#10806)
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...
More information about the notifications