summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* py/mpz: Fix bug with overflowing C-shift in division routine.Damien George2016-05-08
| | | | | | | When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation is needed because the MSB is already set, then there will be left and right shifts (in C) by 32 of a 32-bit variable, leading to undefined behaviour. This patch fixes this bug.
* py/repl: If there're no better alternatives, try to complete "import".Paul Sokolovsky2016-05-08
| | | | | | Also do that only for the first word in a line. The idea is that when you start up interpreter, high chance that you want to do an import. With this patch, this can be achieved with "i<tab>".
* esp8266/scripts/webrepl: Add start_foreground() method.Paul Sokolovsky2016-05-08
| | | | Starts WebREPL server in foreground and waits for (single) connection.
* stmhal/can: Allow to get existing CAN obj if constructed without args.Henrik Sölver2016-05-08
| | | | | | | Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001.
* windows: Enable multi-processor compilation for msvcstijn2016-05-08
| | | | | This will launch about as many compiler instances as there are logical processors on a machine, and as such significantly speeds up compilation.
* Fix ESP8266 Network tutorialPaulus Schoutsen2016-05-07
| | | The socket should either connect to `addr` or `addr_info[0][-1]`. Not to `addr[0][-1]`.
* tests: Disable memoryview tests that overflow int conversion.Damien George2016-05-07
| | | | They fail on builds with 32-bit word size.
* py/runtime: Properly handle passing user mappings to ** keyword args.Damien George2016-05-07
|
* py/objstr: Binary type of str/bytes for buffer protocol is 'B'.Damien George2016-05-07
| | | | | | The type is an unsigned 8-bit value, since bytes objects are exactly that. And it's also sensible for unicode strings to return unsigned values when accessed in a byte-wise manner (CPython does not allow this).
* esp8266/scripts/webrepl: Add optional password argument to webrepl.start()Noah Rosamilia2016-05-07
| | | | This commit fixes issue #2045
* CODECONVENTIONS.md: Describe git commit messages conventions.Paul Sokolovsky2016-05-07
|
* unix/mphalport: Add mp_hal_delay_us() for consistency with other ports.Pavol Rusnak2016-05-07
|
* esp8266/scripts/: Add fill() to NeoPixelMike Causer2016-05-07
|
* docs/machine.UART: Filter out unimplemented UART methods from esp8266 docs.Radomir Dopieralski2016-05-07
|
* esp8266/scripts/inisetup: Don't start WebREPL on boot in master branch.Paul Sokolovsky2016-05-07
| | | | | | It interferes with running testsuite. master branch should be optimized for development, so any features which interfere with that, would need to be disabled by default.
* tests/run-tests: Factor out list supported external boards.Paul Sokolovsky2016-05-07
| | | | To get consistent error messages, etc.
* stmhal/sdcard: Fix initialisation of DMA TX so that writes work.Damien George2016-05-06
| | | | Addresses issue #2034.
* stmhal/dma: Fix builds for boards with an F4 or F7 but no DAC.Dave Hylands2016-05-06
|
* esp8266/scripts/: Remove use of pin.PULL_NONE.Paul Sokolovsky2016-05-05
| | | | | This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls.
* stmhal: For LIMIFROG board, add early-init function to get to DFU mode.Damien George2016-05-05
|
* stmhal: Add board files for LIMIFROG board.Tobias Badertscher2016-05-05
|
* stmhal/dma: Make DAC DMA descriptors conditional on having a DAC.Damien George2016-05-05
|
* stmhal: L4: Add support for machine.sleep on STM32L4 MCUs.Tobias Badertscher2016-05-05
| | | | | Also raise an exception for machine.freq and machine.deepsleep on this MCU, since they are not yet implemented.
* stmhal: L4: Make CCM/DTCM RAM start-up conditional on MCU type.Tobias Badertscher2016-05-05
|
* stmhal: L4: Adapt startup code, clock configuration and interrupts.Tobias Badertscher2016-05-05
|
* stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series.Tobias Badertscher2016-05-05
| | | | | | | | | The main thing is to change the DMA code in a way that the structure DMA_Stream_TypeDef (which is similar to DMA_Channel_TypeDef on stm32l4) is no longer used outside of dma.c, as this structure only exists for the F4 series. Therefore I introduced a new structure (dma_descr_t) which handles all DMA specific stuff for configuration. Further the periphery (spi, i2c, sdcard, dac) does not need to know the internals of the dma.
* py/obj: Add warning note about get_array return value and GC blocks.Damien George2016-05-04
|
* docs: Bump version to 1.8.v1.8Damien George2016-05-03
|
* docs/esp8266/tutorial: Change name of ESP8266 firmware to match actual.Damien George2016-05-03
|
* docs/esp8266/tutorial/repl: Reword description of initial WebREPL setup a bit.Paul Sokolovsky2016-05-03
|
* docs/esp8266/tutorial/repl: Suggest using hosted WebREPL client.Paul Sokolovsky2016-05-03
| | | | At http://micropython.org/webrepl .
* esp8266/main: Set sys.path to ["", "/", "/lib"].Paul Sokolovsky2016-05-03
|
* esp8266: Shrink help text by a few lines, to fit in smaller windows.Damien George2016-05-03
|
* esp8266/scripts/ntptime: Add simple NTP client.Paul Sokolovsky2016-05-03
| | | | | .time() returns seconds since MicroPython epoch (2000-01-01 00:00UTC), .settime() sends current system time, assuming UTC timezone.
* esp8266/tutorial: Mention that esptool is available via pip.Damien George2016-05-03
|
* docs/esp8266/tutorial: Update pins tutorial to reflect changes in API.Damien George2016-05-03
|
* docs/library/machine.Pin: Update pin docs to reflect ESP8266 support.Damien George2016-05-03
|
* esp8266/modpybpin: Make pin.irq() methods take keyword args.Damien George2016-05-03
|
* esp8266/modpybpin: Use None instead of PULL_NONE for no-pull config.Damien George2016-05-03
|
* esp8266/modpybpin: Use enum+array instead of struct for parsing args.Damien George2016-05-03
|
* tools/mpy-tool: Make sure that all C-level variables are unique.Damien George2016-05-03
| | | | Fixes issue #2023.
* esp8266/scripts/neopixel.py: Swap red and green in pixel accessor.Damien George2016-05-03
|
* docs/machine: idle() description generalization.Paul Sokolovsky2016-05-03
|
* docs/machine: More generic description of sleep's, WiPy details to its genref.Paul Sokolovsky2016-05-03
|
* docs/machine: Move WiPy-specific hardware details to its general reference.Paul Sokolovsky2016-05-03
|
* docs/machine: Generalize docs from just WiPy to other ports.Paul Sokolovsky2016-05-03
|
* extmod/modlwip: Implement sendall() method for TCP sockets.Paul Sokolovsky2016-05-03
|
* docs/esp8266: Add ESP8266 tutorial.Damien George2016-05-03
|
* esp8266/scripts/inisetup: Update for nic.mac() method being gone.Paul Sokolovsky2016-05-03
|
* docs/network: esp8266: MAC address is set via .config() method.Paul Sokolovsky2016-05-03
|