<p>Compilation fails for me because of <code>chronos</code> that does not know <code>fflush(stdout)</code> I will look into it tomorrow.</p>
<blockquote>
<blockquote>
<p>Compilation fails for me because of <code>chronos</code> that does not know <code>fflush(stdout)</code> I will look into it tomorrow.</p>
</blockquote>
<p>why not just use <code>print_str()</code> instead of <code>printf()</code> around it?</p>
</blockquote>
<p>The test script is using <code>printf</code> in other places and would need to be flushed anyway before using <code>print_str</code>.</p>
<p>I just did the same as what is done for the other use of <code>fflush(stdout)</code>.</p>
<p>I tested on <code>wsn430</code> and it looks like it cannot switch the entropy source. When calling <code>source 1</code> it gets stuck. But the issue was also there with master.<br>
Also on <code>wsn430-v1_3b</code> printf was not printing float.</p>
<p>So <code>printf_float</code> handling does not currently work for these BSPs.</p>

<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/10999#issuecomment-463204541">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YAeq2YfgdGUhchaYlfK2X0010Wtrks5vNBcegaJpZM4a2WUV">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YF4Hs0Graag-xQiLRyv50233lGKqks5vNBcegaJpZM4a2WUV.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@cladmi in #10999: Compilation fails for me because of `chronos` that does not know `fflush(stdout)` I will look into it tomorrow.\r\n\r\n\u003e \u003e Compilation fails for me because of `chronos` that does not know `fflush(stdout)` I will look into it tomorrow.\r\n\u003e \r\n\u003e why not just use `print_str()` instead of `printf()` around it?\r\n\r\nThe test script is using `printf` in other places and would need to be flushed anyway before using `print_str`.\r\n\r\nI just did the same as what is done for the other use of `fflush(stdout)`.\r\n\r\n\r\nI tested on `wsn430` and it looks like it cannot switch the entropy source. When calling `source 1` it gets stuck. But the issue was also there with master.\r\nAlso on `wsn430-v1_3b` printf was not printing float.\r\n\r\nSo `printf_float` handling does not currently work for these BSPs.\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/10999#issuecomment-463204541"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10999#issuecomment-463204541",
"url": "https://github.com/RIOT-OS/RIOT/pull/10999#issuecomment-463204541",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>