| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-12-27 | py/misc.h: Typo fix in comment. | Paul Sokolovsky | |
| 2016-12-25 | tests/heapalloc_inst_call: Test for no alloc for simple object calls. | Paul Sokolovsky | |
| 2016-12-24 | tests/utimeq_stable: Test for partial stability of utimeq queuing. | Paul Sokolovsky | |
| 2016-12-24 | extmod/modutimeq: Make time_less_than be actually "less than", not less/eq. | Paul Sokolovsky | |
| This fixes an obvious case of non-fair scheduling of 2 tasks with the same deadline. | |||
| 2016-12-23 | extmod/modutimeq: Fix printf in dump(). | Paul Sokolovsky | |
| 2016-12-23 | examples/hwapi/hwconfig_console: Don't alloc memory in value(). | Paul Sokolovsky | |
| 2016-12-23 | stmhal, esp8266: Enable utimeq module. | Paul Sokolovsky | |
| 2016-12-22 | stmhal: Add support for STM32 Nucleo64 L476RG. | sergiuszm | |
| 2016-12-22 | stmhal/sdcard: Use mp_hal_pin_config function instead of HAL_GPIO_Init. | Damien George | |
| There is a minor functional change with this patch, that the GPIO are now configured in fast mode, whereas they were in high speed mode before. But the SDIO should still work because SD CK frequency is at most 25MHz. | |||
| 2016-12-22 | stmhal/led: Use mp_hal_pin_config function instead of HAL_GPIO_Init. | Damien George | |
| 2016-12-22 | stmhal/usrsw: Use mp_hal_pin_config function instead of HAL_GPIO_Init. | Damien George | |
| 2016-12-22 | stmhal/mphalport.h: Explicitly use HAL's GPIO constants for pull modes. | Damien George | |
| They are the same as the existing raw constants (namely 0, 1, 2) but we want to explicitly show that one can use the HAL's constants if necessary (eg the mpconfigboard.h files do use the HAL's constants to define the pull state of certain configurable pins). | |||
| 2016-12-22 | stmhal/led: Properly initialise timer handle to zero before using it. | Damien George | |
| Without this the timer will have random values for its State and Lock entries. The object can then be in a locked state leading to some HAL functions returning immediately with an error code (which is unchecked). This patch fixes such a bug which did manifest itself as PWM not working correctly for LEDs. | |||
| 2016-12-22 | extmod/moduheapq: Revert change for adhoc relative-time queue support. | Paul Sokolovsky | |
| Now that specialized utimeq module has been implenented, revert previous adhoc changes to uheapq. This reverts commit 0cbc07227c4ab70c846f40a1e2a5fd57dec30428. | |||
| 2016-12-22 | unix/Makefile: Make "coverage_test" target mirror Travis test actions. | Damien George | |
| 2016-12-22 | travis: Include persistent bytecode with floats in coverage tests. | Damien George | |
| 2016-12-22 | tests: Add a coverage test for printing the parse-tree. | Damien George | |
| 2016-12-22 | unix/main: Allow to print the parse tree in coverage build. | Damien George | |
| Passing -v -v -v on the command line of the coverage build will now print the parse tree (as well as other things at this verbosity level). | |||
| 2016-12-22 | py/lexer: Permanently disable the mp_lexer_show_token function. | Damien George | |
| The lexer is very mature and this debug function is no longer used. If it's really needed one can uncomment it and recompile. | |||
| 2016-12-22 | py/lexer: Remove unnecessary check for EOF in lexer's next_char func. | Damien George | |
| This check always fails (ie chr0 is never EOF) because the callers of this function never call it past the end of the input stream. And even if they did it would be harmless because 1) reader.readbyte must continue to return an EOF char if the stream is exhausted; 2) next_char would just count the subsequent EOF's as characters worth 1 column. | |||
| 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 | |
