<p></p>
<p><b>@maribu</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15362#discussion_r553449445">tests/mtd_raw/main.c</a>:</p>
<pre style='color:#555'>> +
+    int res = mtd_erase_sector(dev, sector, count);
+
+    if (res) {
+        printf("error: %i\n", res);
+    }
+
+    return res;
+}
+
+static void _print_info(mtd_dev_t *dev)
+{
+    printf("sectors: %"PRIu32"\n", dev->sector_count);
+    printf("pages per sector: %"PRIu32"\n", dev->pages_per_sector);
+    printf("page size: %"PRIu32"\n", dev->page_size);
+    printf("total: %lu\n", (unsigned long)_get_size(dev));
</pre>
<p>What? How do they manage to get their <code>stdio</code> implementation that bloated without even providing features? :-/</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/15362#discussion_r553449445">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFTYZH2WHXL47SMEM3SYXQVVANCNFSM4TH5DQOQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYGHSQLVZR4RP7ZPD53SYXQVVA5CNFSM4TH5DQO2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEGMJHYI.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/15362#discussion_r553449445",
"url": "https://github.com/RIOT-OS/RIOT/pull/15362#discussion_r553449445",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>