Age | Commit message (Collapse) | Author |
|
For backwards compatibility. It simple creates a frame buffer with the
MVLSB format.
|
|
Rename FrameBuffer1 into FrameBuffer and make it handle different bit
depths via a method table that has getpixel and setpixel. Currently
supported formats are MVLSB (monochrome, vertical, LSB) and RGB565.
Also add blit() and fill_rect() methods.
|
|
Also add a test to check case when 3rd arg is 0.
|
|
And then it can run with the native emitter.
|
|
|
|
Improves coverage because it tests the case where the arg does not have a
__len__ slot.
|
|
|
|
|
|
The native emitter doesn't provide proper traceback info so this test
should not be run in that case.
|
|
|
|
|
|
|
|
As required for further elaboration of uasyncio, like supporting baremetal
systems with wraparound timesources. This is not intended to be public
interface, and likely will be further refactored in the future.
|
|
New keyword option in constructor and init() method is "dma=<bool>".
DMA is now disabled by default for I2C transfers because it currently does
not handle I2C bus errors very well (eg if slave device doesn't ACK or
NACK correctly during a transfer).
|
|
|
|
Otherwise this broke esp8266 testsuite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As per CPython semantics. In particular, file.__del__() should not raise
an exception if the file is already closed.
|
|
Covered case:
- Stat cases
- Invalid read/write/flush/close
- Invalid mkdir/rmdir/remove/getcwd
- File seek/tell, modes a/x/+, t/b
- Writing to a full disk
- Full path rename, slash trim
- Rename cases
- Bytestring listdir
- File object printing
|
|
It now works.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The output might contain more than one line ending in 5b so properly skip
everything until the next known point.
This fixes test failures in appveyor debug builds.
|
|
binary op.
|
|
Disabled until a proper fix is found.
|
|
|
|
|
|
|
|
|