Blame view

RIOT/tests/driver_xbee/Makefile 771 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_xbee
  include ../Makefile.tests_common
  
  FEATURES_REQUIRED = periph_uart periph_gpio
  
  BOARD_INSUFFICIENT_MEMORY := nucleo-f030 nucleo-f334 stm32f0discovery weio
  
  USEMODULE += xbee
  USEMODULE += gnrc_netif
  USEMODULE += auto_init_gnrc_netif
  USEMODULE += gnrc_nomac
  USEMODULE += gnrc_pktdump
  USEMODULE += shell
  USEMODULE += shell_commands
  
  # set default UART to use in case none was defined
  XBEE_UART ?= "UART_NUMOF-1"
  
  # export UART to params file
  CFLAGS += -DXBEE_UART=$(XBEE_UART)
  
  # add current directory to the include path. Putting it in CFLAGS will make
  # it go to the beginning, before the standard includes.
  # That way xbee_params.h get's included and auto configuration can pick it up.
  CFLAGS += -I$(CURDIR)
  
  include $(RIOTBASE)/Makefile.include