aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-02mpy-cross: Give a more sensible error message when file doesn't exist.Damien George
2016-03-02docs/uctypes.rst: Fix typo (steamlined -> streamlined).Noah Rosamilia
2016-03-02unix/modsocket: Add comment regarding close() error checking (which is none).Paul Sokolovsky
2016-02-29py/qstrdefs: Add mkdir and remove qstrs for user-mountable filesystems.Damien George
2016-02-29tests/vfs_fat_ramdisk: Add testcase for .rename().Paul Sokolovsky
2016-02-29extmod/vfs_fat: Add .rename() method.Paul Sokolovsky
2016-02-29extmod/vfs_fat_misc: Fix cc3200 port build.Paul Sokolovsky
2016-02-29tests/vfs_fat_ramdisk: Allow to run in native mode (don't use "with").Paul Sokolovsky
2016-02-29extmod/vfs_fat_misc: Add func prototype for pedantic warnings.Paul Sokolovsky
2016-02-29extmod/vfs_fat: Add fat_vfs_import_stat(), reusable import stat routine.Paul Sokolovsky
Moved from stmhal.
2016-02-29tests/vfs_fat_ramdisk: Add testcase for .mkdir().Paul Sokolovsky
2016-02-29extmod/vfs_fat: Add .mkdir() method.Paul Sokolovsky
2016-02-28extmod/vfs_fat: Fix unused param warning/error.Paul Sokolovsky
2016-02-28tests/vfs_fat_ramdisk: Add testcase for .remove().Paul Sokolovsky
2016-02-28extmod/vfs_fat: Add .remove() method.Paul Sokolovsky
Based on stmhal implementation - rather small, so just duplicating.
2016-02-28tests/vfs_fat_ramdisk: Add .listdir() testcase.Paul Sokolovsky
2016-02-28extmod/vfs_fat: Move listdir() method from stmhal for reuse.Paul Sokolovsky
2016-02-27cc3200: Update WiPy software version to 1.2.0danicampora
2016-02-25unix: Enabled importing of persistent bytecode (.mpy files).Damien George
2016-02-25stmhal: Enabled importing of persistent bytecode (.mpy files).Damien George
2016-02-25mpy-cross: Add new component, a cross compiler for MicroPython bytecode.Damien George
This component allows to generate .mpy files (pre compiled bytecode) which can be executed within any MicroPython runtime/VM.
2016-02-25py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.Damien George
This new compile-time option allows to make the bytecode compiler configurable at runtime by setting the fields in the mp_dynamic_compiler structure. By using this feature, the compiler can generate bytecode that targets any MicroPython runtime/VM, regardless of the host and target compile-time settings. Options so far that fall under this dynamic setting are: - maximum number of bits that a small int can hold; - whether caching of lookups is used in the bytecode; - whether to use unicode strings or not (lexer behaviour differs, and therefore generated string constants differ).
2016-02-23docs: Correct machine.Timer code examples related to duty cycle.danicampora
2016-02-23docs: Add note on machine.Timer class regarding PWM output pins.danicampora
2016-02-23py/emitinlinethumb: Use qstrs instead of char* for names of asm ops.Damien George
Reduces code size by 112 bytes on Thumb2 arch, and makes assembler faster because comparison can be a simple equals instead of a string compare. Not all ops have been converted, only those that were simple to convert and reduced code size.
2016-02-23py/malloc: Provide a proper malloc-based implementation of realloc_ext.Damien George
2016-02-23py/parse: Use m_renew_maybe to ensure that memory is shrunk in-place.Damien George
The chunks of memory that the parser allocates contain parse nodes and are pointed to from many places, so these chunks cannot be relocated by the memory manager. This patch makes it so that when a chunk is shrunk to fit, it is not relocated.
2016-02-22cc3200: Rename 'server' class to 'Server' for consistency.danicampora
2016-02-22docs: Minor change to improve clarity in machine.Timer docs.danicampora
2016-02-22tests/wipy: Correct machine test expected result.danicampora
2016-02-21tests: Skip uctypes and urandom tests not supported byt the WiPy.danicampora
2016-02-21cc3200: Improve robustness of WLAN during sleep modes.danicampora
2016-02-21cc3200: Fix "debug" build.danicampora
2016-02-21docs: Correct WiPy Timer docs.danicampora
2016-02-21test/wipy: Add Timer class tests.danicampora
2016-02-21cc3200: Simplify the Timer API and correct the documents.danicampora
Make the PWM duty cycle configurable from 0.00 to 100.00 by accepting values from 0 to 10000. Add automatic Pin assignment when operating in PWM mode.
2016-02-21cc3200: Improve robustness of the I2C driver.danicampora
When scanning for devices, try reading then writing. Increase the timeout of the transactions from 10 to 20 ms.
2016-02-21cc3200: Finally fix the Timer class API.danicampora
Properly calculate the period and the prescaler, this now allows to set the PWM frequency down to 5Hz. Make Timer IDs go from 0 to 3. Add the trigger definitions for the channel IRQ.
2016-02-17README.md: Add link to micropython.org.Damien George
2016-02-17py/vm: Add macros to hook into various points in the VM.Damien George
These can be used to insert arbitrary checks, polling, etc into the VM. They are left general because the VM is a highly tuned loop and it should be up to a given port how that port wants to modify the VM internals. One common use would be to insert a polling check, but only done after a certain number of opcodes were executed, so as not to slow down the VM too much. For example: #define MICROPY_VM_HOOK_COUNT (30) #define MICROPY_VM_HOOK_INIT static uint vm_hook_divisor = MICROPY_VM_HOOK_COUNT #define MICROPY_VM_HOOK_POLL if (--vm_hook_divisor == 0) { \ vm_hook_divisor = MICROPY_VM_HOOK_COUNT; extern void vm_hook_function(void); vm_hook_function(); } #define MICROPY_VM_HOOK_LOOP MICROPY_VM_HOOK_POLL #define MICROPY_VM_HOOK_RETURN MICROPY_VM_HOOK_POLL
2016-02-17py/repl: Check for an identifier char after the keyword.Alex March
- As described in the #1850. - Add cmdline tests.
2016-02-15tests/vfs_fat_ramdisk: Skip test if can't allocate ramdisk.Paul Sokolovsky
2016-02-15py/qstrdefs.h: qstrs for VfsFat.Paul Sokolovsky
2016-02-15stmhal: Improvements to the STM32F4DISC UART config settings.Dave Hylands
2016-02-15stmhal: Some NETDUINO_PLUS_2 cleanupDave Hylands
- Put the I2C bus on the corect pins - Add the appropriate board_init to power the shield
2016-02-15py/emitnative: Add check that RHS of viper store is of integral type.Damien George
2016-02-15py/asmx64: Support all 16 regs in reg to memory move instructions.Damien George
2016-02-15py/asmx64: Add helper macro for generating REX_[WRXB] bits from a reg64.Damien George
2016-02-15cc3200: Fix breakage after VfsFat refactor.Paul Sokolovsky
2016-02-15extmod/vfs_fat_ffconf: Reusable FatFs module, move from stmhal/ffconf.Paul Sokolovsky
TODO: Probably merge into vfs_fat_diskio.