<h3>Contribution description</h3>
<p>Added a call to <code>stdio_init()</code> right before calling `periph_init().</p>
<ul>
<li>This guarantees that DEBUG() is available early in boot process</li>
<li>Forgotten in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="431399954" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11367" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11367/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11367">#11367</a>, this fixes broken stdio</li>
</ul>
<h3>Testing procedure</h3>
<p>Flash and run e.g. <code>examples/default</code> or <code>examples/hello-world</code> and see if stdio is working again</p>
<h3>Issues/PRs references</h3>
<p>Fixes bug introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="431399954" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11367" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11367/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11367">#11367</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/12227'>https://github.com/RIOT-OS/RIOT/pull/12227</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>cpu/mips32_r2_common: Added call to stdio_init()</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/12227/files#diff-0">cpu/mips32r2_common/cpu.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/12227.patch'>https://github.com/RIOT-OS/RIOT/pull/12227.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/12227.diff'>https://github.com/RIOT-OS/RIOT/pull/12227.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12227?email_source=notifications&email_token=ABE7WYCVIYMAOGH4KBBB6KDQJSWQ3A5CNFSM4IWWQWN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLL2C2A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAUNS7RWYCMVHU5OCTQJSWQ3ANCNFSM4IWWQWNQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYHLH7OO3BKTM2AYXR3QJSWQ3A5CNFSM4IWWQWN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLL2C2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12227?email_source=notifications\u0026email_token=ABE7WYCVIYMAOGH4KBBB6KDQJSWQ3A5CNFSM4IWWQWN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLL2C2A",
"url": "https://github.com/RIOT-OS/RIOT/pull/12227?email_source=notifications\u0026email_token=ABE7WYCVIYMAOGH4KBBB6KDQJSWQ3A5CNFSM4IWWQWN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLL2C2A",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>