1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/slip/Makefile

25 lines
717 B
Makefile
Raw Normal View History

2015-03-24 18:01:40 +01:00
include ../Makefile.tests_common
USEMODULE += auto_init_gnrc_netif
2015-08-10 02:41:08 +02:00
USEMODULE += gnrc
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
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