1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/ethos
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
..
.gitignore dist/tools/ethos: add .gitignore for ethos 2016-02-17 11:38:53 +01:00
ethos.c dist/tools/ethos: Build escaped packet in buffer before writing to UART 2017-08-18 08:12:44 +02:00
LICENSE dist: add ethos UNIX tool 2016-02-07 19:15:15 +01:00
Makefile dist: ethos: add clean target 2016-04-11 17:03:28 +02:00
README.md netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00
start_network.sh dist/tools: make ethos baudrate configurable 2016-07-14 17:01:02 +02:00

Requirements

  • currently, the host side only compiles on Linux

Usage

To use, add

#
GNRC_NETIF_NUMOF := 2
USEMODULE += ethos gnrc_netdev
CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=115200 -DUSE_ETHOS_FOR_STDIO

to app Makefile, "make clean all flash", then run this tool so follows: # sudo ./ethos