aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-11py/mpz: In divmod, replace check for rhs!=0 with assert.Damien George
The check for division by zero is made by the caller of this function.
2016-10-11tests: Improve test coverage of py/compile.c.Damien George
2016-10-11py/compile: Remove unreachable code.Damien George
2016-10-11tests/micropython: Add test for micropython.opt_level() function.Damien George
2016-10-11py/modmicropython: Add micropython.opt_level([value]) function.Damien George
This allows to get/set at runtime the optimisation level of the compiler.
2016-10-10zephyr: Add Ctrl+C handling.Paul Sokolovsky
2016-10-10zephyr/zephyr_getchar: Add support for Ctrl+C handling.Paul Sokolovsky
Patch on top of upstream Zephyr console helpers.
2016-10-10zephyr/main: Execute main.py frozen module on boot, if available.Paul Sokolovsky
2016-10-10zephyr: Enable frozen modules support.Paul Sokolovsky
2016-10-10zephyr: Enable stack checking and micropython.mem_info().Paul Sokolovsky
2016-10-10zephyr: Add README.Paul Sokolovsky
2016-10-10docs/wipy: Correct deep sleep current figure.daniel
2016-10-10zephyr: Use recently added "make outputexports" Zephyr target.Daniel Thompson
The outputexpors target, which exports Zephyr environment variables, was recently added to Zephyr. By exploiting this feature we can hugely simplify the build system, improving robustness at the same time. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10zephyr/Makefile: Automatically derive target-specific CFLAGS.Paul Sokolovsky
By tricking Zephyt arch Makefiles compute them for us (not just for Zephyr). This make potentially break as Zephyr evolves.
2016-10-10zephyr: Support extra make targetsDaniel Thompson
The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively, from the the lists shown during "make help" and "make kconfig-help". Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10zephyr: Automatically derive ARCH.Daniel Thompson
Currently to compile for anything that except ARCH=x86 we have to provide ARCH via the environment or make arguments. We can do better than that! Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10zephyr: Switch to microkernel, required for network to work in background.Paul Sokolovsky
2016-10-10zephyr: Add zephyr_getchar module to handle console input.Paul Sokolovsky
From https://github.com/pfalcon/zephyr_getchar .
2016-10-10zephyr: Initial Zephyr RTOS port, Zephyr part.Paul Sokolovsky
2016-10-10zephyr: Initial Zephyr RTOS port, MicroPython part.Paul Sokolovsky
2016-10-09examples/network/http_client*: Use \r\n line-endings in request.Paul Sokolovsky
2016-10-09tests/io/bytesio_ext: Add test for readinto().Paul Sokolovsky
2016-10-09py/objstringio: Add readinto() method.Paul Sokolovsky
Also, drop deprecated (as for MicroPython) readall() method.
2016-10-09tests/io/write_ext: Add description comment.Paul Sokolovsky
2016-10-09esp8266: Make neopixel support configurable.Paul Sokolovsky
To save iRAM.
2016-10-07extmod/vfs_fat_file: Use MP_Exxx errno constants.Damien George
2016-10-07unix: Use common RAISE_ERRNO macro from mphalport.h.Damien George
2016-10-07unix: Use mp_raise_OSError helper function.Damien George
2016-10-07esp8266: Use mp_raise_OSError helper function.Damien George
2016-10-07stmhal: Use mp_raise_OSError helper function.Damien George
2016-10-07driver/dht: Use mp_raise_OSError helper function.Damien George
2016-10-07extmod: Use mp_raise_OSError helper function.Damien George
2016-10-07extmod/modlwip: Use mp_raise_OSError helper function.Damien George
Reduces esp8266 code size by about 230 bytes.
2016-10-07extmod/vfs_fat: Use mp_raise_OSError helper function.Damien George
2016-10-07py: Add mp_raise_OSError(errno) helper function.Damien George
This is an often used code pattern, and its use reduces code size of the core by about 100 bytes.
2016-10-07esp8266: Add FLASH_MODE,FLASH_SIZE options for make deploy target.dmanso
Added options to make deploy so it can be used for ESP8266 boards with other flash configurations. For example NodeMCU DEVKIT V1.0 can now use: $ make FLASH_MODE=dio FLASH_SIZE=32m deploy
2016-10-07docs/uos: Add uos.statvfs() documentation.Alex March
2016-10-07tests: Improve coverage of struct with test for non-compliant behaviour.Damien George
2016-10-07py/modstruct: Remove unreachable code, and add comment about CPy diff.Damien George
The deleted code is unreachable because calcsize_items guarantees that num_items corresponds to how many items there are in fmt to unpack.
2016-10-07tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.Alex March
2016-10-06esp8266: Make PY_UHASHLIB_SHA1 config depend on PY_USSL and SSL_AXTLS.Damien George
SHA1 can only be supported if ussl module is compiled in, and it uses axtls.
2016-10-06stmhal: Enable machine.time_pulse_us() function.Damien George
2016-10-06stmhal: Disable network and usocket for ESPRUINO_PICODave Hylands
2016-10-05tests: Fix expected output of verbose cmdline teststijn
The output might contain more than one line ending in 5b so properly skip everything until the next known point. This fixes test failures in appveyor debug builds.
2016-10-05stmhal/moduos: Implement total-number-of-blocks field in statvfs.Damien George
2016-10-05stmhal/mphalport: Change pin obj type to const pointer, to avoid casts.Damien George
2016-10-05esp8266/modpybrtc.c: Implement machine.RTC.alarm_left()puuu
Implementation of machine.RTC.alarm_left(), like described in the documentation.
2016-10-05stmhal: Fix ESPRUINO_PICO by adding ld scripts with correct flash size.Dave Hylands
2016-10-05tools: Upgrade upip to 1.0.Paul Sokolovsky
Fully self-hosted release (without fallbacks), and uses stream gzip decompression (step towards support for limited-heap baremetal systems).
2016-10-05esp8266/main: Put /lib before / in sys.path.Paul Sokolovsky
upip will use first non-empty component in sys.path as an install path (if MICROPYPATH envvar is not set, like it will be for baremetal targets).