| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-04-03 | tests/run-tests: Introduce generic "minimal" target. | Paul Sokolovsky | |
| Used e.g. by Zephyr port. | |||
| 2017-04-03 | esp8266: Remove unused entry in port root pointers. | Damien George | |
| 2017-04-03 | tests/micropython/heapalloc_iter: Improve skippability. | Paul Sokolovsky | |
| 2017-04-03 | tests/float/byte*_construct: Skip on missing array module. | Paul Sokolovsky | |
| 2017-04-03 | tests/extmod/vfs_fat_fileio*: Improve skippability. | Paul Sokolovsky | |
| Should be skipped on missing uso, uerrno modules. | |||
| 2017-04-02 | run-tests: Add feature check for "const" keyword and skip related tests. | Paul Sokolovsky | |
| 2017-04-02 | tests: vfs_fat_fileio.py is too big to be parsed in 16K heap, split in 2. | Paul Sokolovsky | |
| This restores ability to run testsuite with 16K heap. | |||
| 2017-04-02 | py/objstr: Use MICROPY_FULL_CHECKS for range checking when constructing bytes. | Paul Sokolovsky | |
| Split this setting from MICROPY_CPYTHON_COMPAT. The idea is to be able to keep MICROPY_CPYTHON_COMPAT disabled, but still pass more of regression testsuite. In particular, this fixes last failing test in basics/ for Zephyr port. | |||
| 2017-04-02 | tests/run-tests: Be sure to close Pyboard object on completion. | Paul Sokolovsky | |
| So underlying device was properly closed too. | |||
| 2017-04-02 | tools/pyboard: Tighten up Pyboard object closure on errors. | Paul Sokolovsky | |
| Some "device" implementations may be sensitive to this. | |||
| 2017-04-02 | zephyr/modusocket: Implement recv() for TCP sockets. | Paul Sokolovsky | |
| Short read approach is taken - at most, the remaining data in the current fragment will be returned. | |||
| 2017-04-02 | tests/basics: Add tests for list and bytearray growing using themselves. | Damien George | |
| 2017-04-02 | py/obj.h: Make sequence grow more efficient and support overlapping. | Damien George | |
| The first memmove now copies less bytes in some cases (because len_adj <= slice_len), and the memcpy is replaced with memmove to support the possibility that dest and slice regions are overlapping. | |||
| 2017-04-01 | zephyr/modusocket: Implement recv() for UDP sockets. | Paul Sokolovsky | |
| The foundation of recv() support is per-socket queue of incoming packets, implemented using Zephyr FIFO object. This patch implements just recv() for UDP, because TCP recv() requires much more fine-grained control of network fragments and handling other issues, like EOF condition, etc. | |||
| 2017-04-01 | all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h | Damien George | |
| It can still be overwritten by a port in mpconfigport.h but for almost all cases one can use the provided default. | |||
| 2017-03-31 | zephyr/modusocket: Implement send(). | Paul Sokolovsky | |
| 2017-03-31 | zephyr/modusocket: Implement bind() and connect(). | Paul Sokolovsky | |
| 2017-03-31 | all: Use full path name when including mp-readline/timeutils/netutils. | Damien George | |
| This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed. | |||
| 2017-03-31 | unix: Convert mp_uint_t to size_t in alloc.c. | Pavol Rusnak | |
| 2017-03-31 | stmhal/i2c: Clean the cache so that I2C DMA works on F7 MCUs. | Damien George | |
| 2017-03-31 | stmhal: Move L4/F7 I2C timing constants from mpconfigboard.h to i2c.c. | Damien George | |
| Such constants are MCU specific so shouldn't be specified in the board config file (else it leads to too much duplication of code). This patch also adds I2C timing values for the F767/F769 for 100k, 400k and 1MHz I2C bus frequencies. | |||
| 2017-03-31 | zephyr: Integrate modusocket into build. | Paul Sokolovsky | |
| 2017-03-31 | zephyr/modusocket: Initial version of usocket module for Zephyr. | Paul Sokolovsky | |
| So far, socket creation and closure is implemented. | |||
| 2017-03-30 | zephyr: Fix NLR segfault in minimal build. | Paul Sokolovsky | |
| Requires inclusion of zephyr.h to properly detect that we're building for Zephyr. | |||
| 2017-03-30 | zephyr/Makefile: Add workaround (fix?) for broken builds for DTS targets. | Paul Sokolovsky | |
| 2017-03-30 | py/objzip: Convert mp_uint_t to size_t. | Damien George | |
| 2017-03-30 | stmhal/dma: Don't include SDMMC2 struct if SDMMC2 is not available. | Damien George | |
| Not all F7 MCUs have SDMMC2. | |||
| 2017-03-30 | stmhal/boards: Remove F769 alt function table, it's same as for F767. | Damien George | |
| 2017-03-30 | stmhal/boards/STM32F769DISC: Fix user switch pin, and document stlink. | Damien George | |
| 2017-03-30 | stmhal/boards/STM32F769DISC: Get SD card working by using SDMMC2. | Damien George | |
| 2017-03-30 | stmhal/boards: Update F76x alternate function table to add SDMMC2. | Damien George | |
| 2017-03-30 | stmhal/sdcard: Add support for SDMMC2 on F7 MCUs. | Damien George | |
| By default the SDIO (F4) or SDMMC1 (L4, F7) is used as the SD card peripheral, but if a board config defines MICROPY_HW_SDMMC2_CK and other pins then the SD card driver will use SDMMC2. | |||
| 2017-03-30 | stmhal: Support SDMMC alternate functions in pin generation. | Damien George | |
| 2017-03-30 | zephyr/Makefile: Rework to use modern, official build integration. | Paul Sokolovsky | |
| Build happens in 3 stages: 1. Zephyr config header and make vars are generated from prj.conf. 2. libmicropython is built using them. 3. Zephyr is built and final link happens. | |||
| 2017-03-29 | modutimeq: Add peektime() function (provisional). | Jan Pochyla | |
| Allows to get event time for a head item in the queue. The usecase if waiting for the next event *OR* I/O completion. I/O completion may happen before event triggers, and then wait should continue for the remaining event time (or I/O completion may schedule another earlier event altogether). The new function has a strongly provisional status - it may be converted to e.g. peek() function returning all of the event fields, not just time. | |||
| 2017-03-29 | cc3200/mods/pybi2c: Raise OSError if readfrom_mem fails to write addr. | Damien George | |
| 2017-03-29 | stmhal/spi: Increase SPI transfer timeout, proportional to num bytes. | Damien George | |
| With the existing timeout of 100ms the transfer would end prematurely if the baudrate was low and the number of bytes to send was high. This patch fixes the problem by making the timeout proportional to the number of bytes that are being transferred. | |||
| 2017-03-29 | cc3200: Update for changes to mp_obj_str_get_data. | Damien George | |
| 2017-03-29 | esp8266: Update for changes to mp_obj_str_get_data. | Damien George | |
| 2017-03-29 | stmhal: Update for changes to mp_obj_str_get_data. | Damien George | |
| 2017-03-29 | lib/netutils: Update for changes to mp_obj_str_get_data. | Damien George | |
| 2017-03-29 | extmod: Update for changes to mp_obj_str_get_data. | Damien George | |
| 2017-03-29 | py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. | Damien George | |
| 2017-03-29 | stmhal: Update to use size_t for tuple/list accessors. | Damien George | |
| 2017-03-29 | esp8266: Update to use size_t for tuple/list accessors. | Damien George | |
| 2017-03-29 | cc3200: Update to use size_t for tuple/list accessors. | Damien George | |
| 2017-03-29 | unix: Convert mp_uint_t to size_t for use of mp_obj_list_get. | Damien George | |
| 2017-03-29 | extmod/moduselect: Update to use size_t for array accessor. | Damien George | |
| 2017-03-29 | py: Convert mp_uint_t to size_t for tuple/list accessors. | Damien George | |
| This patch changes mp_uint_t to size_t for the len argument of the following public facing C functions: mp_obj_tuple_get mp_obj_list_get mp_obj_get_array These functions take a pointer to the len argument (to be filled in by the function) and callers of these functions should update their code so the type of len is changed to size_t. For ports that don't use nan-boxing there should be no change in generate code because the size of the type remains the same (word sized), and in a lot of cases there won't even be a compiler warning if the type remains as mp_uint_t. The reason for this change is to standardise on the use of size_t for variables that count memory (or memory related) sizes/lengths. It helps builds that use nan-boxing. | |||
| 2017-03-29 | extmod/vfs_fat: Fix calculation of total blocks in statvfs. | Damien George | |
