Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Gunar Schorcht
fbd486bf2e
tests/periph_eeprom: fix NDEBUG compile problem
2020-03-12 18:04:42 +01:00
Gaëtan Harter
c894b67733
tests/periph_eeprom: take EEPROM_CLEAR_BYTE into account
...
After being cleared, the memory can be `0xFF` for `atmega` platforms for
example.
Fix the test to take EEPROM_CLEAR_BYTE into account.
2019-02-12 16:37:42 +01:00
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
Gaëtan Harter
7455e0b6fe
tests/periph_eeprom: use memcmp
...
Use `memcmp` where it is obvious it is not doing a string comparison.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
6d8fd279ac
tests/periph_eeprom: remove useless casts
...
Casting to `const char *` is not necessary as input, the type are
already the right ones.
It could not be before as `result` was with the wrong type.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
c029fcde11
tests/periph_eeprom: fix 'results' type
...
Results type should only be an array of char, not an array of pointers.
2019-02-12 16:37:42 +01:00
3e8c113c59
tests/periph_eeprom: cleanup + add auto tests for clear and set
2018-12-04 11:25:08 +01:00
f1d3d206c9
tests/periph_eeprom: add set command in shell
2018-12-04 11:24:57 +01:00
c95c1e4def
tests/periph_eeprom: add clear and erase commands
2018-12-04 11:24:57 +01:00
ae6028c749
tests/periph_eeprom: refactor test application + fix bounds
2018-10-16 10:39:10 +02:00
3896b4aa4c
tests/periph_eeprom: add test application
2018-05-24 14:07:55 +02:00