Commit Graph

6 Commits

Author SHA1 Message Date
0ee9d39e81 Clean up test code
Separate/consolidate board initialization code, and a few functions
that are shared across tests. Update the Makefile accordingly.

Resolves #18
2020-06-12 18:57:09 -07:00
573504547c Add button tests
This is implemented by connecting the DTR pin of the serial device to the BTN_UP pin of the watch.

Also, make it possible to flash different applications with the Makefile.

Resolves #4
2020-06-11 16:39:51 +00:00
cdf0f4ffc9 Update such that tests pass for v1.2
This includes minor updates for the th different MCU variant, and bugfixes.

Resolves #7
2020-06-03 04:51:19 +00:00
0f0cb73fa5 Fix building for BOARD=watch (Fixes #8), enable in CI 2020-05-16 22:04:56 +00:00
f455ce9113 Fix RTC synchronization after sleep, add many more tests
There were two issues with the tests

1. Incorrect print formats causing incorrect output.

2. The RTC driver was not waiting for the shadow registers to be
updated after sleeping, their reset values to be read.
2020-05-14 09:47:38 -07:00
e5057da888 Add a variety of automated tests 2020-04-20 07:32:04 -07:00