summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb
Commit message (Collapse)AuthorAge
* stmhal: Fix HAL error raising; make test for it.Damien George2014-11-15
| | | | Addresses issue #968.
* stmhal: Improve CAN print function.Damien George2014-10-30
|
* tests: Added and adapted CAN tests for extended messagesHenrik Sölver2014-10-30
|
* stmhal: Change SPI phase spec to 0,1 to match standard conventions.Damien George2014-10-26
| | | | | | | 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.
* stmhal: Overhaul UART class to use read/write, and improve it.v1.3.4Damien George2014-10-21
| | | | | | | | | | | | 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.
* tests: Add simple CAN test.Damien George2014-10-02
|
* tests: Add test for pyb.disable_irq and pyb.enable_irq.Damien George2014-08-25
|
* stmhal, modtime: Small changes, reduced code size by around 80 bytes.Damien George2014-08-24
| | | | Also added test for modtime.
* 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.
* tests, pyb: Update pin test.Damien George2014-08-08
|
* 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/.