Damien George
3244123031
tools: pyboard.py now acts as a command-line program to run scripts.
...
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.
2014-05-03 18:14:34 +01:00
Damien George
aad1204b8e
stmhal: Change names: flash to firmware, flashboard to deploy.
...
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.
2014-05-03 17:46:45 +01:00
Damien George
e88814a274
Merge pull request #543 from lurch/patch-4
...
Make pyboard.enter_raw_repl more robust
2014-05-03 13:09:16 +01:00
Damien George
d9f4deef8c
Merge pull request #547 from cjbarnes18/pyboard_module_fixes
...
Fix pyboard.py tests.
2014-05-03 00:11:43 +01:00
Craig Barnes
71a1e35206
Fix pyboard.py tests.
2014-05-02 21:36:07 +01:00
Damien George
ba742ed639
Add shell script to automatically build stmhal/ for all pyboards.
2014-05-02 13:49:44 +00:00
Andrew Scheller
1f740bdaf4
Make pyboard.enter_raw_repl more robust
...
In case there's a program in the microcontroller's main.py running in an infinite loop
2014-05-01 20:42:23 +01:00
Damien George
ca045d97b9
tools: Update pyboard.py to work with latest changes to RTC.
2014-04-21 20:18:37 +01:00
Damien George
ecdf6cdc5b
tools: Fix up pybcdc.inf generation: new lines and hex digits.
...
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.
2014-04-16 11:45:52 +01:00
Andrew Scheller
1452221aca
Auto-generate the stmhal/pybcdc_inf header file from static files
...
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
2014-04-16 02:41:26 +01:00
Paul Sokolovsky
cc8c0882a0
pip-micropython: Fix inverted condition.
2014-04-15 02:32:41 +03:00
Andrew Scheller
6fc40cc3da
pip-micropython: revert $HOME back to ~
2014-04-14 22:26:34 +01:00
Damien George
a7239b2fc2
Merge pull request #480 from lurch/patch-2
...
Make pip-micropython more portable
2014-04-14 21:39:31 +01:00
Andrew Scheller
0aac7ba344
Make pip-micropython more portable
...
Replace /tmp with a $TMPDIR variable
Replace multiple occurrences of /tmp/pip-micropy-venv with a $TMPVENV variable
Replace ~ with $HOME
2014-04-14 12:26:12 +01:00
Damien George
48a9b3fd11
tools: Improve timout/reading of pyboard.py.
2014-04-14 01:47:36 +01:00
Damien George
b636d024d2
Make pyboard.py have its own exception; update run-tests for pyboard.
2014-04-13 13:48:33 +01:00
Paul Sokolovsky
06526e7ccc
pip-micropython: Apply more workarounds for setuptools, pip, etc misfeatures.
2014-04-12 23:33:14 +03:00
Paul Sokolovsky
9f043da5c3
pip-micropython: Require command verb, but restrict to "install" only.
...
So, pip-micropython can/should be run as normal pip:
pip-micropython install micropython-unittest
2014-04-07 02:53:41 +03:00
Damien George
d71fc37af7
tools: Improve reading back from pyboard.
2014-04-03 22:44:37 +01:00
Damien George
0e49642965
tools: pyboard.py can now execute a file remotely!
2014-04-03 22:12:01 +01:00
Paul Sokolovsky
802d505756
tools: Add pip-micropython to install packages in MicroPython-friendly way.
2014-04-02 12:49:07 +03:00
Damien George
41ea651839
Add tools/pyboard.py, a simple module to communicate with the pyboard.
...
Using pyboard.py you can use Python running on your PC to execute
commands on the connected pyboard. See examples in that file.
2014-03-24 12:42:06 +00:00
mux
1a1ba4d555
Change dfu.py to be Python 2/3 compatible
...
* Chane dfu.py to use Python 3 syntax to avoid dependency on Python 2.
* Update Makefile to call python instead of python2
* Fix #33
2014-01-03 08:51:02 +02:00
Damien
f0d0940638
Add tools/dfu.py, and use it in stm/Makefile.
2013-12-20 12:07:50 +00:00