mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
29 lines
577 B
Makefile
29 lines
577 B
Makefile
APPLICATION = driver_slip
|
|
include ../Makefile.tests_common
|
|
|
|
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery
|
|
|
|
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
|