summaryrefslogtreecommitdiffstatshomepage
path: root/tools
Commit message (Collapse)AuthorAge
* tools/pyboard.py: Fix read timeout calc to work with shorter sleep.Damien George2015-07-29
|
* tools: Add telnet support to pyboard.py.Daniel Campora2015-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 George2015-07-25
|
* tools/pyboard.py: Make enter_raw_repl stricter and more reliable.Damien George2015-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 George2015-07-25
|
* tools: Fix pydfu.py to work with old and new versions of PyUSBDave Hylands2015-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 Sokolovsky2015-07-06
|
* tools/make-frozen.py: Actually make Python2-compatible.Paul Sokolovsky2015-07-06
|
* tools/make-frozen.py: Add Python2 compatibility.Paul Sokolovsky2015-07-06
|
* tools: Update upip to 0.5.4.Paul Sokolovsky2015-06-25
| | | | Recognize and handle "package not found" error.
* tools/pyboard.py: Change logic for when raw ">" prompt is parsed.Damien George2015-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 Sokolovsky2015-06-13
|
* micropython-upip: Mark as binary file and re-commit.Paul Sokolovsky2015-06-06
|
* upip: Upgrade to 0.5.3 to follow uctypes.struct() signature change.Paul Sokolovsky2015-06-06
|
* tools/make-frozen.py: Handle trailing slash in argument more reliably.Paul Sokolovsky2015-06-03
|
* tools: Add codestats.sh to compute code statistics such as size, speed.Damien George2015-06-03
|
* tools: Add upip 0.5.2 tarball.Paul Sokolovsky2015-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 Sokolovsky2015-05-30
|
* tools/make-frozen.py: Preserve directory hierarchy.Paul Sokolovsky2015-05-30
| | | | | Currently, frozen packages are not supported, but eventually they should be, so make sure to store complete directory hierarchy.
* bootstrap_upip.sh: Allow to install into a path given by argument.Paul Sokolovsky2015-05-29
|
* tools: Allow pyboard constructor to take a baudrate parameter.Dave Hylands2015-05-27
| | | | | This allows pyboard.py to be used over a UART interface rather than just over a USB serial interface.
* tools: Add exec_raw_no_follow to pyboard.py.Dave Hylands2015-05-18
|
* tools: Add script to install "upip" package manager.Paul Sokolovsky2015-05-07
| | | | | | | | upip is a simple and light-weight package manager for MicroPython modules, offering subset of pip functionality. upip is part of micropython-lib project: https://github.com/micropython/micropython-lib/tree/master/upip This script bootstraps upip by downloading and unpacking it directly from PyPI repository, with all other packages to be installed with upip itself.
* tools/pyboard.py: Add "--follow" option to wait for output indefinitely.Damien George2015-05-07
| | | | Also flush stdout so you can see output as it comes.
* tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script.Damien George2015-04-21
|
* tools/pyboard.py: Make it 8-bit clean, so it works with unicode chars.Damien George2015-04-19
| | | | Addresses issue #1190.
* qemu-arm: Disable inline asm tests that use floating point.Damien George2015-04-19
|
* stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only.Damien George2015-02-13
|
* tools: Make gen-changelog.sh sort version strings correctly.Damien George2015-02-13
|
* qemu-arm: Disable try_finally1.py test (it fails randomly on Travis).Damien George2015-01-25
|
* py: Implement very simple frozen modules support.Paul Sokolovsky2015-01-20
| | | | | Only modules (not packages) supported now. Source modules can be converted to frozen module structures using tools/make-frozen.py script.
* qemu-arm: Disable basics/memoryerror.py test.Damien George2015-01-12
|
* qemu-arm: Enable GC and native code-gen; enable more tests.Damien George2015-01-12
|
* qemu-arm: Add 'test' target to Makefile to run and verify test suite.Damien George2015-01-09
| | | | | | | Replaces RUN_TEST=1 definition; now "make test" in qemu-arm directory will run tests/basics/ and check that they all succeed. This patch also enables the test on Travis CI.
* tools: Add script to generate a ChangeLog file.Damien George2014-12-29
| | | | | | We don't have an explicit ChangeLog file, but don't really need one because we use a good version control system. This script is useful if you need a pretty-printed ChangeLog for some reason.
* tools, pyboard.py: Write data to pyboard in chunks of 256 bytes.Damien George2014-12-20
| | | | This speeds up writes significantly.
* tools: Make pyboard.py have infinite timeout when running script.Damien George2014-11-30
| | | | | | | This makes pyboard.py much more useful for long running scripts. When running a script via pyboard.py, it now waits until the script finishes, with no timeout. CTRL-C can be used to break out of the waiting if needed.
* tools: Make gendoc.py able to output RST format.Damien George2014-10-31
|
* stmhal: Improve REPL control codes; improve pyboard.py script.Damien George2014-10-26
| | | | | | | | | | | | | | | | | | | | Improvements are: 2 ctrl-C's are now needed to truly kill running script on pyboard, so make CDC interface allow multiple ctrl-C's through at once (ie sending b'\x03\x03' to pyboard now counts as 2 ctrl-C's). ctrl-C in friendly-repl can now stop multi-line input. In raw-repl mode, use ctrl-D to indicate end of running script, and also end of any error message. Thus, output of raw-repl is always at least 2 ctrl-D's and it's much easier to parse. pyboard.py is now a bit faster, handles exceptions from pyboard better (prints them and exits with exit code 1), prints out the pyboard output while the script is running (instead of waiting till the end), and allows to follow the output of a previous script when run with no arguments.
* tools, pydfu: Some fixes to support Python 3.Damien George2014-10-22
|
* Add pydfu.py to the micropython tree. Use dfu_util bgy defaultDave Hylands2014-10-22
| | | | | | | | You can do: make USE_PYDFU=1 deploy to use pydfu.py
* tools, pyboard.py: Allow exec argument to be bytes or str.Damien George2014-10-19
|
* Enable device keyword option when running pyboard.py --tests and run-tests ↵blmorris2014-10-01
| | | | --pyboard
* tools: Add network build to auto-build script.Damien George2014-09-30
|
* stmhal: Fix bugs in documentation so it compiles.Damien George2014-09-17
|
* pip-micropython: Revert to using PIP_MICROPY_DEST environment var.Paul Sokolovsky2014-08-27
| | | | | | -t/--target is a pip option. Trying to use pip options for different meanings in pip-micropython may lead to big confusion. That's why the original passed any extra parameters using environment variables. "All options belong to pip."
* Add pip-micropython to unix make install.Damien George2014-08-26
| | | | | | | Also add -t/--target option to pip-micropython to allowing installing to the pyboard. Thanks to turbinenreiter/Sebastian Plamauer for the patch.
* tools, gendoc: Output small descr about module TOC.Damien George2014-08-10
|
* tools, gendoc: Put module TOC/index in module/ directory.Damien George2014-08-08
|
* tools, gendoc: Allow constants at module level; gen module index.Damien George2014-08-08
| | | | Addresses some issues from #585.