1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
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:
bors[bot] 2023-04-06 12:14:23 +00:00 committed by GitHub
commit d769537ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common
USEMODULE += at24c256
AT24CXXX_DEV ?= at24c256
USEMODULE += $(AT24CXXX_DEV)
include $(RIOTBASE)/Makefile.include

View 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.