cpu/mips32r2_common: Added call to stdio_init()#12227
Merged
benpicco merged 1 commit intoRIOT-OS:masterfrom Sep 17, 2019
Merged
cpu/mips32r2_common: Added call to stdio_init()#12227benpicco merged 1 commit intoRIOT-OS:masterfrom
benpicco merged 1 commit intoRIOT-OS:masterfrom
Conversation
Member
Author
|
As I do not have the hardware, this is completely untested. Maybe @francois-berder can test it? |
Fixed bug introduced in RIOT-OS#11367
9f0620b to
5fd6652
Compare
Member
Author
|
I fixed a typo in the commit message right away |
Contributor
|
Hello, I compiled hello-world and ran it on pic32-wifire. The bug you mentioned was actually not present on pic32 boards because uart_init is called from cpu_init so uart would get initialized. I had to make additional changes (see the diff below), but I think that is outside the scope of this PR. So ACK ! |
This was referenced Sep 16, 2019
benpicco
approved these changes
Sep 17, 2019
Contributor
benpicco
left a comment
There was a problem hiding this comment.
Tested by @francois-berder
Same change as on the others archs.
Contributor
|
This PR actually broke the pic32-wifire for me, hard-faults directly after boot. Uncommenting the "stdio_init()" line makes it work again. |
Contributor
|
@kaspar030 can you try with #12256 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
Added a call to
stdio_init()right before calling `periph_init().Testing procedure
Flash and run e.g.
examples/defaultorexamples/hello-worldand see if stdio is working againIssues/PRs references
Fixes bug introduced in #11367