Blame view

RIOT/tests/slip/Makefile 985 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  APPLICATION = driver_slip
  include ../Makefile.tests_common
  
  BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo32-f031 nucleo32-f042 \
                               nucleo32-l031 nucleo-f030 nucleo-f334 nucleo-l053 \
                               stm32f0discovery
  
  BOARD_BLACKLIST += mips-malta
  
  USEMODULE += auto_init_gnrc_netif
  USEMODULE += gnrc
  USEMODULE += gnrc_pktdump
  USEMODULE += gnrc_netdev
  USEMODULE += gnrc_txtsnd
  USEMODULE += slipdev
  USEMODULE += shell
  USEMODULE += shell_commands
  
  # set slip parameters to default values if unset
  SLIP_UART     ?= "UART_NUMOF-1"
  SLIP_BAUDRATE ?= 115200
  
  # export slip parameters
  CFLAGS += -DSLIP_UART="UART_DEV($(SLIP_UART))"
  CFLAGS += -DSLIP_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