Joakim Nohlgård
503976c663
dist/tools/ethos: Build escaped packet in buffer before writing to UART
...
Significantly improves throughput and latency on FRDM-KW41Z.
Ping with a packet of size 100 yields a 30 ms roundtrip with this
patch, 177 ms without. Size 1000 ping before: 1160 ms, after: 188 ms
2017-08-18 08:12:44 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Gaëtan Harter
a52c781339
dist: ethos: add tcp socket support
...
Add ethos support to use a tcp socket instead of a TTY.
Use 'tcp:host' as serial argument.
Port can be given in place of the baudrate argument.
Default port is 20000 which is used in on IoT-LAB.
2016-07-28 21:28:21 +02:00
abe5c19407
dist/tools: make ethos baudrate configurable
2016-07-14 17:01:02 +02:00
Martine Lenders
55e89610ce
tools: ethos: allow start_network.sh
script to run from anywhere
2016-04-19 14:34:18 +02:00
Hauke Petersen
78f212c9d8
dist/ethos: fixed compile warnings
...
- checking return values of each write() call
- chack return value of system() call
2016-04-14 17:31:49 +02:00
eea62a79f2
dist: ethos: fix start_network.sh trap (exit on INT QUIT TERM EXIT)
2016-04-11 17:03:28 +02:00
ee37ea9d40
dist: tools: ethos: add start_network.sh
2016-04-11 17:03:28 +02:00
2ec71c9ca0
dist: ethos: add clean target
2016-04-11 17:03:28 +02:00
7d151f250b
dist: ethos: fix usage string
2016-03-31 23:14:23 +02:00
Cenk Gündoğan
c68a38f472
dist/tools/ethos: add .gitignore for ethos
2016-02-17 11:38:53 +01:00
52aec3ad32
dist: add ethos UNIX tool
2016-02-07 19:15:15 +01:00