aboutsummaryrefslogtreecommitdiff
path: root/tests/pyb
AgeCommit message (Collapse)Author
2015-02-23tests: Add more tests for pyb.Timer class.Damien George
2015-02-15stmhal: Add support for CAN rx callbacks.Henrik Sölver
2015-02-13stmhal: Add uart.sendbreak() method, to send a break condition.Damien George
2014-12-18tests: Get misc/print_exception and pyb/spi working on pyboard.Damien George
2014-11-26Adding CAN filter managementHenrik Sölver
2014-11-15stmhal: Fix HAL error raising; make test for it.Damien George
Addresses issue #968.
2014-10-30stmhal: Improve CAN print function.Damien George
2014-10-30tests: Added and adapted CAN tests for extended messagesHenrik Sölver
2014-10-26stmhal: Change SPI phase spec to 0,1 to match standard conventions.Damien George
Was 1 or 2, now 0 or 1 (respectively). 0 means sample MISO on first edge, 1 means sample on second edge. Addresses issue #936.
2014-10-21stmhal: Overhaul UART class to use read/write, and improve it.Damien George
UART object now uses a stream-like interface: read, readall, readline, readinto, readchar, write, writechar. Timeouts are configured when the UART object is initialised, using timeout and timeout_char keyword args. The object includes optional read buffering, using interrupts. You can set the buffer size dynamically using read_buf_len keyword arg. A size of 0 disables buffering.
2014-10-02tests: Add simple CAN test.Damien George
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/.