Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
0j to the power of negative now raises ZeroDivisionError, and 0j to the power of positive returns 0. | |||
2017-02-03 | py/objfloat: Raise ZeroDivisionError for 0 to negative power. | Damien George | |
2017-02-02 | 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 | |
E.g. uio.BytesIO(100) will allocate buffer with 100 bytes of space. | |||
2017-02-01 | unix: Make stack be non-executable | Dave Hylands | |
This PR is to address issue #2812. | |||
2017-02-01 | 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-01-31 | 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 | |
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. | |||
2017-01-31 | 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 | |
Using MICROPY_FATFS_EXFAT. Enabling this has licensing implications; see https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx | |||
2017-01-31 | stmhal/main: Put /sd directory before /flash in sys.path. | Damien George | |
If the SD card is mounted then its libraries (ie those that are imported) should override any in /flash. | |||
2017-01-31 | stmhal: On boot, mount all available partitions of the SD card. | Damien George | |
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. | |||
2017-01-31 | 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-30 | zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU. | Paul Sokolovsky | |
Also works for non-networked builds (like minimal). | |||
2017-01-30 | 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 | |
The stack pointer should start pointing 1 byte past the top of the end of RAM. | |||
2017-01-30 | stmhal: Set the FatFs partition number when initialising VFS object. | Damien George | |
stmhal has MULTI_PARTITION enabled for FatFs and so these values need to be initialised. | |||
2017-01-30 | 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 | |
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things. | |||
2017-01-30 | 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 | |
Everyone should now be using the new ooFatFs library. The old one is no longer supported and will be removed. | |||
2017-01-30 | 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 | |
Replaced by MICROPY_VFS and the VFS sub-system. | |||
2017-01-30 | 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 | extmod/vfs: Expose lookup_path_raw as mp_vfs_lookup_path. | Damien George | |
It can be useful for low-level lookup of paths by ports. | |||
2017-01-30 | extmod/vfs_fat: Update to use FF_DIR instead of DIR. | Damien George | |
2017-01-30 | lib/oofatfs: Update oofatfs library. | Damien George | |
From https://github.com/micropython/oofatfs, branch work-R0.12b, commit 46fb53331e7a583c29a41d37ce4b53f2718597e5. | |||
2017-01-29 | examples/hwapi: Consistently use Signal class to define LEDs. | Paul Sokolovsky | |
2017-01-29 | examples/hwapi: Use Signal for inverted LED on ESP-12. | Paul Sokolovsky | |
2017-01-29 | esp8266/modmachine: Add Signal class. | Paul Sokolovsky | |