- Aug 27, 2016
-
-
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
-
- Aug 26, 2016
-
-
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.
-
- Aug 25, 2016
-
-
Paul Sokolovsky authored
-
Radomir Dopieralski authored
Without this, spi.read(1, 0xff) would use 16 clock cycles, first to send 0xff and then to receive one byte, as visible with a logic analyzer.
-
Paul Sokolovsky authored
-
Dave Hylands authored
This updates the print function for machine.Pin to print out the new constants from the Hardware API defintion rather than the legacy definitions.
-
Damien George authored
-
Damien George authored
It has reliability issues and sometimes fails on Travis (reason currently unknown).
-
Matt Brejza authored
-
- Aug 24, 2016
-
-
Paul Sokolovsky authored
Disable by default, enable in unix port.
-
Pavol Rusnak authored
-
- Aug 23, 2016
-
-
Krzysztof Blazewicz authored
In current state `mp_get_stream_raise` assumes that `self_in` is an object and always performs a pointer derefence which may cause a segfault. This function shall throw an exception whenever `self_in` does not implement a stream protocol, that includes qstr's and numbers. fixes #2331
-
Krzysztof Blazewicz authored
In `btree_seq()`, when `__bt_seq()` gets called with invalid `flags` argument it will return `RET_ERROR` and it won't initialize `val`. If field `data` of uninitialized `val` is passed to `mp_obj_new_bytes()` it causes a segfault.
-
- Aug 22, 2016
-
-
Dave Hylands authored
-
Damien George authored
TIM3 is no longer special, or at least does not have special IRQ settings.
-
Dave Hylands authored
It turns out that TIM1 and TIM8 have their own Capture/Compare interrupt vector. For all of the other timers, the capture/compare interrupt vector is the same as the update vector. So we need to add handlers for these vectors and enable them when using capture/compare callbacks. During testing of this, I also found that passing a channel callback into the channel constructor would not enable interrupts properly. I tested using: ``` >>> pyb.Timer(1, freq=4).channel(1, pyb.Timer.OC_TOGGLE, callback=lambda t: print('.', end='')) ``` I tested the above with channels 1, 4, and 8
-
- Aug 20, 2016
-
-
Paul Sokolovsky authored
Disabling it was an omission from early development stages.
-
- Aug 19, 2016
-
-
Radomir Dopieralski authored
-
Radomir Dopieralski authored
This module uses ESP8266's SPI hardware, which allows much higher speeds. It uses a library from https://github.com/MetalPhreak/ESP8266_SPI_Driver
-
- Aug 17, 2016
-
-
Paul Sokolovsky authored
Consistently use stdint types. Fixes stmhal build.
-
Damien George authored
-
Damien George authored
It has reliability issues that need to be worked out.
-
Paul Sokolovsky authored
Fixes for pedantic compiler warnings.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
New API supporting stream decompression.
-
Damien George authored
These additional special methods are enabled on most ports so we can test them in this test.
-
Damien George authored
The qemu-arm port is for testing, so should have features enabled.
-
rguillon authored
-
- Aug 16, 2016
-
-
Paul Sokolovsky authored
-
- Aug 15, 2016
-
-
Damien George authored
See issue #2264.
-