spectraphilic / wsn_riot

RIOT OS for WSN application at UiO
0 stars 0 forks source link

RTC DS1337C #3

Open jdavid opened 3 years ago

jdavid commented 3 years ago

The Waspmote v15 has the DS1337C RTC, and RIOT has support for DS1307, but unfortunately it doesn't work:

$ BOARD=waspmote-pro FFLAGS_EXTRA="-F" make -C tests/driver_ds1307 all flash
[...]
$ BOARD=waspmote-pro BOOTLOADER_BAUD=115200 make -C tests/driver_ds1307 test
[...]
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: 2020.10-devel-1797-gbe935)
DS1307 RTC test

.
tests.test_nvram (tests/driver_ds1307/main.c 89) exp "This is a test" was "This i"
..
tests.test_halt (tests/driver_ds1307/main.c 117) exp 0 was -1

run 3 failures 2
Timeout in expect script at "r"error: unable to initialize RTC \[I2C initialization error\]"])" (tests/driver_ds1307/tests/01-run.py:15)

make: *** [/home/jdavid/sandboxes/UiO/wsn_riot/RIOT/tests/driver_ds1307/../../Makefile.include:761: test] Error 1
make: Leaving directory '/home/jdavid/sandboxes/UiO/wsn_riot/RIOT/tests/driver_ds1307'