mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19457
19457: tests/drivers_at24cxxx: make it easier to select other EEPROMS r=fabian18 a=fabian18 Co-authored-by: Fabian Hüßler <fabian.huessler@ml-pa.com>
This commit is contained in:
commit
d769537ad3
@ -1,5 +1,7 @@
|
||||
include ../Makefile.tests_common
|
||||
|
||||
USEMODULE += at24c256
|
||||
AT24CXXX_DEV ?= at24c256
|
||||
|
||||
USEMODULE += $(AT24CXXX_DEV)
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
10
tests/driver_at24cxxx/README.md
Normal file
10
tests/driver_at24cxxx/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
Test for at24cxxx EEPROMS
|
||||
=========================
|
||||
This tests general functionality of at24cxxx EEPROMS.
|
||||
To select the right EEPROM, for example at24c256, do `AT24CXXX_DEV=at24c256 BOARD=<your board> make flash term`.
|
||||
The at24c256 is selected by default.
|
||||
To see a list of supported devices, take a look at `drivers/at24cxxx/include/at24cxxx_defines.h`
|
||||
|
||||
Expected result
|
||||
===============
|
||||
You should see that all tests print `[SUCCESS]` and that the tests finish.
|
Loading…
Reference in New Issue
Block a user