mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a52c781339
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. |
||
---|---|---|
.. | ||
.gitignore | ||
ethos.c | ||
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