2015-03-24 18:01:40 +01:00
|
|
|
APPLICATION = driver_slip
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2015-09-01 18:35:19 +02:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery nucleo-f334
|
2015-03-24 18:01:40 +01:00
|
|
|
|
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
|
|
|
|
USEMODULE += gnrc_slip
|
2015-03-24 18:01:40 +01:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
|
2015-06-01 16:41:03 +02:00
|
|
|
CFLAGS += -I$(CURDIR)
|
|
|
|
|
2015-03-24 18:01:40 +01:00
|
|
|
ifneq (,$(SLIP_UART))
|
|
|
|
CFLAGS += -DSLIP_UART=$(SLIP_UART)
|
|
|
|
else
|
|
|
|
# set default
|
2015-06-01 16:41:03 +02:00
|
|
|
CFLAGS += -DSLIP_UART="(UART_NUMOF-1)"
|
2015-03-24 18:01:40 +01:00
|
|
|
endif
|
|
|
|
ifneq (,$(SLIP_BAUDRATE))
|
|
|
|
CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE)
|
|
|
|
else
|
|
|
|
# set default
|
|
|
|
CFLAGS += -DSLIP_BAUDRATE=115200
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|