diff --git a/tests/driver_at24cxxx/Makefile b/tests/driver_at24cxxx/Makefile index 26bcdf18da..c28504d14c 100644 --- a/tests/driver_at24cxxx/Makefile +++ b/tests/driver_at24cxxx/Makefile @@ -1,5 +1,7 @@ include ../Makefile.tests_common -USEMODULE += at24c256 +AT24CXXX_DEV ?= at24c256 + +USEMODULE += $(AT24CXXX_DEV) include $(RIOTBASE)/Makefile.include diff --git a/tests/driver_at24cxxx/README.md b/tests/driver_at24cxxx/README.md new file mode 100644 index 0000000000..97ef883435 --- /dev/null +++ b/tests/driver_at24cxxx/README.md @@ -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= 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.