- 02 Sep, 2016 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 01 Sep, 2016 7 commits
-
-
Delio Brignoli authored
Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats.
-
Radomir Dopieralski authored
With backwards compatibility for pyboard.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The idea is that all ports can use these helper methods and only need to provide initialisation of the SPI bus, as well as a single transfer function. The coding pattern follows the stream protocol and helper methods.
-
- 31 Aug, 2016 1 commit
-
-
Damien George authored
This extra forward slash for the starting-point directory is unnecessary and leads to additional slashes on Max OS X which mean that the frozen files cannot be imported. Fixes #2374.
-
- 29 Aug, 2016 14 commits
-
-
Paul Sokolovsky authored
Or alternatively, refer to an exact library file, not just phony target "lib".
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
And remove reference to deprecated pyb.delay() and pyb.millis().
-
Damien George authored
-
Krzysztof Blazewicz authored
-
Philip Potter authored
-
Philip Potter authored
-
Philip Potter authored
-
Philip Potter authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
This allows 1-wire drivers (eg DS18X20) to perform in-place operations and hence do less memory allocations.
-
Damien George authored
The OneWire class is now in its own onewire.py module, and the temperature sensor class is in its own ds18x20.py module. The latter is renamed to DS18X20 to reflect the fact that it will support both the "S" and "B" variants of the device. These files are moved to the modules/ subdirectory to take advantage of frozen bytecode.
-
- 28 Aug, 2016 2 commits
-
-
Radomir Dopieralski authored
Use the `SPI` factory function in the examples, and use proper baud rate of 80 000 000.
-
Paul Sokolovsky authored
-
- 27 Aug, 2016 4 commits
-
-
Damien George authored
It has reliability issues (cause unknown at this time).
-
Damien George authored
This rename was missed in the previous patch.
-
Damien George authored
Also at _t to mp_exc_stack pre-declaration in struct typedef.
-
Damien George authored
-
- 26 Aug, 2016 8 commits
-
-
Radomir Dopieralski authored
Try to un-mount a file system and re-mount it again.
-
Damien George authored
-
Damien George authored
Saves a few bytes of code size.
-
Damien George authored
-
Damien George authored
As per CPython.
-
Krzysztof Blazewicz authored
This patch makes second and next calls to <socket>.close() a no-op. It prevents GC from closing the underlying resource after user already used <socket>.close() explicitly. fixes #2355
-
Damien George authored
There can be stray pointers in memory blocks that are not properly zero'd after allocation. This patch adds a new config option to always zero all allocated memory (via gc_alloc and gc_realloc) and hence help to eliminate stray pointers. See issue #2195.
-
Radomir Dopieralski authored
This is an object-oriented approach, where uos is only a proxy for the methods on the vfs object. Some internals had to be exposed (the STATIC keyword removed) for this to work. Fixes #2338.
-
- 25 Aug, 2016 1 commit
-
-
Paul Sokolovsky authored
-