summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-25extmod/modframebuf: Add GS4_HMSB format.Oleg Korsak
2017-01-25py/objint: Fix left-shift overflow in checking for large int.Damien George
2017-01-25esp8266: Factor out common linker code to esp8266_common.ld.Damien George
2017-01-24stmhal/mpconfigport.h: Reorganise the config options into groups.Damien George
The order now follows that in py/mpconfig.h and is a bit cleaner and easier to maintain. No options were changed/added/removed with this patch, it's just a reordering.
2017-01-24stmhal/boards/STM32L476DISC: Use external SPI flash for filesystem.Damien George
2017-01-24stmhal: Add ability to have filesystem stored on external SPI flash.Damien George
To use this feature a port should define MICROPY_HW_SPIFLASH_SIZE_BITS along with x_CS, x_SCK, x_MOSI, x_MISO (x=MICROPY_HW_SPIFLASH). This will then use external SPI flash on those pins instead of the internal flash. The SPI is done using the software implementation. There is currently only support for standard SPI (ie not dual or quad mode).
2017-01-24drivers/memory: Add SPI flash driver, written in C.Damien George
2017-01-24stmhal: Fix examples in openocd configs to include addresses.Pavol Rusnak
2017-01-24tests: Make sure special tests can be skipped as well.stijn
Fixes #2806.
2017-01-24docs/library/lcd160cr: Fix set_brightness range, should be 0..31.Damien George
2017-01-23docs/pyboard/tutorial: Add tutorial for LCD160CR.Damien George
2017-01-23stmhal: Add default frozen-bytecode directory and link lcd160cr driver.Damien George
stmhal will now be built by default with frozen bytecode from scripts stored in the stmhal/modules/ directory. This can be disabled or changed to another directory by overridding the make variable FROZEN_MPY_DIR.
2017-01-23docs: Add documentation for lcd160cr module.Damien George
2017-01-23drivers/display: Add driver and test for uPy LCD160CR display.Damien George
2017-01-23extmod/modframebuf: Clip pixels drawn by line method.Damien George
2017-01-22lib/utils/pyexec: Only print help prompt if HELP feature is enabled.Damien George
2017-01-22stmhal: Enable help('modules') feature.Damien George
2017-01-22tests/basics/builtin_help: Add test for help('modules').Damien George
2017-01-22unix: Enable MICROPY_PY_BUILTINS_HELP_MODULES in coverage build.Damien George
2017-01-22py/builtinhelp: Implement help('modules') to list available modules.Damien George
This is how CPython does it, and it's very useful to help users discover the available modules for a given port, especially built-in and frozen modules. The function does not list modules that are in the filesystem because this would require a fair bit of work to do correctly, and is very port specific (depending on the filesystem).
2017-01-22py: Move weak-link map to objmodule.c, and expose module maps as public.Damien George
2017-01-22tests: Add test for builtin help function.Damien George
2017-01-22unix: Enable builtin help function in coverage build.Damien George
2017-01-22lib/utils: Remove old pyhelp helper, replaced with py/builtinhelp.c.Damien George
Ports should no longer use pyhelp_print_obj but instead should define MICROPY_PY_BUILTINS_HELP to 1 and then specify their help text using MICROPY_PY_BUILTINS_HELP_TEXT.
2017-01-22zephyr: Convert to use builtin help function.Damien George
2017-01-22teensy: Convert to use builtin help function.Damien George
2017-01-22cc3200: Convert to use builtin help function.Damien George
2017-01-22esp8266: Convert to use builtin help function.Damien George
2017-01-22stmhal: Convert to use builtin help function.Damien George
2017-01-22py: Add builtin help function to core, with default help msg.Damien George
This builtin is configured using MICROPY_PY_BUILTINS_HELP, and is disabled by default.
2017-01-21tests/heapalloc_int_from_bytes: Test that int.from_bytes() can work w/o alloc.Paul Sokolovsky
For a small number of bytes, it's expected to return a small int without allocation.
2017-01-21tests: Add test for int.from_bytes() for arbitrary-precision integer.Paul Sokolovsky
This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases.
2017-01-21py/objint_longlong: Add stub for mp_obj_int_from_bytes_impl().Paul Sokolovsky
To be implemented later.
2017-01-21py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.Paul Sokolovsky
If result guaranteedly fits in a small int, it is handled in objint.c. Otherwise, it is delegated to mp_obj_int_from_bytes_impl(), which should be implemented by individual objint_*.c, similar to mp_obj_int_to_bytes_impl().
2017-01-21py/mpz: Implement mpz_set_from_bytes() as a foundation for int.from_bytes().Paul Sokolovsky
2017-01-21zephyr: Enable SLIP networking for the default build.Paul Sokolovsky
This makes MicroPython app running in QEMU be pingable from the host (by following QEMU networking setup instructions, https://www.zephyrproject.org/doc/samples/net/qemu_setup.html).
2017-01-21zephyr: Add separate Zephyr config for "minimal" build.Paul Sokolovsky
In anticipation of enabling more features in the default build. Also, fix compilation of minimal build.
2017-01-21zephyr: Remove deprecated .mdef file.Paul Sokolovsky
2017-01-20zephyr/help: Update n_args param type to size_t.Paul Sokolovsky
2017-01-20tests/basics: Add test for assignment of attribute to bound method.Damien George
2017-01-20travis: Unconditionally run coveralls analysis, even if others failed.Damien George
If, for example, the code-size check failed we would still like to run the coveralls coverage analysis.
2017-01-19tests/misc/non_compliant: Add test for inability to assign func attrs.Damien George
2017-01-19tests/micropython/opt_level: Add test for opt_level 3.Damien George
2017-01-19tests/extmod/framebuf1: Add test for no-op fill_rect.Damien George
2017-01-19tests/float: Add test for assigning to attribute of complex number.Damien George
2017-01-19py/objint_mpz: Refactor switch-statement to remove unreachable default.Damien George
2017-01-19py/formatfloat: Remove unreachable code.Damien George
The if-block that this unreachable code is in has a condition "f>=5" so "fp_isless1(f)" will always fail.
2017-01-19stmhal: Implement SNAK/CNAK mechanism for USB HID receive.Pavol Rusnak
This implements flow control in case user does not call recv method often enough (it tells host side to stop sending more data).
2017-01-19stmhal: Implement ioctl for USB HID read.Pavol Rusnak
2017-01-19stmhal: Fix USB HID receive not receiving the first packet.Pavol Rusnak