1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +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
ethos.c dist: ethos: add tcp socket support 2016-07-28 21:28:21 +02:00
LICENSE
Makefile
README.md
start_network.sh

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