summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-04esp8266: Reset "virtual RTC" on power on.Paul Sokolovsky
Initialize RTC period coefficients, etc. if RTC RAM doesn't contain valid values. time.time() then will return number of seconds since power-on, unless set to different timebase. This reuses MEM_MAGIC for the purpose beyond its initial purpose (but the whole modpybrtc.c need to be eventually reworked completely anyway).
2016-03-04esp8266: Add time.{sleep_ms,sleep_us,ticks_ms,ticks_us,ticks_diff}.Damien George
Framework for time.ticks_cpu added, but not implemented.
2016-03-04esp8266: Add mp_hal_delay_us function.Damien George
2016-03-03esp8266: Enable more features in mpconfigport.h.Damien George
This is to get the test suite running and passing.
2016-03-03esp8266: Enable uhashlib module.Paul Sokolovsky
2016-03-03esp8266: Enable config settings helpful for debugging.Paul Sokolovsky
2016-03-03tests/run-tests: Skips for esp8266.Paul Sokolovsky
2016-03-03esp8266/esp8266.ld: Link in SDK version section.Paul Sokolovsky
Otherwise, os.uname() returns empty string for SDK version.
2016-03-03esp8266: Enable ujson, ubinascii, and uctypes modules.Paul Sokolovsky
2016-03-03extmod/vfs_fat_lexer: Add func prototype for pedantic warnings.Paul Sokolovsky
2016-03-03extmod/vfs_fat_lexer: Make conditional on FatFs support enabled.Paul Sokolovsky
2016-03-03extmod/vfs_fat: Add lexer, move from stmhal port for reuse.Paul Sokolovsky
2016-03-03tarvis: Unbreak build by ignoring lack of i386 arch in some repos.Paul Sokolovsky
For some reason, Travis now has Google Chrome PPA included in the builder image, that lacks i386 arch, that leads to apt-get update error. So, ignore it (this is not ideal as may lead to actual repo update failures to be missed, leading to installation of old package, leading to weird errors; let's keep that in mind).
2016-03-02esp8266: Add network.ifconfig().Damien George
2016-03-02esp8266: Change "soft reboot" message to work with pyboard.py.Damien George
2016-03-02esp8266: Allow Makefile's PORT variable to be overridden.Damien George
2016-03-02esp8266: Enable math module.Damien George
2016-03-02esp8266: Enable float support, using 30-bit stuffed floats.Damien George
No complex numbers though.
2016-03-02esp8266: Switch bignum implementation from long-long to mpz.Damien George
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