Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tools: Upgrade upip to 0.7. | Paul Sokolovsky | 2016-05-28 |
| | | | | SSL certificate warning, switch to uerrno, and better usage message. | ||
* | tools/mpy-tool.py: Don't strip directories from the frozen source name. | Damien George | 2016-05-23 |
| | | | | | Directories are now supported by the frozen import system (to implement frozen packages) so we should keep them. | ||
* | tools/mpy-tool.py: Include .py extension in frozen filename. | Damien George | 2016-05-23 |
| | | | | So that it can be correctly stat'd when looking for frozen files. | ||
* | tools/make-frozen: Update for latest changes in frozen modules support. | Paul Sokolovsky | 2016-05-21 |
| | | | | | | 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. | ||
* | tools/mpy-tool.py: Add checks for critical configuration vars. | Damien George | 2016-05-16 |
| | | | | | | | 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. | ||
* | tools/make-frozen.py: Quick fix to support package-modules. | Paul Sokolovsky | 2016-05-14 |
| | | | | It allows to "import foo.bar", but not "from foo import bar". | ||
* | tools/make-frozen.py: Properly escape hex chars when making C strings. | Damien George | 2016-05-13 |
| | |||
* | tools/mpy-tool: Make sure that all C-level variables are unique. | Damien George | 2016-05-03 |
| | | | | Fixes issue #2023. | ||
* | tools/mpy-tool.py: Add support for Python 2.7. | Damien George | 2016-04-15 |
| | |||
* | py: Add ability to have frozen persistent bytecode from .mpy files. | Damien George | 2016-04-13 |
| | | | | | | | 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). | ||
* | tools: Add mpy-tool.py, to work with .mpy files. | Damien George | 2016-04-13 |
| | | | | Currently it can freeze .mpy files. | ||
* | qemu-arm: Enable builtin override feature, and enable more tests. | Damien George | 2016-03-15 |
| | | | | Hopefully these tests run reliably on Travis. | ||
* | py/frozenmod: Store frozen module names together, to quickly scan them. | Paul Sokolovsky | 2016-01-03 |
| | |||
* | py/frozenmod: Make frozen module content be 0-terminated. | Paul Sokolovsky | 2016-01-01 |
| | | | | To allow simple zero-terminated lexers. | ||
* | tools: Add C middle-processor to make builtin tables proper hash tables. | Damien George | 2015-12-31 |
| | |||
* | tools: Upgrade upip to 0.6.3. | Paul Sokolovsky | 2015-12-12 |
| | | | | Updated for _os -> uos builtin module rename. | ||
* | tools: Fix pyboard.py to work under Python 3. | Damien George | 2015-12-08 |
| | |||
* | tools: Add option to pyboard.py to wait for serial device to be ready. | Peter Hinch | 2015-12-08 |
| | | | | | Also prints a nicer error message if the serial connection could not be established. | ||
* | tools: Allow pyboard.py to work when boot.py prints things. | Dave Hylands | 2015-12-06 |
| | |||
* | tools: Update to upip 0.6.2. Fixes issue due to MacOSX undocumented behavior. | Paul Sokolovsky | 2015-11-15 |
| | |||
* | tools: Update upip to 0.6.1. Fixes normal installs without -p switch. | Paul Sokolovsky | 2015-11-14 |
| | |||
* | tools: Update upip to 0.6. | Paul Sokolovsky | 2015-11-14 |
| | | | | | Removes FFI dependency, instead uses builtin os module. Thus can work on systems where dynamic library loading is not available. | ||
* | tools/pyboard.py: Don't add terminating \x04 character to stdout output. | Paul Sokolovsky | 2015-11-07 |
| | |||
* | tools/pyboard.py: Make -c (inline Python code) option compatible with python2. | Paul Sokolovsky | 2015-11-07 |
| | |||
* | tools/pyboard: Add -c argument to run a program passed as a string. | Tom Soulanille | 2015-10-19 |
| | |||
* | tools/upip: Update to 0.5.9. | Paul Sokolovsky | 2015-10-17 |
| | | | | | MICROPYPATH environment variable is now honored, package are installed to first path specified in it. | ||
* | Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. | Damien George | 2015-10-12 |
| | |||
* | stmhal: Fix USB CDC-only mode under Windows. | Dave Hylands | 2015-10-09 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | tools: Upgrade upip to 0.5.8. | Paul Sokolovsky | 2015-09-13 |
| | | | | | Adds support for ussl module (which is experimental and not fully implemented yet itself). | ||
* | tools: Upgrade to upip 0.5.7. | Paul Sokolovsky | 2015-08-30 |
| | | | | | Just dependent micropython-lib modules update for upip, no new functionality. | ||
* | tools: Make gen-changelog.sh print more lines from the tag annotation. | Damien George | 2015-08-11 |
| | |||
* | tools: Make pyboard.py Python2 compatible. | Damien George | 2015-08-08 |
| | |||
* | tools/pyboard.py: Fix read timeout calc to work with shorter sleep. | Damien George | 2015-07-29 |
| | |||
* | tools: Add telnet support to pyboard.py. | Daniel Campora | 2015-07-26 |
| | | | | | | | 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. | ||
* | tools/pyboard.py: Speed up reading of chars by decreasing sleep period. | Damien George | 2015-07-25 |
| | |||
* | tools/pyboard.py: Make enter_raw_repl stricter and more reliable. | Damien George | 2015-07-25 |
| | | | | | | | | | 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. | ||
* | tools/pyboard.py: Fix parsing of returned error so last chr is not lost. | Damien George | 2015-07-25 |
| | |||
* | tools: Fix pydfu.py to work with old and new versions of PyUSB | Dave Hylands | 2015-07-06 |
| | | | | | | | | | 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 | ||
* | tools/make-frozen.py: Use Python2-compatible shebang. | Paul Sokolovsky | 2015-07-06 |
| | |||
* | tools/make-frozen.py: Actually make Python2-compatible. | Paul Sokolovsky | 2015-07-06 |
| | |||
* | tools/make-frozen.py: Add Python2 compatibility. | Paul Sokolovsky | 2015-07-06 |
| | |||
* | tools: Update upip to 0.5.4. | Paul Sokolovsky | 2015-06-25 |
| | | | | Recognize and handle "package not found" error. | ||
* | tools/pyboard.py: Change logic for when raw ">" prompt is parsed. | Damien George | 2015-06-15 |
| | | | | | | | | | | | | | 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. | ||
* | pip-micropython: Add deprecation notice, but still leave for reference. | Paul Sokolovsky | 2015-06-13 |
| | |||
* | micropython-upip: Mark as binary file and re-commit. | Paul Sokolovsky | 2015-06-06 |
| | |||
* | upip: Upgrade to 0.5.3 to follow uctypes.struct() signature change. | Paul Sokolovsky | 2015-06-06 |
| | |||
* | tools/make-frozen.py: Handle trailing slash in argument more reliably. | Paul Sokolovsky | 2015-06-03 |
| | |||
* | tools: Add codestats.sh to compute code statistics such as size, speed. | Damien George | 2015-06-03 |
| | |||
* | tools: Add upip 0.5.2 tarball. | Paul Sokolovsky | 2015-06-02 |
| | | | | | So unix version, which now includes upip as a frozen module, can be built without Internet connection. | ||
* | tools/make-frozen.py: Open files in binary mode. | Paul Sokolovsky | 2015-05-30 |
| |