mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
25 lines
719 B
Makefile
25 lines
719 B
Makefile
include ../Makefile.net_common
|
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
USEMODULE += gnrc
|
|
USEMODULE += gnrc_pktdump
|
|
USEMODULE += gnrc_txtsnd
|
|
USEMODULE += slipdev
|
|
USEMODULE += shell
|
|
USEMODULE += shell_cmds_default
|
|
|
|
# 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)
|
|
|
|
# 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)
|
|
|
|
include $(RIOTBASE)/Makefile.include
|