| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-12-22 | py/lexer: Remove unreachable code in string tokeniser. | Damien George | |
| 2016-12-22 | tests/basics/lexer: Add a test for newline-escaping within a string. | Damien George | |
| 2016-12-22 | extmod/modutimeq: Fix warning about unused param. | Paul Sokolovsky | |
| 2016-12-22 | unix: Enable utimeq module. | Paul Sokolovsky | |
| 2016-12-22 | tests/extmod: Add test for utimeq module. | Paul Sokolovsky | |
| 2016-12-22 | extmod/modutimeq: Refactor into optimized class. | Paul Sokolovsky | |
| import utimeq, utime # Max queue size, the queue allocated statically on creation q = utimeq.utimeq(10) q.push(utime.ticks_ms(), data1, data2) res = [0, 0, 0] # Items in res are filled up with results q.pop(res) | |||
| 2016-12-22 | extmod/modutimeq: Copy of current moduheapq with timeq support for refactoring. | Paul Sokolovsky | |
| 2016-12-21 | tests: Add tests to improve coverage of objarray.c. | Rami Ali | |
| 2016-12-21 | tests: Add tests to improve coverage of runtime.c. | Rami Ali | |
| 2016-12-21 | py/emitglue: Refactor to remove assert(0), to improve coverage. | Damien George | |
| 2016-12-21 | py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl. | Damien George | |
| And also simplify it to remove the check for small int. This can be done because this function is only ever called if the argument is not a small int. | |||
| 2016-12-21 | tests/import: Add a test which uses ... in from-import statement. | Damien George | |
| 2016-12-20 | esp8266: Force relinking OTA firmware image if built after normal one. | Paul Sokolovsky | |
| 2016-12-20 | esp8266/modesp: flash_user_start(): Support configuration with yaota8266. | Paul Sokolovsky | |
| It's pretty rough way to detect yaota8266 being used, but otherwise allows to have a filesystem in such config. | |||
| 2016-12-20 | tests/basics: Improve test coverage for generators. | Rami Ali | |
| 2016-12-20 | tests/run-tests: For REPL tests make sure the REPL is exited at the end. | Damien George | |
| 2016-12-20 | tests/basics/set_pop: Improve coverage of set functions. | Damien George | |
| 2016-12-20 | tests/basics: Add test for builtin locals(). | Damien George | |
| 2016-12-20 | tests/basics/builtin_dir: Add test for dir() of a type. | Damien George | |
| 2016-12-20 | tests/float/builtin_float_round: Test round() with second arg. | Damien George | |
| 2016-12-20 | py/modbuiltins: Remove unreachable code. | Damien George | |
| 2016-12-20 | esp8266: When doing GC be sure to trace the memory holding native code. | Damien George | |
| Native code can hold pointers to objects on the heap, eg constant objects like big integers. | |||
| 2016-12-20 | tests/basics: Improve mpz test coverage. | Rami Ali | |
| 2016-12-19 | tests/struct*: Make skippable. | Paul Sokolovsky | |
| 2016-12-19 | py/compile: Add an extra pass for Xtensa inline assembler. | Damien George | |
| It needs an extra pass to compute the size of the constant table for the l32r instructions. | |||
| 2016-12-18 | zephyr: Enable slice subscription. | Paul Sokolovsky | |
| Required for the testsuite. | |||
| 2016-12-17 | zephyr/uart_core: Access console UART directly instead of printk() hack. | Paul Sokolovsky | |
| This is required to avoid extra level of output "cooking" ("\r\r\n") and make test infrastructure work. On the other hand, this breaks somewhat Zephyr console abstraction. | |||
| 2016-12-16 | zephyr: Use core-provided keyboard exception object. | Paul Sokolovsky | |
| 2016-12-16 | zephyr/main: Initialize sys.path and sys.argv. | Paul Sokolovsky | |
| 2016-12-15 | esp8266: Add "erase" target to Makefile, to erase entire flash. | Mike Causer | |
| 2016-12-15 | esp8266: Use core-provided keyboard exception object. | Damien George | |
| 2016-12-15 | stmhal: Use core-provided keyboard exception object. | Damien George | |
| 2016-12-15 | lib/utils/interrupt_char: Use core-provided mp_kbd_exception if enabled. | Damien George | |
| Ultimately all ports that use lib/utils/interrupt_char would enable MICROPY_KBD_EXCEPTION, so this is an interim solution. | |||
| 2016-12-15 | py: Add MICROPY_KBD_EXCEPTION config option to provide mp_kbd_exception. | Damien George | |
| Defining and initialising mp_kbd_exception is boiler-plate code and so the core runtime can provide it, instead of each port needing to do it themselves. The exception object is placed in the VM state rather than on the heap. | |||
| 2016-12-15 | stmhal/usb: Always use the mp_kbd_exception object for VCP interrupt. | Damien George | |
| There's no need to store a separate pointer to this object. | |||
| 2016-12-15 | stmhal: Rename mp_const_vcp_interrupt to mp_kbd_exception. | Damien George | |
| mp_kbd_exception is now considered the standard variable name to hold the singleton KeyboardInterrupt exception. This patch also moves the creation of this object from pyb_usb_init() to main(). | |||
| 2016-12-15 | tools/pyboard.py: Refactor so target is not reset between scripts/cmd. | Damien George | |
| Previous to this patch pyboard.py would open a new serial connection to the target for each script that was run, and for any command that was run. Apart from being inefficient, this meant that the board was soft-reset between scripts/commands, which precludes scripts from accessing variables set in a previous one. This patch changes the behaviour of pyboard.py so that the connection to the target is created only once, and it's not reset between scripts or any command that is sent with the -c option. | |||
| 2016-12-15 | stmhal/mpconfigport: Add weak-module links for io, collections, random. | Damien George | |
| 2016-12-15 | tests/micropython: Get heapalloc_traceback test running on baremetal. | Damien George | |
| When printing exceptions from files sent to a target by pyboard.py the filename in the exception is <stdin>, which differs to when running the script on the PC. So we strip out the filename to make the outputs the same on all targets (see also misc/print_exception.py test). | |||
| 2016-12-15 | docs/library/pyb.UART: Moved writechar doc to sit with other writes. | Lorenz Schmid | |
| 2016-12-15 | docs/library/pyb.UART: Added clarification about timeouts. | Lorenz Schmid | |
| 2016-12-15 | zephyr: Implement soft reset feature. | Paul Sokolovsky | |
| 2016-12-15 | zephyr: Support raw REPL. | Paul Sokolovsky | |
| 2016-12-14 | py/mpconfig.h: Enable MICROPY_PY_SYS_EXIT by default. | Paul Sokolovsky | |
| sys.exit() is an important function to terminate a program. In particular, the testsuite relies on it to skip tests (i.e. any other functionality may be disabled, but sys.exit() is required to at least report that properly). | |||
| 2016-12-14 | esp8266: Add "ota" target to produce firmware binary for use with yaota8266. | Paul Sokolovsky | |
| https://github.com/pfalcon/yaota8266 is a (WIP) OTA-enabled bootloader which doesn't require reserving space 2x size of a firmware. | |||
| 2016-12-14 | py/runtime: Zero out fs_user_mount array in mp_init. | Damien George | |
| There's no need to force ports to copy-and-paste this initialisation code. If FSUSERMOUNT is enabled then this zeroing out must be done. | |||
| 2016-12-14 | py/mpz: Remove unreachable code in mpn_or_neg functions. | Damien George | |
| 2016-12-13 | tests/extmod: Improve modframebuf test coverage. | Rami Ali | |
| 2016-12-13 | stmhal: Move PY_SYS_PLATFORM config from board to general config file. | Damien George | |
| It can be overridden by a board if needed. | |||
| 2016-12-13 | stmhal: Add STM32F769DISC board files. | Rami Ali | |
| With minor changes to adc.c and storage.c to support the F769. | |||
