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

benpicco notifications at github.com
Mon Nov 2 21:21:29 CET 2020


### Contribution description

There are several tests for file systems that use the MTD layer but there is currently no test to quickly test out the behavior of a MTD device.
This fixes that.

### Testing procedure

Run `tests/mtd_raw` on a board with a MTD device configured.
You can manually read / write / erase data, but there is also a `test` command that performs some automatic tests to quickly verify the correct working of a MTD implementation.


### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15362

-- Commit Summary --

  * sys/od: allow to specify address offset with od_hex_dump_ext()
  * tests/mtd_raw: add simple test for MTD

-- File Changes --

    M sys/include/od.h (22)
    M sys/od/od.c (6)
    A tests/mtd_raw/Makefile (10)
    A tests/mtd_raw/main.c (453)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15362.patch
https://github.com/RIOT-OS/RIOT/pull/15362.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15362
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201102/cf977638/attachment-0001.htm>


More information about the notifications mailing list