1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/ds1307
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
tests-with-config tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
app.config.test tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00

About

This test application is created for testing DS1307 driver. It uses the default device parameters as specified in drivers/ds1307/include/ds1307_params.h. To override these setting, you can simply do this by defining these parameters as compiler flags while building, e.g.:

$ CFLAGS="-DDS1307_PARAM_I2C=I2C_DEV(1)"" make all

Usage

Simply flash this example to your board and after a while you will see a number of points and then OK (x tests) where x corresponds to the number of tests.

The output might take a while.