22 Commits (7cbae3d20c0f79511a932bbcb2d66d2620b6bb3a)

Author SHA1 Message Date
Scott Shawcroft 966a48b23a
More size_t usage
3 years ago
Scott Shawcroft a35d9b469d
Refactor deinit check to reduce code size.
4 years ago
Scott Shawcroft cfe24b8532
Improve rST consistency for rst2pyi use
4 years ago
Scott Shawcroft 747f2cfe26
Add subclass support to displayio.
4 years ago
Scott Shawcroft 933add6cd8
Support internationalisation.
5 years ago
dean 82b5efa7bc remove unnecessary comment
5 years ago
dean fba1e221c6 DM: add kwargs to bitbangio spi
5 years ago
dean 68309c3fac replace tabs with spaces
5 years ago
dean 0e13aba2fe DM: fix sytling
5 years ago
dean a7f72eb2d8 DM: added write_readinto to bitbangio
5 years ago
Dan Halbert 065e82015f merge from 2.2.0 + fix up board defs
5 years ago
Dan Halbert c478c10923 Do not allow a *io object to be used after deinit().
5 years ago
Scott Shawcroft 714521a4c7 shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use.
6 years ago
Scott Shawcroft 939c0045db Switch to a shared piece of code to compute start and length of a
6 years ago
Scott Shawcroft 4aaa0ea008 shared-bindings: Do a pass on the docs and make sure keyword only arguments make sense and are documented correctly. Fixes #109
6 years ago
Scott Shawcroft 7ecbc3a148 shared-bindings: Fix two more try_locks. Copy and paste failed me.
6 years ago
Scott Shawcroft 12fa5b3a66 Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.
6 years ago
Scott Shawcroft e9659e61f8 Switch enum-like attributes to all caps and add print support for them. Make room for this functionality by adding a shared __enter__ function object. #76
6 years ago
Scott Shawcroft 26229efe78 Add try_lock and unlock to I2C and SPI classes to make sure things
6 years ago
Scott Shawcroft 9b3afc7b37 shared-bindings: Make MOSI and MISO optional for SPI.
6 years ago
Scott Shawcroft 4933fa1c27 shared-bindings: Ensure pin objects are actually pins.
6 years ago
Scott Shawcroft ccbb5e84f9 This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware.
6 years ago