1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/ethos
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
..
.gitignore dist/tools/ethos: add .gitignore for ethos 2016-02-17 11:38:53 +01:00
ethos.c dist: ethos: add tcp socket support 2016-07-28 21:28:21 +02:00
LICENSE
Makefile dist: ethos: add clean target 2016-04-11 17:03:28 +02:00
README.md
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_netdev2
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