| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-08-28 | esp8266/modmachinewdt: Implement machine.WDT class. | Paul Sokolovsky | |
| 2016-08-27 | tests/run-tests: Disable thread_gc1.py test on Travis. | Damien George | |
| It has reliability issues (cause unknown at this time). | |||
| 2016-08-27 | py/bc.h: Rename _mp_code_state to _mp_code_state_t. | Damien George | |
| This rename was missed in the previous patch. | |||
| 2016-08-27 | py: Rename struct mp_code_state to mp_code_state_t. | Damien George | |
| Also at _t to mp_exc_stack pre-declaration in struct typedef. | |||
| 2016-08-27 | extmod/modframebuf: Fix pixel accessor to return a 1-bit result. | Damien George | |
| 2016-08-26 | tests/extmod/vfs_fat_ramdisk: Add tests for VFS.umount() | Radomir Dopieralski | |
| Try to un-mount a file system and re-mount it again. | |||
| 2016-08-26 | py/emitglue: Use more compact mp_raise_ValueError function. | Damien George | |
| 2016-08-26 | py/modstruct: Use more compact mp_raise_ValueError function. | Damien George | |
| Saves a few bytes of code size. | |||
| 2016-08-26 | tests/cmdline: Add test for -O option to check optimisation value. | Damien George | |
| 2016-08-26 | py/compile: Don't compile assert statements when optimisations enabled. | Damien George | |
| As per CPython. | |||
| 2016-08-26 | stmhal/modusocket: set self->nic to MP_OBJ_NULL after socket close | Krzysztof Blazewicz | |
| 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 | |||
| 2016-08-26 | py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. | Damien George | |
| 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. | |||
| 2016-08-26 | esp8266/modous: Add os.umount method to unmount a filesystem. | Radomir Dopieralski | |
| 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. | |||
| 2016-08-25 | lib/berkeley-db-1.xx: Update to upstream, fixes MacOSX build. | Paul Sokolovsky | |
| 2016-08-25 | esp8266/hspi: Enable duplex operation of hardware SPI | Radomir Dopieralski | |
| 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. | |||
| 2016-08-25 | lib/utils/stdout_helpers: Fix function signature to match py/mphal.h. | Paul Sokolovsky | |
| 2016-08-25 | stmhal: Update pin print to print new constants | Dave Hylands | |
| This updates the print function for machine.Pin to print out the new constants from the Hardware API defintion rather than the legacy definitions. | |||
| 2016-08-25 | esp8266/modpybrtc: Use 64-bit arithmetic when computing alarm expiry. | Damien George | |
| 2016-08-25 | tests/run-tests: Disable thread/stress_heap.py when running on Travis. | Damien George | |
| It has reliability issues and sometimes fails on Travis (reason currently unknown). | |||
| 2016-08-25 | stmhal: Make ADC channel 16 available on L4 MCUs. | Matt Brejza | |
| 2016-08-24 | extmod/modubinascii: Make crc32() support configurable. | Paul Sokolovsky | |
| Disable by default, enable in unix port. | |||
| 2016-08-24 | extmod/modubinascii: implement binascii.crc32 | Pavol Rusnak | |
| 2016-08-24 | py/stream.c: use mp_obj_get_type in mp_get_stream_raise | Krzysztof Blazewicz | |
| 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 | |||
| 2016-08-24 | extmod/modbtree: do CHECK_ERROR after __bt_seq() | Krzysztof Blazewicz | |
| 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. | |||
| 2016-08-22 | teensy: Fix execution of frozen boot.py and main.py | Dave Hylands | |
| 2016-08-22 | stmhal: Remove obsolete code for special handling of TIM3 irq settings. | Damien George | |
| TIM3 is no longer special, or at least does not have special IRQ settings. | |||
| 2016-08-22 | stmhal: Fix timer capture/compare interrupt handling for TIM1 and TIM8. | Dave Hylands | |
| 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 | |||
| 2016-08-20 | esp8266/esp_mphal: No longer disable watchdog on startup. | Paul Sokolovsky | |
| Disabling it was an omission from early development stages. | |||
| 2016-08-19 | esp8266/modmachinespi: Add a factory method for SoftSPI/HSPI | Radomir Dopieralski | |
| 2016-08-19 | esp8266/modpybhspi: Add a HSPI module for hardware SPI support | Radomir Dopieralski | |
| This module uses ESP8266's SPI hardware, which allows much higher speeds. It uses a library from https://github.com/MetalPhreak/ESP8266_SPI_Driver | |||
| 2016-08-17 | extmod/uzlib/: Update uzlib to v2.0.2. | Paul Sokolovsky | |
| Consistently use stdint types. Fixes stmhal build. | |||
| 2016-08-17 | docs/library/machine.WDT: Add note that WDT is only available on WiPy. | Damien George | |
| 2016-08-17 | tests/run-tests: Disable thread/thread_lock4.py on Travis. | Damien George | |
| It has reliability issues that need to be worked out. | |||
| 2016-08-17 | extmod/uzlib/: Update uzlib to v2.0.1. | Paul Sokolovsky | |
| Fixes for pedantic compiler warnings. | |||
| 2016-08-17 | tests/uzlib_decompress: Actually test raw DEFLATE stream. | Paul Sokolovsky | |
| 2016-08-17 | extmod/moduzlib: Refactor to new stream-compatible uzlib 2.0 API. | Paul Sokolovsky | |
| 2016-08-17 | extmod/uzlib/: Update uzlib to v2.0. | Paul Sokolovsky | |
| New API supporting stream decompression. | |||
| 2016-08-17 | tests/basics/special_methods: Enable tests for extra special methods. | Damien George | |
| These additional special methods are enabled on most ports so we can test them in this test. | |||
| 2016-08-17 | qemu-arm: Enable MICROPY_PY_ALL_SPECIAL_METHODS. | Damien George | |
| The qemu-arm port is for testing, so should have features enabled. | |||
| 2016-08-17 | tests/basics: Add a test file for overriding special methods. | rguillon | |
| 2016-08-16 | extmod/modwebrepl: set_password(): Raise exception for too long password. | Paul Sokolovsky | |
| 2016-08-15 | py/sequence: Allow to use bignums as indices in slice objects. | Damien George | |
| See issue #2264. | |||
| 2016-08-15 | tests/basics: Add test for break from within try within a for-loop. | Damien George | |
| 2016-08-15 | ports: Remove typedef of machine_ptr_t, it's no longer needed. | Damien George | |
| This type was used only for the typedef of mp_obj_t, which is now defined by the object representation. So we can now remove this unused typedef, to simplify the mpconfigport.h file. | |||
| 2016-08-15 | py/obj.h: For obj reprs A,B,C use void* explicitly for mp_obj_t typedef. | Damien George | |
| The machine_ptr_t type is long obsolete as the type of mp_obj_t is now defined by the object representation, ie by MICROPY_OBJ_REPR. So just use void* explicitly for the typedef of mp_obj_t. If a port wants to use something different then they should define a new object representation. | |||
| 2016-08-15 | tests/misc/non_compliant: Add tests to improve coverage testing. | Damien George | |
| 2016-08-15 | tests/basics: Add more list tests to improve coverage testing. | Damien George | |
| 2016-08-15 | tests/basics: Add more tuple tests to improve coverage testing. | Damien George | |
| 2016-08-14 | py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg. | Damien George | |
| This patch does further refactoring using the new mp_raise_TypeError and mp_raise_ValueError functions. | |||
| 2016-08-14 | py/runtime.h: Move comment about mp_not_implemented to correct place. | Damien George | |
