1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/slip/Makefile
2015-08-25 20:40:52 +02:00

29 lines
572 B
Makefile

APPLICATION = driver_slip
include ../Makefile.tests_common
BOARD_INSUFFICIENT_RAM := stm32f0discovery
USEMODULE += auto_init_ng_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