examples/gnrc_border_router: add commented lines for SLIP
This commit is contained in:
parent
0cc15955f6
commit
4880ea3cc6
@ -29,6 +29,25 @@ CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ET
|
|||||||
FEATURES_REQUIRED += periph_uart
|
FEATURES_REQUIRED += periph_uart
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# SLIP legacy compatibility
|
||||||
|
# Uncomment the lines below if you want to use SLIP with this example and don't
|
||||||
|
# forget to comment the lines above for ethos.
|
||||||
|
#ifeq (,$(SLIP_UART))
|
||||||
|
# set default (last available UART)
|
||||||
|
#SLIP_UART="UART_DEV(UART_NUMOF-1)"
|
||||||
|
#endif
|
||||||
|
#ifeq (,$(SLIP_BAUDRATE))
|
||||||
|
# set default
|
||||||
|
#SLIP_BAUDRATE=115200
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#GNRC_NETIF_NUMOF := 2
|
||||||
|
#INCLUDES += -I$(CURDIR)
|
||||||
|
#CFLAGS += -DSLIP_UART=$(SLIP_UART)
|
||||||
|
#CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE)
|
||||||
|
# Include SLIP package for IP over Serial communication
|
||||||
|
#USEMODULE += gnrc_slip
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
USEMODULE += gnrc_netdev_default
|
USEMODULE += gnrc_netdev_default
|
||||||
|
|||||||
@ -181,7 +181,7 @@ example on any RIOT supported platform that offers either more than one UART or
|
|||||||
be equipped with an IPv6 capable network device. In this case only the Makefile
|
be equipped with an IPv6 capable network device. In this case only the Makefile
|
||||||
of this application has to be slightly modified, e.g. by replacing the line
|
of this application has to be slightly modified, e.g. by replacing the line
|
||||||
```
|
```
|
||||||
USEMODULE += gnrc_slip
|
USEMODULE += ethos gnrc_netdev
|
||||||
```
|
```
|
||||||
with something like
|
with something like
|
||||||
```
|
```
|
||||||
@ -217,7 +217,7 @@ USEMODULE += gnrc_slip
|
|||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
In order to connect a RIOT 6LoWPAN border router over SLIP you run a small
|
In order to connect a RIOT 6LoWPAN border router over SLIP you run a small
|
||||||
program called tunslip (imported from Contiki) [2] on the Linux host. The
|
program called tunslip6 (imported from Contiki) [2] on the Linux host. The
|
||||||
program can be found in the `dist/tools/tunslip` folder and has to be compiled
|
program can be found in the `dist/tools/tunslip` folder and has to be compiled
|
||||||
before first use (simple calling `make` should be enough). Now, one can start
|
before first use (simple calling `make` should be enough). Now, one can start
|
||||||
the program by calling something like:
|
the program by calling something like:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user