summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-15docs: Bump version to 1.4.4.v1.4.4Damien George
2015-06-15tests: Check that machine module exists and print SKIP if it doesn't.Damien George
2015-06-15tools/pyboard.py: Change logic for when raw ">" prompt is parsed.Damien George
In raw REPL ">" indicates the prompt. We originally read this character upon entering the raw REPL, and after reading the last bit of the output. This patch changes the logic so the ">" is read only just before trying to send the next command. To make this work (and as an added feature) the input buffer is now flushed upon entering raw REPL. The main reason for this change is so that pyboard.py recognises the EOF when sys.exit() is called on the pyboard. Ie, if you run pyboard.py with a script that calls sys.exit(), then pyboard.py will exit after the sys.exit() is called.
2015-06-14esp8266: Changed esp_scan to keep the current WiFi operating mode but throw ↵Bill Owens
an exception if WiFi is in AP only mode
2015-06-13py: Implement divmod for mpz bignum.Damien George
2015-06-13py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George
2015-06-13py: Implement second arg for math.log (optional value for base).Damien George
2015-06-13esp8266: Fix the documentation for esp.connect() and esp.disconnect()Radomir Dopieralski
Since the commit that moved those two functions failed to update the documentation, this is a fix for that.
2015-06-13pip-micropython: Add deprecation notice, but still leave for reference.Paul Sokolovsky
2015-06-12esp8266: Move connect/disconnect from "esp" module to network.Paul Sokolovsky
2015-06-12esp8266: Add skeleton "network" module.Paul Sokolovsky
MicroPython "network" module interface requires it to contains classes to instantiate. But as we have a static network interace, make WLAN() "constructor" just return module itself, and just make all methods module-global functions.
2015-06-12esp8266: esp_connect(): The function is now vararg.Paul Sokolovsky
Fixes regression from a previous commit.
2015-06-11py: Rebuild port if mpconfigport.mk changed (if any).Paul Sokolovsky
mpconfigport.mk contains configuration options which affect the way MicroPython is linked. In this regard, it's "stronger" configuration dependency than even mpconfigport.h, so if we rebuild everything on mpconfigport.h change, we certianly should of that on mpconfigport.mk change too.
2015-06-11cc3200/README.md: Specify the board name in the build command.Daniel Campora
2015-06-11README.md: Correct port names in the documentation build command.Daniel Campora
2015-06-10docs: Add initial draft documentation for the WiPy.Daniel Campora
This makes all common files "port-aware" using the .. only directive.
2015-06-10cc3200: Rename os.mkdisk() to os.mkfs().Daniel Campora
2015-06-10cc3200: Remove Timer.AB constant.Daniel Campora
Timer.A and Timer.B can be ORed for this purpose.
2015-06-10cc3200: Clarify notes about the extended functionality of uhashlib.Daniel Campora
2015-06-10cc3200: Re-name pyb.hard_reset() to pyb.reset().Daniel Campora
2015-06-10cc3200: Use the pull up/down resistors on the antenna selection pins.Daniel Campora
2015-06-10cc3200: Fix bootloader build error.Daniel Campora
2015-06-10cc3200: Add sendbreak method to the UART.Daniel Campora
2015-06-10cc3200: Make UART API more similar to stmhal.Daniel Campora
2015-06-10cc3200: Change MP_OBJ_NULL for mp_const_none in params default value.Daniel Campora
2015-06-10cc3200: Only kick the WDT if it's actually running.Daniel Campora
2015-06-10cc3200: Add contructor to the HeartBeat class.Daniel Campora
2015-06-10stmhal: Make I2C use DMA when interrupts are enabled.Damien George
2015-06-10stmhal: Factor out DMA initialisation code from spi.c.Damien George
This is so that the DMA can be shared by multiple peripherals.
2015-06-09py: Support unicode (utf-8 encoded) identifiers in Python source.Damien George
Enabled simply by making the identifier lexing code 8-bit clean.
2015-06-08py: Fallback to stack alloca for Python-stack if heap alloc fails.Damien George
If heap allocation for the Python-stack of a function fails then we may as well allocate the Python-stack on the C stack. This will allow to run more code without using the heap.
2015-06-08cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.Daniel Campora
2015-06-07stmhal: Break immediately from USB CDC busy wait loop if IRQs disabled.Damien George
If IRQs are disabled then the USB CDC buffer will never be drained/filled and the sys-tick timer will never increase, so we should not busy wait in this case.
2015-06-07cc3200: Re-config antenna selection when waking from suspended mode.Daniel Campora
2015-06-07cc3200: Add missing antenna diversity source files.Daniel Campora
2015-06-07cc3200: Add antenna selection feature to WLAN.Daniel Campora
2015-06-06micropython-upip: Mark as binary file and re-commit.Paul Sokolovsky
2015-06-06upip: Upgrade to 0.5.3 to follow uctypes.struct() signature change.Paul Sokolovsky
2015-06-06docs/uctype: Update for constructor argument order changes.Paul Sokolovsky
Also, other small cleanups/improvements.
2015-06-06moductypes: Swap address and descriptor args in constructor.Paul Sokolovsky
Now address comes first, and args related to struct type are groupped next. Besides clear groupping, should help catch errors eagerly (e.g. forgetting to pass address will error out). Also, improve args number checking/reporting overall.
2015-06-06unix: Make micropython -m <module> work for frozen modules.Paul Sokolovsky
This requires some special handling, which was previosuly applied only to the main code path.
2015-06-05py: Expose KeyboardInterrupt in builtins module.Damien George
2015-06-04docs: Change "Micro Python" to "MicroPython" in all places in docs.Damien George
2015-06-04docs: Update license date range to include 2015.Damien George
2015-06-04docs: Generate a separate docs build for each port.Daniel Campora
Using Damien's approach where conf.py and topindex.html are shared by all ports.
2015-06-04unix: Allow to cat a script into stdin from the command line.Damien George
See issue #1306.
2015-06-04windows/README: Add notes on running under Wine.Paul Sokolovsky
After enabling line editing support on Windows console, this is no longer trivial.
2015-06-04windows: Implement the mp_hal_xxx functions and enable mp-readlinestijn
2015-06-04py: Implement native multiply operation in viper emitter.Damien George
2015-06-04py: Implement implicit cast to obj for viper load/store index/value.Damien George
This allows to do "ar[i]" and "ar[i] = val" in viper when ar is a Python object and i and/or val are native viper types (eg ints). Patch also includes tests for this feature.