Blame view

RIOT/tests/slip/Makefile 823 Bytes
fb11e647   vrobic   reseau statique a...
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
  APPLICATION = driver_slip
  include ../Makefile.tests_common
  
  BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f334 stm32f0discovery weio \
                            nucleo-f030
  
  USEMODULE += auto_init_gnrc_netif
  USEMODULE += gnrc
  USEMODULE += gnrc_pktdump
  USEMODULE += gnrc_slip
  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