2015-03-24 18:01:40 +01:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2015-08-26 07:21:20 +02:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
2015-08-10 02:41:08 +02:00
|
|
|
USEMODULE += gnrc
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_pktdump
|
2017-07-18 14:39:03 +02:00
|
|
|
USEMODULE += gnrc_txtsnd
|
|
|
|
USEMODULE += slipdev
|
2015-03-24 18:01:40 +01:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# set slip parameters to default values if unset
|
|
|
|
SLIP_UART ?= "UART_NUMOF-1"
|
|
|
|
SLIP_BAUDRATE ?= 115200
|
|
|
|
|
|
|
|
# export slip parameters
|
2022-02-14 11:30:17 +01:00
|
|
|
CFLAGS += -DSLIPDEV_PARAM_UART="UART_DEV($(SLIP_UART))"
|
|
|
|
CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE)
|
2015-06-01 16:41:03 +02:00
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# add current directory to the include path. Putting it in CFLAGS will make
|
|
|
|
# it go to the beginning, before the standard includes.
|
|
|
|
# That way slip_params.h get's included and auto configuration can pick it up.
|
|
|
|
CFLAGS += -I$(CURDIR)
|
2015-03-24 18:01:40 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|