1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/driver_ds1307
Cenk Gündoğan ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
..
tests tests: fix python style 'E302 expected 2 blank lines, found 1' 2017-11-29 17:32:06 +01:00
main.c tests: provide a test application for ds1307 2017-07-31 14:39:09 +02:00
Makefile tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
README.md tests: provide a test application for ds1307 2017-07-31 14:39:09 +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.