1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
Oleg Hahm
cb85a901f2 pyterm: renamed pyterm.py to pyterm 2014-08-01 17:09:45 +02:00
Oleg Hahm
af24a947f6 pyterm: make Guido happy 2014-08-01 17:09:45 +02:00
Oleg Hahm
73f6a0c518 pyterm: split connect and set_baudrate
Apparently, opening and setting the baudrate at the same time creates
problem for certain platforms (Arduino-Due).
2014-08-01 17:09:45 +02:00
Oleg Hahm
af5291b7d7 pyterm: handle TCP connection errors 2014-08-01 17:09:45 +02:00
Oleg Hahm
8b9c54efae pyterm: make formatting string configurable 2014-08-01 17:09:45 +02:00
Oleg Hahm
a0f43ba736 pyterm: outsource serial connect to a separate function 2014-08-01 17:09:45 +02:00
Oleg Hahm
8c84df391e pyterm: added license 2014-08-01 17:09:45 +02:00
Oleg Hahm
9a09cba325 pyterm: added some documentation 2014-08-01 17:09:45 +02:00
Oleg Hahm
aaccb81794 pyterm: print warning if twisted is not available 2014-08-01 17:09:45 +02:00
Oleg Hahm
a6b276b734 pyterm: ugly hack to make twisted optional 2014-08-01 17:09:44 +02:00
Oleg Hahm
79844660a6 pyterm: enable interoperability with native TCP uart 2014-08-01 17:09:44 +02:00
Oleg Hahm
f76ae40861 pyterm: use the rest of line for alias and trigger
Allows nested aliases and triggers
2014-08-01 17:09:44 +02:00
Oleg Hahm
02f7b610a5 pyterm: increase verbosity for alias command 2014-08-01 17:09:44 +02:00
Oleg Hahm
b1323bf0c3 pyterm: use logger instead of print 2014-08-01 17:09:44 +02:00
Oleg Hahm
431655a3f0 pyterm: introduced trigger actions 2014-08-01 17:09:44 +02:00
Oleg Hahm
cec44e3aed pyterm: fixed usage line for /alias 2014-08-01 17:09:44 +02:00
Oleg Hahm
9a2c1d3c87 pyterm: split up input processing into separate functions 2014-08-01 17:09:44 +02:00
Oleg Hahm
a0796ae6e5 pyterm: always perform input preprocessing 2014-08-01 17:09:44 +02:00
Oleg Hahm
f335cf07c3 pyterm: set default verbosity to info 2014-08-01 17:09:44 +02:00
Oleg Hahm
fbd2c345ce pyterm: cosmetics
* replaced tab with white spaces
* removed trailing white spaces
2014-08-01 17:09:44 +02:00
Oleg Hahm
e661b386a0 pyterm: handle serial disconnect
* will reconnect automatically if possible after a disconnect
* resolves #910
2014-08-01 17:09:44 +02:00
Oleg Hahm
32716fea6c pyterm: enable saving and setting of init commands at runtime 2014-08-01 17:09:44 +02:00
Oleg Hahm
e38fd42fef pyterm: integrated changes from @mehlis' testbed-controller branch 2014-08-01 17:09:44 +02:00
Oleg Hahm
1899fffb4f pyterm: use writeSomeData to send data immediately 2014-08-01 17:09:44 +02:00
Oleg Hahm
534ca4633e pyterm: distinguish between int and string in JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
211dfeca6c pyterm: allow spaces in JSON regex 2014-08-01 17:09:44 +02:00
Oleg Hahm
07e4e4372e pyterm: remove unnecessary debug output 2014-08-01 17:09:44 +02:00
Oleg Hahm
508e8770c7 pyterm: fix program exit procedure, disable SIGINT 2014-08-01 17:09:44 +02:00
Oleg Hahm
cffa4e73d5 pyterm: added twisted based JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
64b1250f3b pyterm: configure baudrate 2014-08-01 17:09:44 +02:00
Oleg Hahm
f816d74824 pyterm: prefix pyterm commands with / 2014-08-01 17:09:44 +02:00
Oleg Hahm
dd469b1f7b pyterm: ignore lines based on regex 2014-08-01 17:09:44 +02:00
Oleg Hahm
fd95200ae4 pyterm: filter for specific output (via regex) 2014-08-01 17:09:43 +02:00
Oleg Hahm
6c31adeaee pyterm: introduce command line arguments 2014-08-01 17:09:43 +02:00
Oleg Hahm
e1f8992642 pyterm: make config file name a variable 2014-08-01 17:09:43 +02:00
Oleg Hahm
5769269cda pyterm: set default serial port to /dev/ttyUSB0 2014-08-01 17:09:43 +02:00
Oleg Hahm
50f9b25a9a pyterm: do a proper cleanup at SIGINT 2014-08-01 17:09:43 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Oleg Hahm
9f0d8d48fd Merge pull request #1515 from cgundogan/remove_tabs_dist
converting tabs to spaces in dist (#1439)
2014-07-31 23:05:35 +02:00
Ludwig Ortmann
5fdce06b3b doc: use lgplv2.1-short license header instead of lgplv2-short-v1 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2 doc: use lgplv2.1-short license header instead of lgplv2-short-v2 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
c40b281873 doc: use lgplv2.1-short license header instead of lgplv2-short-v3 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
2b0b81b921 converting tabs to spaces in dist (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:48:19 +02:00
Ludwig Ortmann
cee59dae23 lpc2k: unify Paul Stoffregen license headers 2014-07-31 18:58:06 +02:00
Ludwig Ortmann
b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann
be5798d7b6 dist/pyterm: enable unicode decoding
use unicode streamreader on serial interface
fixes #1371
2014-07-14 12:54:18 +02:00
Ludwig Ortmann
fe2d2e06ca tests: add pattern for short lgplv2.1 header
Add the license checker pattern which is advertised in our wiki.
2014-07-09 16:17:50 +02:00
Cenk Gündoğan
0c40ccebc8 pyterm: made python compatible with python2 and python3
In python 3 there is no implicit converion of bytes to str or character.
2014-06-27 16:32:41 +02:00
René Kijewski
2f66319a3a make: OSX: don't fail for empty .a archives
Fixes issue #1333.
2014-06-24 20:29:32 +02:00