Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/mpconfig.h: Move PY_BUILTINS_POW3 config option to diff part of file. | Damien George | 2017-02-03 |
| | | | | | With so many config options it's good to (at least try to) keep them grouped into logical sections. | ||
* | tests/basics/string_format_modulo: Add more tests for dict formatting. | Damien George | 2017-02-03 |
| | |||
* | py/objstr: Give correct behaviour when passing a dict to %-formatting. | Damien George | 2017-02-03 |
| | | | | | | This patch fixes two main things: - dicts can be printed directly using '%s' % dict - %-formatting should not crash when passed a non-dict to, eg, '%(foo)s' | ||
* | tests: Split tests for 2- and 3-arg pow(). | Paul Sokolovsky | 2017-02-02 |
| | |||
* | py: Added optimised support for 3-argument calls to builtin.pow() | Nicko van Someren | 2017-02-02 |
| | | | | | | Updated modbuiltin.c to add conditional support for 3-arg calls to pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in objint_mpz.c for for optimised implementation. | ||
* | py/objset: Fix inplace binary ops so frozensets are not modified. | Damien George | 2017-02-03 |
| | |||
* | tests/float: Add tests for zero to a negative power. | Damien George | 2017-02-03 |
| | |||
* | py/objcomplex: Correctly handle case of 0j to power of something. | Damien George | 2017-02-03 |
| | | | | | 0j to the power of negative now raises ZeroDivisionError, and 0j to the power of positive returns 0. | ||
* | py/objfloat: Raise ZeroDivisionError for 0 to negative power. | Damien George | 2017-02-03 |
| | |||
* | tests/basics/set_binop: Add tests for inplace set operations. | Damien George | 2017-02-02 |
| | |||
* | py/objset: Make inplace binary operators actually modify the set. | Damien George | 2017-02-02 |
| | |||
* | tests/heapalloc_bytesio: Test for BytesIO with preallocates space. | Paul Sokolovsky | 2017-02-02 |
| | |||
* | py/objstringio: Allow to specify initial capacity by passing numeric argument. | Paul Sokolovsky | 2017-02-02 |
| | | | | E.g. uio.BytesIO(100) will allocate buffer with 100 bytes of space. | ||
* | unix: Make stack be non-executable | Dave Hylands | 2017-02-01 |
| | | | | This PR is to address issue #2812. | ||
* | zephyr/README: Describe many gotchas of networked builds. | Paul Sokolovsky | 2017-02-01 |
| | |||
* | tests/thread: Fix stack size test so tests run reliably on baremetal. | Damien George | 2017-02-01 |
| | |||
* | lib/oofatfs/ffconf.h: Add MICROPY_FATFS_NORTC option. | Andrew Gatt | 2017-01-31 |
| | |||
* | stmhal: Fix build issue when MICROPY_PY_THREAD is disabled. | Damien George | 2017-01-31 |
| | |||
* | stmhal/main: Use _estack value to initialise stack extents. | Damien George | 2017-01-31 |
| | |||
* | stmhal: Initial implementation of multithreading, currently disabled. | Damien George | 2017-01-31 |
| | | | | | | | | | | | | | | | This patch brings the _thread module to stmhal/pyboard. There is a very simple round-robin thread scheduler, which is disabled if there is only one thread (for efficiency when threading is not used). The scheduler currently switches threads at a rate of 250Hz using the systick timer and the pend-SV interrupt. The GIL is disabled so one must be careful to use lock objects to prevent concurrent access of objects. The threading is disabled by default, one can enabled it with the config option MICROPY_PY_THREAD to test it out. | ||
* | tests/thread: Make thread_exc2 runable on baremetal. | Damien George | 2017-01-31 |
| | |||
* | stmhal/pendsv: Fill in comments about what the stack contains. | Damien George | 2017-01-31 |
| | |||
* | stmhal/main: Guard init_sdcard_fs with MICROPY_HW_HAS_SDCARD. | Damien George | 2017-01-31 |
| | |||
* | stmhal/modmachine: Add machine.Signal type. | Damien George | 2017-01-31 |
| | |||
* | stmhal/pin: Add C-level pin ioctl method. | Damien George | 2017-01-31 |
| | |||
* | lib/oofatfs/ffconf.h: Allow to configure FS_EXFAT option. | Damien George | 2017-01-31 |
| | | | | | Using MICROPY_FATFS_EXFAT. Enabling this has licensing implications; see https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx | ||
* | stmhal/main: Put /sd directory before /flash in sys.path. | Damien George | 2017-01-31 |
| | | | | | If the SD card is mounted then its libraries (ie those that are imported) should override any in /flash. | ||
* | stmhal: On boot, mount all available partitions of the SD card. | Damien George | 2017-01-31 |
| | | | | | | | | The first partition is mounted as "/sd" and subsequent partitions are mounted as "/sd<part_num>". This is backwards compatible with the previous behaviour, which just mounted the first partition on "/sd". At this point, only FatFs filesystems are mounted. | ||
* | stmhal/README: Add paragraph about building mpy-cross. | Damien George | 2017-01-31 |
| | |||
* | tests/basics/zip: Make skippable. | Paul Sokolovsky | 2017-01-31 |
| | |||
* | tests/run-tests: Skip frozenset tests if set literal syntax is not available. | Paul Sokolovsky | 2017-01-31 |
| | |||
* | zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU. | Paul Sokolovsky | 2017-01-30 |
| | | | | Also works for non-networked builds (like minimal). | ||
* | extmod/vfs_fat.c: Use explicit include path for timeutils.h. | Andrew Gatt | 2017-01-30 |
| | |||
* | extmod/vfs_reader: Fix use of NLR by popping context. | Damien George | 2017-01-30 |
| | |||
* | docs/pyboard/tutorial/lcd160cr_skin: Fix typo, get_touched->get_touch. | Damien George | 2017-01-30 |
| | |||
* | stmhal: Fix stack pointer initialisation for F411 and F429 boards. | Damien George | 2017-01-30 |
| | | | | | The stack pointer should start pointing 1 byte past the top of the end of RAM. | ||
* | stmhal: Set the FatFs partition number when initialising VFS object. | Damien George | 2017-01-30 |
| | | | | | stmhal has MULTI_PARTITION enabled for FatFs and so these values need to be initialised. | ||
* | stmhal: Use LED constants from PYBv4 onwards. | Damien George | 2017-01-30 |
| | |||
* | unix/modos: Remove VfsFat from uos module, it's now in uos_vfs module. | Damien George | 2017-01-30 |
| | |||
* | extmod/vfs_fat: Remove unused function fat_vfs_listdir. | Damien George | 2017-01-30 |
| | |||
* | extmod/vfs_fat: Remove unused fatfs_builtin_open function. | Damien George | 2017-01-30 |
| | |||
* | extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h. | Damien George | 2017-01-30 |
| | | | | | vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things. | ||
* | lib/fatfs: Remove old fatfs library component, it's replaced by oofatfs. | Damien George | 2017-01-30 |
| | |||
* | extmod/vfs_fat: Remove MICROPY_FATFS_OO config option. | Damien George | 2017-01-30 |
| | | | | | Everyone should now be using the new ooFatFs library. The old one is no longer supported and will be removed. | ||
* | unix/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config. | Damien George | 2017-01-30 |
| | |||
* | esp8266/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config. | Damien George | 2017-01-30 |
| | |||
* | extmod: Remove MICROPY_FSUSERMOUNT and related files. | Damien George | 2017-01-30 |
| | | | | Replaced by MICROPY_VFS and the VFS sub-system. | ||
* | extmod/vfs_fat: Remove MICROPY_FSUSERMOUNT_ADHOC config option. | Damien George | 2017-01-30 |
| | |||
* | extmod/vfs_fat: Remove MICROPY_READER_FATFS component. | Damien George | 2017-01-30 |
| | |||
* | cc3200: Convert to use new VFS sub-system and new ooFatFs library. | Damien George | 2017-01-30 |
| |