1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/periph_eeprom
Gaëtan Harter 3058c8c645
tests/periph_eeprom: use memcmp for cleared bytes
`strcmp` was used to check that the 4 bytes were empty but was not
testing what it should as an empty string is `0` bytes long.

The whole must be verified.
2019-02-12 16:37:42 +01:00
..
tests tests/periph_eeprom: add testrunner script 2018-10-16 10:39:10 +02:00
main.c tests/periph_eeprom: use memcmp for cleared bytes 2019-02-12 16:37:42 +01:00
Makefile examples, tests: add memory insufficient arduino boards 2018-11-02 17:57:13 +01:00
README.md tests/periph_eeprom: add test application 2018-05-24 14:07:55 +02:00

Expected result

Use the provided shell commands to read and write bytes from/to the MCU's internal EEPROM memory.

# Read 10 bytes from the beginning of the eeprom
> read 0 10

# Write HelloWorld starting from the 10th position in the eeprom
> write 10 HelloWorld

Background

This test application provides shell commands to verify the implementations of the eeprom peripheral driver interface.