| Commit message (Collapse) | Author | Age |
|
|
|
| |
Addresses issue #968.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Also added test for modtime.
|
|
|
|
|
| |
Waiting for 1000ms between seconds of RTC is sometimes too quick.
Waiting for 1001ms is enough for the RTC to pass 1 second.
|
| |
|
|
|
|
| |
Addresses issue #592.
|
| |
|
|
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/.
|