Paul Sokolovsky
484adac0bb
tools: Update upip to 0.5.4.
...
Recognize and handle "package not found" error.
2015-06-25 15:32:14 +03:00
Damien George
d59ca4efdb
tools/pyboard.py: Change logic for when raw ">" prompt is parsed.
...
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-15 23:28:04 +01:00
Paul Sokolovsky
dd0e24f4b0
pip-micropython: Add deprecation notice, but still leave for reference.
2015-06-13 21:39:57 +03:00
Paul Sokolovsky
098f5ae221
micropython-upip: Mark as binary file and re-commit.
2015-06-06 23:09:23 +03:00
Paul Sokolovsky
1406d9ccde
upip: Upgrade to 0.5.3 to follow uctypes.struct() signature change.
2015-06-06 23:03:28 +03:00
Paul Sokolovsky
f8a39e3bb1
tools/make-frozen.py: Handle trailing slash in argument more reliably.
2015-06-03 19:28:31 +03:00
Damien George
0e6c89a5c8
tools: Add codestats.sh to compute code statistics such as size, speed.
2015-06-03 15:38:43 +00:00
Paul Sokolovsky
0df20da4dd
tools: Add upip 0.5.2 tarball.
...
So unix version, which now includes upip as a frozen module, can be built
without Internet connection.
2015-06-02 01:32:07 +03:00
Paul Sokolovsky
c02dc8b2c9
tools/make-frozen.py: Open files in binary mode.
2015-05-30 00:39:00 +03:00
Paul Sokolovsky
a8e7c03171
tools/make-frozen.py: Preserve directory hierarchy.
...
Currently, frozen packages are not supported, but eventually they should be,
so make sure to store complete directory hierarchy.
2015-05-30 00:23:46 +03:00
Paul Sokolovsky
f5ae384d4f
bootstrap_upip.sh: Allow to install into a path given by argument.
2015-05-29 22:35:45 +03:00
Dave Hylands
669dbca959
tools: Allow pyboard constructor to take a baudrate parameter.
...
This allows pyboard.py to be used over a UART interface
rather than just over a USB serial interface.
2015-05-27 23:01:28 +01:00
Dave Hylands
97ce883217
tools: Add exec_raw_no_follow to pyboard.py.
2015-05-18 11:39:57 +01:00
Paul Sokolovsky
76abb2e623
tools: Add script to install "upip" package manager.
...
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.
2015-05-07 16:00:40 +03:00
Damien George
4865a22f78
tools/pyboard.py: Add "--follow" option to wait for output indefinitely.
...
Also flush stdout so you can see output as it comes.
2015-05-07 10:14:51 +01:00
Damien George
23a2b11abf
tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script.
2015-04-21 13:16:41 +00:00
Damien George
2bb5f41611
tools/pyboard.py: Make it 8-bit clean, so it works with unicode chars.
...
Addresses issue #1190 .
2015-04-19 21:31:28 +01:00
Damien George
d8475092d1
qemu-arm: Disable inline asm tests that use floating point.
2015-04-19 15:50:24 +01:00
Damien George
39ce2db181
stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only.
2015-02-13 14:02:51 +00:00
Damien George
fb2006cc69
tools: Make gen-changelog.sh sort version strings correctly.
2015-02-13 13:31:02 +00:00
Damien George
2f8c409a4f
qemu-arm: Disable try_finally1.py test (it fails randomly on Travis).
2015-01-25 18:48:03 +00:00
Paul Sokolovsky
640e0b221e
py: Implement very simple frozen modules support.
...
Only modules (not packages) supported now. Source modules can be converted
to frozen module structures using tools/make-frozen.py script.
2015-01-20 11:52:12 +02:00
Damien George
b58da9420c
qemu-arm: Disable basics/memoryerror.py test.
2015-01-12 16:32:14 +00:00
Damien George
99dde4ed1f
qemu-arm: Enable GC and native code-gen; enable more tests.
2015-01-12 12:07:42 +00:00
Damien George
85e8e2ed5b
qemu-arm: Add 'test' target to Makefile to run and verify test suite.
...
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.
2015-01-09 00:03:21 +00:00