summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-22tests/basics: Improve user class coverage.Rami Ali
2016-11-22tests/extmod: Improve ujson coverage.Rami Ali
2016-11-22py/objtype: Implement __call__ handling for an instance w/o heap alloc.Paul Sokolovsky
By refactoring and reusing code from objboundmeth.
2016-11-21stmhal: Updates to get F411 MCUs compiling with latest ST HAL.Damien George
2016-11-21tests/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-21tests/micropython: Add test for creating traceback without allocation.Damien George
2016-11-21stmhal/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-21unix/Makefile: Update freedos target for change of USELECT config name.Damien George
2016-11-21extmod/moduselect: Fix comment describing endif.Damien George
2016-11-21extmod/machine_mem: Typo fix in comment.Paul Sokolovsky
2016-11-21cc3200: Update for moduselect moved to extmod/.Paul Sokolovsky
2016-11-21unix: Rename define for unix moduselect to MICROPY_PY_USELECT_POSIX.Paul Sokolovsky
To not conflict with recently made available globally baremetal moduselect.
2016-11-21stmhal/moduselect: Move to extmod/ for reuse by other ports.Paul Sokolovsky
2016-11-18examples/accellog.py: Change 1: to /sd/, and update comment about FS.Damien George
2016-11-18examples/hwapi: Add hwconfig for console tracing of LED operations.Paul Sokolovsky
2016-11-17extmod/machine_i2c: Release SDA on bus errorRadomir Dopieralski
2016-11-17extmod/machine_i2c: Raise an error when clock stretching times outRadomir Dopieralski
2016-11-17extmod/machine_i2c: Make the clock stretching timeout configurableRadomir Dopieralski
2016-11-17examples/hwapi: Add example for machine.time_pulse_us().Paul Sokolovsky
2016-11-16stmhal: Update HALCOMMITS due to change to hal.Krzysztof Blazewicz
2016-11-16stmhal/make-stmconst.py: Restore Python 2 compatibility.Damien George
2016-11-16stmhal: Update HALCOMMITS due to change to hal.Damien George
2016-11-16stmhal/make-stmconst.py: Add support for files with invalid utf8 bytes.Damien George
2016-11-16stmhal/mphalport.h: use single GPIOx->BSRR registerKrzysztof Blazewicz
2016-11-16stmhal/hal: do not include <stdio.h> in HAL headersKrzysztof 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-16stmhal/i2c: provide custom IRQ handlersKrzysztof Blazewicz
Use custom handlers providing minimal required functionality because those provided by ST increase code size by almost 2 KiB.
2016-11-16stmhal/can: clear FIFO flags in IRQ handlerKrzysztof 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-16stmhal/dma: mark DMA sate as READY even if HAL_DMA_Init is skippedKrzysztof Blazewicz
Current version of HAL drivers checks if `hdma->State == HAL_DMA_STATE_READY` before executing some functions.
2016-11-16stmhal/dma: precalculate register base and bitshift on handle initKrzysztof 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-16stmhal/i2c: handle I2C IRQsKrzysztof Blazewicz
This is required by HAL Driver for error handling since v1.5.0
2016-11-16stmhal/make-stmconst.py: fix regex's to work with current CMSISKrzysztof Blazewicz
CMSIS v2.5.0 removed all uint32_t casts and uses only Misra Cast (U)
2016-11-16stmhal/boards: configure all F4 boards to work with new HALKrzysztof 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-16stmhal/hal/sd: reapply HAL commit 09de030 for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/rcc: reapply HAL commit c568a2b for f4Krzysztof Blazewicz
2016-11-16stmhal/hal: reapply HAL commit 9db719b for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/sd: reapply HAL commit 1d7fb82 for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/i2c: reapply HAL commit ea040a4 for f4Krzysztof Blazewicz
2016-11-16stmhal: apply STM32CubeF4 v1.13.1 patch - upgrade HAL driver to v1.5.2Krzysztof Blazewicz
2016-11-16stmhal: upgrade to STM32CubeF4 v1.13.0 - HAL v1.5.1Krzysztof Blazewicz
2016-11-16stmhal: upgrade to STM32CubeF4 v1.13.0 - CMSIS/Device 2.5.1Krzysztof Blazewicz
2016-11-16windows: Enable READER_POSIX to get access to lexer_new_from_file.Damien George
2016-11-16mpy-cross: Get compiling after recent persistent code refactors.Damien George
2016-11-16py/lexer: Make lexer use an mp_reader as its source.Damien George
2016-11-16py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader.Damien George
2016-11-16py/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-16py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem.Damien George
2016-11-16py: 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-16py: Factor persistent code load/save funcs into persistentcode.[ch].Damien George
2016-11-16docs/library/index: Elaborate on u-modules.Paul Sokolovsky
Also, remove an "only" directive in u-modules description.
2016-11-15tests/basics: Add test for logical constant folding.Damien George