summaryrefslogtreecommitdiff
path: root/tests/pyb
AgeCommit message (Collapse)Author
2014-08-25tests: Add test for pyb.disable_irq and pyb.enable_irq.Damien George
2014-08-24stmhal, modtime: Small changes, reduced code size by around 80 bytes.Damien George
Also added test for modtime.
2014-08-16tests: Wait for just over 1 sec when testing RTC.Damien George
Waiting for 1000ms between seconds of RTC is sometimes too quick. Waiting for 1001ms is enough for the RTC to pass 1 second.
2014-08-08tests, pyb: Update pin test.Damien George
2014-05-10stmhal: Fix setting of RTC: was BCD now BIN encoded.Damien George
Addresses issue #592.
2014-05-04tests, pyb: Add 'import pyb' when needed.Damien George
2014-05-03tests: Add a suite of tests specifically for the pyboard.Damien George
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/.