Blame view

RIOT/drivers/Makefile.dep 3.21 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  # driver dependencies (in alphabetical order)
  
  ifneq (,$(filter at30tse75x,$(USEMODULE)))
    USEMODULE += xtimer
    FEATURES_REQUIRED += periph_i2c
  endif
  
  ifneq (,$(filter at86rf2%,$(USEMODULE)))
    USEMODULE += at86rf2xx
    USEMODULE += xtimer
    USEMODULE += netif
    USEMODULE += ieee802154
    USEMODULE += netdev2_ieee802154
    ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
  	# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
  	# as all drivers are ported to netdev2
      USEMODULE += gnrc_netdev2
    endif
  endif
  
  ifneq (,$(filter bh1750fvi,$(USEMODULE)))
    USEMODULE += xtimer
    FEATURES_REQUIRED += periph_i2c
  endif
  
  ifneq (,$(filter bmp180,$(USEMODULE)))
      FEATURES_REQUIRED += periph_i2c
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter cc110x,$(USEMODULE)))
    USEMODULE += ieee802154
    ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
      USEMODULE += gnrc_cc110x
  	# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
  	# as all drivers are ported to netdev2
  	USEMODULE += gnrc_netdev2
    endif
  endif
  
  ifneq (,$(filter cc2420,$(USEMODULE)))
    USEMODULE += xtimer
    USEMODULE += netif
    USEMODULE += ieee802154
    USEMODULE += netdev2_ieee802154
    ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
  	# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
  	# as all drivers are ported to netdev2
      USEMODULE += gnrc_netdev2
    endif
    FEATURES_REQUIRED += periph_gpio
    FEATURES_REQUIRED += periph_spi
  endif
  
  ifneq (,$(filter dht,$(USEMODULE)))
      USEMODULE += xtimer
      FEATURES_REQUIRED += periph_gpio
  endif
  
  ifneq (,$(filter enc28j60,$(USEMODULE)))
    USEMODULE += netdev2_eth
    USEMODULE += xtimer
  endif
  
  ifneq (,$(filter encx24j600,$(USEMODULE)))
    USEMODULE += netdev2_eth
    USEMODULE += xtimer
  endif
  
  ifneq (,$(filter ethos,$(USEMODULE)))
      USEMODULE += netdev2_eth
      USEMODULE += random
      USEMODULE += tsrb
  endif
  
  ifneq (,$(filter hih6130,$(USEMODULE)))
    USEMODULE += xtimer
  endif
  
  ifneq (,$(filter io1_xplained,$(USEMODULE)))
    FEATURES_REQUIRED += periph_gpio
    USEMODULE += at30tse75x
  endif
  
  ifneq (,$(filter kw2xrf,$(USEMODULE)))
    USEMODULE += ieee802154
    USEMODULE += netif
    ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
      USEMODULE += gnrc_nomac
    endif
  endif
  
  ifneq (,$(filter lm75a,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter lpd8808,$(USEMODULE)))
      USEMODULE += color
      FEATURES_REQUIRED += periph_gpio
  endif
  
  ifneq (,$(filter ltc4150,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter mpu9150,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter nvram_spi,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter pcd8544,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter rgbled,$(USEMODULE)))
    USEMODULE += color
  endif
  
  ifneq (,$(filter sht11,$(USEMODULE)))
      USEMODULE += xtimer
  endif
  
  ifneq (,$(filter si70xx,$(USEMODULE)))
      USEMODULE += xtimer
      FEATURES_REQUIRED += periph_i2c
  endif
  
  ifneq (,$(filter srf02,$(USEMODULE)))
    USEMODULE += xtimer
  endif
  
  ifneq (,$(filter srf08,$(USEMODULE)))
    USEMODULE += xtimer
  endif
  
  ifneq (,$(filter w5100,$(USEMODULE)))
    USEMODULE += netdev2_eth
  endif
  
  ifneq (,$(filter xbee,$(USEMODULE)))
    USEMODULE += ieee802154
    USEMODULE += xtimer
    USEMODULE += netif
  endif