summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2016-10-14qemu-arm: Enable lots of extmods and enable tests for them.Damien George
The qemu-arm port is used for testing of ARM Thumb architecture on a desktop so should have many features enabled.
2016-10-12tools: Upgrade upip to 1.1.3.Paul Sokolovsky
Initial support for running on a baremetal, low-heap systems (like esp8266), using Python module interface.
2016-10-05tools: Upgrade upip to 1.0.Paul Sokolovsky
Fully self-hosted release (without fallbacks), and uses stream gzip decompression (step towards support for limited-heap baremetal systems).
2016-09-23tools: Update upip to 0.8. Fixes IPv6 support.Paul Sokolovsky
2016-09-23py: Update opcode format table because 3 opcodes were removed, 1 added.Damien George
LIST_APPEND, MAP_ADD and SET_ADD have been removed, and STORE_COMP has been added in adaf0d865cd6c81fb352751566460506392ed55f.
2016-09-03tools/mpy-tool.py: Support freezing of complex numbers.Damien George
2016-09-02tools/mpy-tool.py: Compute the hash value for str/bytes objects.Damien George
This makes it more efficient at runtime to hash str/bytes objects.
2016-09-02tools/mpy-tool.py: Store qstr config values in global config object.Damien George
Makes it easier to access them without passing around another dict of the config values.
2016-08-10tools/mpy-tool.py: Support freezing float literals with obj-repr C.Damien George
The tool now generates code for freezing floats in obj-repr A, B or C, with the specific representation detected at compile time using macros.
2016-05-28tools: Upgrade upip to 0.7.Paul Sokolovsky
SSL certificate warning, switch to uerrno, and better usage message.
2016-05-23tools/mpy-tool.py: Don't strip directories from the frozen source name.Damien George
Directories are now supported by the frozen import system (to implement frozen packages) so we should keep them.
2016-05-23tools/mpy-tool.py: Include .py extension in frozen filename.Damien George
So that it can be correctly stat'd when looking for frozen files.
2016-05-21tools/make-frozen: Update for latest changes in frozen modules support.Paul Sokolovsky
Frozen modules are now stored with extensions and with '/' as path separator. In other words, frozen modules paths stored as they are in normal filesystem.
2016-05-16tools/mpy-tool.py: Add checks for critical configuration vars.Damien George
When an mpy file is frozen it must know the values of certain configuration variables. This patch provides an explicit check in the generated C file that the configuration variables are what they are supposed to be.
2016-05-14tools/make-frozen.py: Quick fix to support package-modules.Paul Sokolovsky
It allows to "import foo.bar", but not "from foo import bar".
2016-05-13tools/make-frozen.py: Properly escape hex chars when making C strings.Damien George
2016-05-03tools/mpy-tool: Make sure that all C-level variables are unique.Damien George
Fixes issue #2023.
2016-04-15tools/mpy-tool.py: Add support for Python 2.7.Damien George
2016-04-13py: Add ability to have frozen persistent bytecode from .mpy files.Damien George
The config variable MICROPY_MODULE_FROZEN is now made of two separate parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This allows to have none, either or both of frozen strings and frozen mpy files (aka frozen bytecode).
2016-04-13tools: Add mpy-tool.py, to work with .mpy files.Damien George
Currently it can freeze .mpy files.
2016-03-15qemu-arm: Enable builtin override feature, and enable more tests.Damien George
Hopefully these tests run reliably on Travis.
2016-01-03py/frozenmod: Store frozen module names together, to quickly scan them.Paul Sokolovsky
2016-01-01py/frozenmod: Make frozen module content be 0-terminated.Paul Sokolovsky
To allow simple zero-terminated lexers.
2015-12-31tools: Add C middle-processor to make builtin tables proper hash tables.Damien George
2015-12-12tools: Upgrade upip to 0.6.3.Paul Sokolovsky
Updated for _os -> uos builtin module rename.
2015-12-08tools: Fix pyboard.py to work under Python 3.Damien George
2015-12-08tools: Add option to pyboard.py to wait for serial device to be ready.Peter Hinch
Also prints a nicer error message if the serial connection could not be established.
2015-12-06tools: Allow pyboard.py to work when boot.py prints things.Dave Hylands
2015-11-15tools: Update to upip 0.6.2. Fixes issue due to MacOSX undocumented behavior.Paul Sokolovsky
2015-11-14tools: Update upip to 0.6.1. Fixes normal installs without -p switch.Paul Sokolovsky
2015-11-14tools: Update upip to 0.6.Paul Sokolovsky
Removes FFI dependency, instead uses builtin os module. Thus can work on systems where dynamic library loading is not available.
2015-11-07tools/pyboard.py: Don't add terminating \x04 character to stdout output.Paul Sokolovsky
2015-11-07tools/pyboard.py: Make -c (inline Python code) option compatible with python2.Paul Sokolovsky
2015-10-19tools/pyboard: Add -c argument to run a program passed as a string.Tom Soulanille
2015-10-17tools/upip: Update to 0.5.9.Paul Sokolovsky
MICROPYPATH environment variable is now honored, package are installed to first path specified in it.
2015-10-12Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.Damien George
2015-10-09stmhal: Fix USB CDC-only mode under Windows.Dave Hylands
This fix adds PIDs 9801 and 9802 to the pybcdc.inf file. When in CDC only mode, it presents itself as a Communcations device rather than as a composite device. Presenting as a composite device with only the CDC interface seems to confuse windows. To test and make sure that the correct pybcdc.inf was being used, I used USBDeview from http://www.nirsoft.net/utils/usb_devices_view.html to uninstall any old pyboard drivers (Use Control-F and search for pyboard). I found running USBDeview as administrator worked best. Installing the driver in CDC+MSC mode first is recommended (since the pybcdc.inf file in on the internal flash drive). Then when you switch modes everything seems to work properly. I used https://github.com/dhylands/upy-examples/blob/master/boot_switch.py to easily switch the pyboard between the various USB modes for testing.
2015-09-13tools: Upgrade upip to 0.5.8.Paul Sokolovsky
Adds support for ussl module (which is experimental and not fully implemented yet itself).
2015-08-30tools: Upgrade to upip 0.5.7.Paul Sokolovsky
Just dependent micropython-lib modules update for upip, no new functionality.
2015-08-11tools: Make gen-changelog.sh print more lines from the tag annotation.Damien George
2015-08-08tools: Make pyboard.py Python2 compatible.Damien George
2015-07-29tools/pyboard.py: Fix read timeout calc to work with shorter sleep.Damien George
2015-07-26tools: Add telnet support to pyboard.py.Daniel Campora
The adapter class "TelnetToSerial" is used to access the Telnet connection using the same API as with the serial connection. The function pyboard.run-test() has been removed to made the module generic and because this small test is no longer needed.
2015-07-25tools/pyboard.py: Speed up reading of chars by decreasing sleep period.Damien George
2015-07-25tools/pyboard.py: Make enter_raw_repl stricter and more reliable.Damien George
When looking for chars to indicate raw repl is active, look for the full string of chars to improve reliability of entering raw repl correctly. Previous to this patch there was the possibility that raw repl was entered in a dirty state, where not all input chars from previous invocation were drained.
2015-07-25tools/pyboard.py: Fix parsing of returned error so last chr is not lost.Damien George
2015-07-06tools: Fix pydfu.py to work with old and new versions of PyUSBDave Hylands
Update pydfu.py to match with the version from openmv. I just updated the openmv version to work with both of the PyUSB 1.0.0.b1 and 1.0.0.b2 See: https://github.com/walac/pyusb/blob/master/ReleaseNotes.rst
2015-07-06tools/make-frozen.py: Use Python2-compatible shebang.Paul Sokolovsky
2015-07-06tools/make-frozen.py: Actually make Python2-compatible.Paul Sokolovsky
2015-07-06tools/make-frozen.py: Add Python2 compatibility.Paul Sokolovsky