Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-25 | extmod/modframebuf: Add GS4_HMSB format. | Oleg Korsak | |
2017-01-25 | py/objint: Fix left-shift overflow in checking for large int. | Damien George | |
2017-01-25 | esp8266: Factor out common linker code to esp8266_common.ld. | Damien George | |
2017-01-24 | stmhal/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-24 | stmhal/boards/STM32L476DISC: Use external SPI flash for filesystem. | Damien George | |
2017-01-24 | stmhal: 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-24 | drivers/memory: Add SPI flash driver, written in C. | Damien George | |
2017-01-24 | stmhal: Fix examples in openocd configs to include addresses. | Pavol Rusnak | |
2017-01-24 | tests: Make sure special tests can be skipped as well. | stijn | |
Fixes #2806. | |||
2017-01-24 | docs/library/lcd160cr: Fix set_brightness range, should be 0..31. | Damien George | |
2017-01-23 | docs/pyboard/tutorial: Add tutorial for LCD160CR. | Damien George | |
2017-01-23 | stmhal: 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-23 | docs: Add documentation for lcd160cr module. | Damien George | |
2017-01-23 | drivers/display: Add driver and test for uPy LCD160CR display. | Damien George | |
2017-01-23 | extmod/modframebuf: Clip pixels drawn by line method. | Damien George | |
2017-01-22 | lib/utils/pyexec: Only print help prompt if HELP feature is enabled. | Damien George | |
2017-01-22 | stmhal: Enable help('modules') feature. | Damien George | |
2017-01-22 | tests/basics/builtin_help: Add test for help('modules'). | Damien George | |
2017-01-22 | unix: Enable MICROPY_PY_BUILTINS_HELP_MODULES in coverage build. | Damien George | |
2017-01-22 | py/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-22 | py: Move weak-link map to objmodule.c, and expose module maps as public. | Damien George | |
2017-01-22 | tests: Add test for builtin help function. | Damien George | |
2017-01-22 | unix: Enable builtin help function in coverage build. | Damien George | |
2017-01-22 | lib/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-22 | zephyr: Convert to use builtin help function. | Damien George | |
2017-01-22 | teensy: Convert to use builtin help function. | Damien George | |
2017-01-22 | cc3200: Convert to use builtin help function. | Damien George | |
2017-01-22 | esp8266: Convert to use builtin help function. | Damien George | |
2017-01-22 | stmhal: Convert to use builtin help function. | Damien George | |
2017-01-22 | py: 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-21 | tests/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-21 | tests: 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-21 | py/objint_longlong: Add stub for mp_obj_int_from_bytes_impl(). | Paul Sokolovsky | |
To be implemented later. | |||
2017-01-21 | py/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-21 | py/mpz: Implement mpz_set_from_bytes() as a foundation for int.from_bytes(). | Paul Sokolovsky | |
2017-01-21 | zephyr: 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-21 | zephyr: 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-21 | zephyr: Remove deprecated .mdef file. | Paul Sokolovsky | |
2017-01-20 | zephyr/help: Update n_args param type to size_t. | Paul Sokolovsky | |
2017-01-20 | tests/basics: Add test for assignment of attribute to bound method. | Damien George | |
2017-01-20 | travis: 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-19 | tests/misc/non_compliant: Add test for inability to assign func attrs. | Damien George | |
2017-01-19 | tests/micropython/opt_level: Add test for opt_level 3. | Damien George | |
2017-01-19 | tests/extmod/framebuf1: Add test for no-op fill_rect. | Damien George | |
2017-01-19 | tests/float: Add test for assigning to attribute of complex number. | Damien George | |
2017-01-19 | py/objint_mpz: Refactor switch-statement to remove unreachable default. | Damien George | |
2017-01-19 | py/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-19 | stmhal: 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-19 | stmhal: Implement ioctl for USB HID read. | Pavol Rusnak | |
2017-01-19 | stmhal: Fix USB HID receive not receiving the first packet. | Pavol Rusnak | |