[riot-notifications] [RIOT-OS/RIOT] tests/mtd_raw: add simple test for MTD (#15362)

Marian Buschsieweke notifications at github.com
Thu Jan 7 17:48:26 CET 2021

@maribu commented on this pull request.

> +
+    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));

What? How do they manage to get their `stdio` implementation that bloated without even providing features? :-/

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/d7340729/attachment.htm>

More information about the notifications mailing list