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

29 lines
589 B
Makefile

APPLICATION = driver_slip
include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery nucleo-f334
USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc
USEMODULE += gnrc_pktdump
USEMODULE += gnrc_slip
USEMODULE += shell
USEMODULE += shell_commands
CFLAGS += -I$(CURDIR)
ifneq (,$(SLIP_UART))
CFLAGS += -DSLIP_UART=$(SLIP_UART)
else
# set default
CFLAGS += -DSLIP_UART="(UART_NUMOF-1)"
endif
ifneq (,$(SLIP_BAUDRATE))
CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE)
else
# set default
CFLAGS += -DSLIP_BAUDRATE=115200
endif
include $(RIOTBASE)/Makefile.include