| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-11-22 | tests/basics: Improve user class coverage. | Rami Ali | |
| 2016-11-22 | tests/extmod: Improve ujson coverage. | Rami Ali | |
| 2016-11-22 | py/objtype: Implement __call__ handling for an instance w/o heap alloc. | Paul Sokolovsky | |
| By refactoring and reusing code from objboundmeth. | |||
| 2016-11-21 | stmhal: Updates to get F411 MCUs compiling with latest ST HAL. | Damien George | |
| 2016-11-21 | tests/micropython: Move alloc-less traceback test to separate test file. | Damien George | |
| The native emitter doesn't provide proper traceback info so this test should not be run in that case. | |||
| 2016-11-21 | tests/micropython: Add test for creating traceback without allocation. | Damien George | |
| 2016-11-21 | stmhal/i2c: Use the HAL's I2C IRQ handler for F7 and L4 MCUs. | Damien George | |
| The custom IRQ handler only works for F4 MCUs, which have the SR1 register. | |||
| 2016-11-21 | unix/Makefile: Update freedos target for change of USELECT config name. | Damien George | |
| 2016-11-21 | extmod/moduselect: Fix comment describing endif. | Damien George | |
| 2016-11-21 | extmod/machine_mem: Typo fix in comment. | Paul Sokolovsky | |
| 2016-11-21 | cc3200: Update for moduselect moved to extmod/. | Paul Sokolovsky | |
| 2016-11-21 | unix: Rename define for unix moduselect to MICROPY_PY_USELECT_POSIX. | Paul Sokolovsky | |
| To not conflict with recently made available globally baremetal moduselect. | |||
| 2016-11-21 | stmhal/moduselect: Move to extmod/ for reuse by other ports. | Paul Sokolovsky | |
| 2016-11-18 | examples/accellog.py: Change 1: to /sd/, and update comment about FS. | Damien George | |
| 2016-11-18 | examples/hwapi: Add hwconfig for console tracing of LED operations. | Paul Sokolovsky | |
| 2016-11-17 | extmod/machine_i2c: Release SDA on bus error | Radomir Dopieralski | |
| 2016-11-17 | extmod/machine_i2c: Raise an error when clock stretching times out | Radomir Dopieralski | |
| 2016-11-17 | extmod/machine_i2c: Make the clock stretching timeout configurable | Radomir Dopieralski | |
| 2016-11-17 | examples/hwapi: Add example for machine.time_pulse_us(). | Paul Sokolovsky | |
| 2016-11-16 | stmhal: Update HALCOMMITS due to change to hal. | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/make-stmconst.py: Restore Python 2 compatibility. | Damien George | |
| 2016-11-16 | stmhal: Update HALCOMMITS due to change to hal. | Damien George | |
| 2016-11-16 | stmhal/make-stmconst.py: Add support for files with invalid utf8 bytes. | Damien George | |
| 2016-11-16 | stmhal/mphalport.h: use single GPIOx->BSRR register | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/hal: do not include <stdio.h> in HAL headers | Krzysztof Blazewicz | |
| stdio.h was included in all HAL files only to provide definition of NULL symbol "stdio.h" includes "types.h" which contains some conflicting definitions with "drivers/cc3000/inc/socket.h" | |||
| 2016-11-16 | stmhal/i2c: provide custom IRQ handlers | Krzysztof Blazewicz | |
| Use custom handlers providing minimal required functionality because those provided by ST increase code size by almost 2 KiB. | |||
| 2016-11-16 | stmhal/can: clear FIFO flags in IRQ handler | Krzysztof Blazewicz | |
| HAL Driver before v1.4.2 had a bug which caused clearing all pending flags in MSR, TSR, RF0R and RF1R instead of only the requested one. This is why micropython got away without explicitly clearing flags in IRQ handler. | |||
| 2016-11-16 | stmhal/dma: mark DMA sate as READY even if HAL_DMA_Init is skipped | Krzysztof Blazewicz | |
| Current version of HAL drivers checks if `hdma->State == HAL_DMA_STATE_READY` before executing some functions. | |||
| 2016-11-16 | stmhal/dma: precalculate register base and bitshift on handle init | Krzysztof Blazewicz | |
| Current version of HAL drivers optimize IRQ handler by using precalculated DMA register address and stream bitshift instead of calculating it on every interrupt. Since we skip call to `HAL_DMA_Init` on reused DMA, fields StreamBaseAddress and StreamIndex of DMA handle are not initialized and thus leads to SegFault in `DMA_IRQHandler`. HAL_DMA_Init is a big routine and we do not need to call it on each use of DMA (ex.: series of I2C operations) and DMA_CalcBaseAndBitshift is really small and releasing it increases code size by only 8 bytes. | |||
| 2016-11-16 | stmhal/i2c: handle I2C IRQs | Krzysztof Blazewicz | |
| This is required by HAL Driver for error handling since v1.5.0 | |||
| 2016-11-16 | stmhal/make-stmconst.py: fix regex's to work with current CMSIS | Krzysztof Blazewicz | |
| CMSIS v2.5.0 removed all uint32_t casts and uses only Misra Cast (U) | |||
| 2016-11-16 | stmhal/boards: configure all F4 boards to work with new HAL | Krzysztof Blazewicz | |
| changes include: * use single GPIO.BSRR instead of BSRRH and BSRRL * change HSE_STARTUP_TIMEOUT to 100 ms * define LSE_STARTUP_TIMEOUT to 5 s | |||
| 2016-11-16 | stmhal/hal/sd: reapply HAL commit 09de030 for f4 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/hal/rcc: reapply HAL commit c568a2b for f4 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/hal: reapply HAL commit 9db719b for f4 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/hal/sd: reapply HAL commit 1d7fb82 for f4 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal/hal/i2c: reapply HAL commit ea040a4 for f4 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal: apply STM32CubeF4 v1.13.1 patch - upgrade HAL driver to v1.5.2 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal: upgrade to STM32CubeF4 v1.13.0 - HAL v1.5.1 | Krzysztof Blazewicz | |
| 2016-11-16 | stmhal: upgrade to STM32CubeF4 v1.13.0 - CMSIS/Device 2.5.1 | Krzysztof Blazewicz | |
| 2016-11-16 | windows: Enable READER_POSIX to get access to lexer_new_from_file. | Damien George | |
| 2016-11-16 | mpy-cross: Get compiling after recent persistent code refactors. | Damien George | |
| 2016-11-16 | py/lexer: Make lexer use an mp_reader as its source. | Damien George | |
| 2016-11-16 | py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader. | Damien George | |
| 2016-11-16 | py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader. | Damien George | |
| If a port defines MICROPY_READER_POSIX or MICROPY_READER_FATFS then lexer.c now provides an implementation of mp_lexer_new_from_file using the mp_reader_new_file function. | |||
| 2016-11-16 | py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem. | Damien George | |
| 2016-11-16 | py: Factor out persistent-code reader into separate files. | Damien George | |
| Implementations of persistent-code reader are provided for POSIX systems and systems using FatFS. Macros to use these are MICROPY_READER_POSIX and MICROPY_READER_FATFS respectively. If an alternative implementation is needed then a port can define the function mp_reader_new_file. | |||
| 2016-11-16 | py: Factor persistent code load/save funcs into persistentcode.[ch]. | Damien George | |
| 2016-11-16 | docs/library/index: Elaborate on u-modules. | Paul Sokolovsky | |
| Also, remove an "only" directive in u-modules description. | |||
| 2016-11-15 | tests/basics: Add test for logical constant folding. | Damien George | |
