boards: pic32-wifire: Fix uart initialization#12256
boards: pic32-wifire: Fix uart initialization#12256kaspar030 merged 4 commits intoRIOT-OS:masterfrom
Conversation
de8f2c5 to
7dcff9e
Compare
|
The changes look good and UART is broken now anyway - please squash. |
|
This is broken because default for stdio_uart is 115200, but boards/pic32-wifire/Makefile.include sets BAUD ?= 9600. Removing that line makes this work fine with 115200 baud. I'll push a change here. |
Sorry, that got introduced by #9259. |
|
Please squash, rebase on #9259 (or wait until that is merged), and when resolving the conflicts remove that "BAUD?=9600" line... Otherwise ACK, I tested that combination. |
|
(#9259 was merged) |
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
uart_init should not be called from board_init. stdio_init is responsible for initializing debug UART device. Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
36ce02c to
7e3e827
Compare
|
Rebased and squashed.
My last commit takes care of that. |
kaspar030
left a comment
There was a problem hiding this comment.
ACK. Works like a charm.
|
Thanks @francois-berder! |
Contribution description
stdio_uart was not working on PIC32 WiFire because
STDIO_UART_DEVwas not defined. This PR also includes some cleanup (remove call to uart_init in board_init, remove useless macros).Testing procedure
Compile hello-world and check the output.
Issues/PRs references
Depends on
#11986and#12227