summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/rtc.py
Commit message (Collapse)AuthorAge
* tests/pyb: Adjust tests so they can run on PYB and PYBLITE.Damien George2017-02-06
| | | | | | A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other).
* tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init().Damien George2016-06-03
|
* tests: In pyb RTC tests, check wakeup register values.Peter Hinch2015-10-09
|
* sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value.blmorris2015-05-11
|
* tests: Wait for just over 1 sec when testing RTC.Damien George2014-08-16
| | | | | Waiting for 1000ms between seconds of RTC is sometimes too quick. Waiting for 1001ms is enough for the RTC to pass 1 second.
* stmhal: Fix setting of RTC: was BCD now BIN encoded.Damien George2014-05-10
| | | | Addresses issue #592.
* tests, pyb: Add 'import pyb' when needed.Damien George2014-05-04
|
* tests: Add a suite of tests specifically for the pyboard.Damien George2014-05-03
In tests/pyb is now a suite of tests that tests the pyb module on the pyboard. They include expected output files because we can't run CPython on the pyboard to compare against. run-tests script has now been updated to allow pyboard tests to be run. Just pass the option --pyboard. This runs all basic, float and pyb tests. Note that float/math-fun.py currently fails because not all math functions are implemented in stmhal/.