Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266/espneopixel: Disable IRQs during eps.neopixel_write. | Torsten Wagner | 2016-09-06 |
| | | | | | | Interrupts during neopixel_write causes timing problems and therefore wrong light patterns. Switching off IRQs should help to keep the strict timing schedule. | ||
* | travis: Build mpy-cross as part of the Travis process. | Damien George | 2016-09-05 |
| | | | | It's built first in case any ports need to use it. | ||
* | mpy-cross: Don't use the internal printf functions. | Damien George | 2016-09-05 |
| | | | | | They require mp_hal_stdout_tx_strn_cooked, which requires extra work to add to mpy-cross. | ||
* | stmhal/dac: Fix DAC (re-)initialisation by resetting DMA. | Peter Hinch | 2016-09-05 |
| | | | | Fixes issue #2176. | ||
* | unix,stmhal,esp8266: When find'ing frozen files follow symbolic links. | Damien George | 2016-09-05 |
| | | | | | It's useful to be able to use symbolic links to add files and directories to the set of scripts to be frozen. | ||
* | py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. | Delio Brignoli | 2016-09-05 |
| | | | | | | | | This new config option allows to control whether MicroPython uses its own internal printf or not (if not, an external one should be linked in). Accompanying this new option is the inclusion of lib/utils/printf.c in the core list of source files, so that ports no longer need to include it themselves. | ||
* | tests/extmod/framebuf1: Add tests for scrolling in the x-direction. | Damien George | 2016-09-05 |
| | |||
* | extmod/framebuf: Add the xstep!=0 case to scroll() method. | Radomir Dopieralski | 2016-09-05 |
| | | | | | | | Adds horizontal scrolling. Right now, I'm just leaving the margins created by the scrolling as they were -- so they will repeat the edge of the framebuf. This is fast, and the user can always fill the margins themselves. | ||
* | docs/esp8266/quickref: Further improvements for SPI subsections. | Paul Sokolovsky | 2016-09-04 |
| | | | | Consistency and formatting. | ||
* | docs/esp8266/quickref: Update information on SPI classes. | Paul Sokolovsky | 2016-09-04 |
| | | | | SPI(1) is not used for hardware SPI. Few more details are provided. | ||
* | esp8266/modmachine: Simplify SPI class implementation multiplexing. | Paul Sokolovsky | 2016-09-04 |
| | | | | | | | | | | | | modpybhspi now does the needed multiplexing, calling out to modpybspi (bitbanging SPI) for suitable peripheral ID's. modmachinespi (previous multiplexer class) thus not needed and removed. modpybhspi also updated to following standard SPI peripheral naming: SPI0 is used for FlashROM and thus not supported so far. SPI1 is available for users, and thus needs to be instantiated as: spi = machine.SPI(1, ...) | ||
* | esp8266/modmachine: Don't expose internal SoftSPI and HSPI classes. | Paul Sokolovsky | 2016-09-04 |
| | | | | There functionality is available via standard SPI class. | ||
* | esp8266/modmachine: Add WDT_RESET and SOFT_RESET constants. | Paul Sokolovsky | 2016-09-04 |
| | | | | | Both tested to work. (WDT_RESET can be seen by issuing machine.disable_irq() and waiting for WDT reset, SOFT_RESET - by machine.reset()). | ||
* | tests/extmod/uzlib_decompio: Add zlib bitstream testcases. | Paul Sokolovsky | 2016-09-04 |
| | |||
* | extmod/moduzlib: Support wbits arg to DecompIO. | Paul Sokolovsky | 2016-09-04 |
| | |||
* | stmhal: Set STM32F7DISC CPU Frequency to 216 MHz | Dave Hylands | 2016-09-04 |
| | | | | | | | This set the CPU frequency to 216 MHz (the max) and leaves the USB Frequency at 48 MHz. These settings were copied from one of the HAL examples. | ||
* | tests/extmod: Add a test for framebuf module, tested by coverage build. | Damien George | 2016-09-04 |
| | |||
* | extmod/modframebuf: Include font from stmhal directory explicitly. | Damien George | 2016-09-04 |
| | | | | | So that users of framebuf don't need to have stmhal directory in their path. (Eventually the font can be moved elsewhere.) | ||
* | py/emitglue.c: provide mp_raw_code_load_file for any unix architecture | Chris Packham | 2016-09-04 |
| | | | | Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> | ||
* | esp8266/modmachinewdt: Add .deinit() method. | Paul Sokolovsky | 2016-09-03 |
| | |||
* | esp8266/esp8266.ld: Move modmachinewdt to FlashROM. | Paul Sokolovsky | 2016-09-03 |
| | |||
* | stmhal: Add machine.WDT class. | Damien George | 2016-09-04 |
| | | | | | | | | | | Usage: import machine wdt = machine.WDT(0, 5000) # 5 second timeout wdt.feed() Thanks to Moritz for the initial implementation. | ||
* | extmod/moduzlib: Use mperrno.h for error constants. | Paul Sokolovsky | 2016-09-03 |
| | |||
* | tests/extmod: Add test for uzlib.DecompIO. | Paul Sokolovsky | 2016-09-03 |
| | |||
* | extmod/moduzlib: Implement zlib stream decompressor class, DecompIO. | Paul Sokolovsky | 2016-09-03 |
| | |||
* | tools/mpy-tool.py: Support freezing of complex numbers. | Damien George | 2016-09-03 |
| | |||
* | extmod/modframebuf: Fix fill and scroll when height not divisible by 8. | Radomir Dopieralski | 2016-09-02 |
| | | | | | | | There was a bug in `framebuf1_fill` function, that makes it leave a few lines unfilled at the bottom if the height is not divisible by 8. A similar bug is fixed in the scroll method. | ||
* | tools/mpy-tool.py: Compute the hash value for str/bytes objects. | Damien George | 2016-09-02 |
| | | | | This makes it more efficient at runtime to hash str/bytes objects. | ||
* | tools/mpy-tool.py: Store qstr config values in global config object. | Damien George | 2016-09-02 |
| | | | | | Makes it easier to access them without passing around another dict of the config values. | ||
* | tests/unix/extra_coverage: Add test for str/bytes with invalid hash. | Damien George | 2016-09-02 |
| | |||
* | py: If str/bytes hash is 0 then explicitly compute it. | Damien George | 2016-09-02 |
| | |||
* | py/makeqstrdata.py: Compute the qstr hash from bytes, not characters. | Damien George | 2016-09-02 |
| | |||
* | py/mpprint: Fail an assertion with unsupported format specifiers. | Delio Brignoli | 2016-09-01 |
| | | | | | | Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats. | ||
* | drivers/sdcard: Port the SDCard driver to new machine API. | Radomir Dopieralski | 2016-09-01 |
| | | | | With backwards compatibility for pyboard. | ||
* | stmhal/spi: Support new machine SPI methods in legacy SPI object. | Damien George | 2016-09-01 |
| | |||
* | stmhal/spi: Factor out SPI transfer code to a single function. | Damien George | 2016-09-01 |
| | |||
* | esp8266/modpybhspi: Simplify HSPI driver by using 1 function for xfers. | Damien George | 2016-09-01 |
| | |||
* | esp8266/modpybspi: Use generic SPI helper methods to implement SPI. | Damien George | 2016-09-01 |
| | |||
* | extmod: Add machine_spi with generic SPI C-protocol and helper methods. | Damien George | 2016-09-01 |
| | | | | | | | The idea is that all ports can use these helper methods and only need to provide initialisation of the SPI bus, as well as a single transfer function. The coding pattern follows the stream protocol and helper methods. | ||
* | unix,stmhal,esp8266: When find'ing frozen files don't use extra slash. | Damien George | 2016-08-31 |
| | | | | | | | | This extra forward slash for the starting-point directory is unnecessary and leads to additional slashes on Max OS X which mean that the frozen files cannot be imported. Fixes #2374. | ||
* | py/mkrules.mk: Allow to override name of libmicropython.a | Paul Sokolovsky | 2016-08-30 |
| | | | | | Or alternatively, refer to an exact library file, not just phony target "lib". | ||
* | lib/utils/pyexec: qstr_pool_info() requires size_t* parameters. | Paul Sokolovsky | 2016-08-30 |
| | |||
* | docs/esp8266/quickref: Add internal links to docs for some modules. | Damien George | 2016-08-29 |
| | |||
* | docs/pyboard/quickref: Add section on "delay and timing" for utime mod. | Damien George | 2016-08-29 |
| | | | | And remove reference to deprecated pyb.delay() and pyb.millis(). | ||
* | docs/pyboard/quickref: Add links to pinouts for other pyboard variants. | Damien George | 2016-08-29 |
| | |||
* | .gitignore: Add *.pyc, because Python 2 doesn't use __pycache__. | Krzysztof Blazewicz | 2016-08-29 |
| | |||
* | stmhal: Update boot.py files to use VCP instead of CDC. | Philip Potter | 2016-08-29 |
| | |||
* | docs/library: Add reference for pyb.usb_mode and pyb.USB_HID. | Philip Potter | 2016-08-29 |
| | |||
* | docs/pyboard: Update USB mouse tutorial to use pyb.USB_HID(). | Philip Potter | 2016-08-29 |
| | |||
* | docs/pyboard: Update USB mouse tutorial to use VCP instead of CDC. | Philip Potter | 2016-08-29 |
| |