summaryrefslogtreecommitdiffstatshomepage
path: root/tools
Commit message (Collapse)AuthorAge
* 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.
* gendoc.py: Support modules w/o functions and/or classes.Paul Sokolovsky2014-06-29
| | | | I.e. don't assume that both are always present.
* tools: Move gendoc.py to tools, and make it a little more generic.Damien George2014-05-10
|
* tools: inline test suite generator.Ilya Dmitrichenko2014-05-08
|
* tools: check-in errordeveloper/tinytest@eb2dbc858f6c3785468a96e98f2b944f10013163Ilya Dmitrichenko2014-05-08
|
* tools: In build-stm-latest, replace git hash with git tag.Damien George2014-05-04
|
* tools: pyboard.py now acts as a command-line program to run scripts.Damien George2014-05-03
| | | | | | | | You can run a local script on the pyboard using: python pyboard.py test.py where test.py is the local script you want to run.
* stmhal: Change names: flash to firmware, flashboard to deploy.Damien George2014-05-03
| | | | | | Since firmware lives in a build directory which already specifies the board name, no real reason to also have the firmware have the board name.
* Merge pull request #543 from lurch/patch-4Damien George2014-05-03
|\ | | | | Make pyboard.enter_raw_repl more robust
| * Make pyboard.enter_raw_repl more robustAndrew Scheller2014-05-01
| | | | | | In case there's a program in the microcontroller's main.py running in an infinite loop
* | Merge pull request #547 from cjbarnes18/pyboard_module_fixesDamien George2014-05-03
|\ \ | | | | | | Fix pyboard.py tests.
| * | Fix pyboard.py tests.Craig Barnes2014-05-02
| |/
* / Add shell script to automatically build stmhal/ for all pyboards.Damien George2014-05-02
|/
* tools: Update pyboard.py to work with latest changes to RTC.Damien George2014-04-21
|
* tools: Fix up pybcdc.inf generation: new lines and hex digits.Damien George2014-04-16
| | | | | | | | | Using Python's file open in 'r' mode opens it for text reading, which converts all new lines to \n. Could use 'rb' binary mode, but then don't have access to the string Template replacement functions. Thus, force the output to have '\\r\\n' ending. Also fix regex to match hex digits.
* Auto-generate the stmhal/pybcdc_inf header file from static filesAndrew Scheller2014-04-16
| | | | | | The USB VID&PID are automatically extracted from usbd_desc_cdc_msc.c and inserted into pybcdc_inf.template, ensuring that the same USB IDs get used everywhere
* pip-micropython: Fix inverted condition.Paul Sokolovsky2014-04-15
|
* pip-micropython: revert $HOME back to ~Andrew Scheller2014-04-14
|
* Merge pull request #480 from lurch/patch-2Damien George2014-04-14
|\ | | | | Make pip-micropython more portable
| * Make pip-micropython more portableAndrew Scheller2014-04-14
| | | | | | | | | | Replace /tmp with a $TMPDIR variable Replace multiple occurrences of /tmp/pip-micropy-venv with a $TMPVENV variable Replace ~ with $HOME
* | tools: Improve timout/reading of pyboard.py.Damien George2014-04-14
|/
* Make pyboard.py have its own exception; update run-tests for pyboard.Damien George2014-04-13
|
* pip-micropython: Apply more workarounds for setuptools, pip, etc misfeatures.Paul Sokolovsky2014-04-12
|
* pip-micropython: Require command verb, but restrict to "install" only.Paul Sokolovsky2014-04-07
| | | | | | So, pip-micropython can/should be run as normal pip: pip-micropython install micropython-unittest
* tools: Improve reading back from pyboard.Damien George2014-04-03
|
* tools: pyboard.py can now execute a file remotely!Damien George2014-04-03
|
* tools: Add pip-micropython to install packages in MicroPython-friendly way.Paul Sokolovsky2014-04-02
|
* Add tools/pyboard.py, a simple module to communicate with the pyboard.Damien George2014-03-24
| | | | | Using pyboard.py you can use Python running on your PC to execute commands on the connected pyboard. See examples in that file.
* Change dfu.py to be Python 2/3 compatiblemux2014-01-03
| | | | | | * Chane dfu.py to use Python 3 syntax to avoid dependency on Python 2. * Update Makefile to call python instead of python2 * Fix #33
* Add tools/dfu.py, and use it in stm/Makefile.Damien2013-12-20