Blame view

RIOT/tests/lwip/Makefile 1.26 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  APPLICATION = lwip
  
  BOARD ?= iotlab-m3
  
  RIOTBASE ?= $(CURDIR)/../..
  
  BOARD_BLACKLIST := arduino-mega2560 msb-430h telosb waspmote-pro z1 arduino-uno \
                     arduino-duemilanove
  BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-mega2560 msb-430h nrf6310 \
                               nucleo-f334 pca10005 stm32f0discovery telosb \
                               weio yunjia-nrf51822 z1 nucleo-f030
  
  # including lwip_ipv6_mld would currently break this test on at86rf2xx radios
  USEMODULE += lwip lwip_ipv6_autoconfig lwip_conn_ip lwip_netdev2
  USEMODULE += lwip_udp lwip_conn_udp
  USEMODULE += ipv6_addr
  USEMODULE += shell
  USEMODULE += shell_commands
  USEMODULE += ps
  USEMODULE += od
  
  # use the at86rf231 as fallback device
  DRIVER := at86rf231
  
  # define the driver to be used for selected boards
  ifneq (,$(filter samr21-xpro,$(BOARD)))
    DRIVER := at86rf233
  endif
  ifneq (,$(filter iotlab-m3 fox,$(BOARD)))
    DRIVER := at86rf231
  endif
  ifneq (,$(filter mulle,$(BOARD)))
    DRIVER := at86rf212b
  endif
  ifneq (,$(filter native,$(BOARD)))
    DRIVER := netdev2_tap
    USEMODULE += lwip_ethernet
  endif
  
  ifneq (,$(filter at86rf2%,$(DRIVER)))
    FEATURES_REQUIRED = periph_spi periph_gpio
  endif
  
  USEMODULE += $(DRIVER)
  
  QUIET ?= 1
  
  include $(RIOTBASE)/Makefile.include
  
  test:
  	./tests/01-run.py