Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
ce9808d8
Commit
ce9808d8
authored
7 years ago
by
Hauke Petersen
Browse files
Options
Downloads
Patches
Plain Diff
drivers: restore alphabetical order in Makefile.dep
parent
38ee38e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/Makefile.dep
+57
-64
57 additions, 64 deletions
drivers/Makefile.dep
with
57 additions
and
64 deletions
drivers/Makefile.dep
+
57
−
64
View file @
ce9808d8
# driver dependencies (in alphabetical order)
# driver dependencies (in alphabetical order)
ifneq
(,$(filter adc%1c,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_i2c
USEMODULE
+=
adcxx1c
endif
ifneq
(,$(filter adxl345,$(USEMODULE)))
ifneq
(,$(filter adxl345,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
endif
endif
...
@@ -24,16 +30,6 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
...
@@ -24,16 +30,6 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_spi
FEATURES_REQUIRED
+=
periph_spi
endif
endif
ifneq
(,$(filter mrf24j40,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
luid
USEMODULE
+=
netif
USEMODULE
+=
ieee802154
USEMODULE
+=
netdev_ieee802154
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_spi
endif
ifneq
(,$(filter bh1750fvi,$(USEMODULE)))
ifneq
(,$(filter bh1750fvi,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
...
@@ -85,6 +81,10 @@ ifneq (,$(filter dsp0401,$(USEMODULE)))
...
@@ -85,6 +81,10 @@ ifneq (,$(filter dsp0401,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_pwm
FEATURES_REQUIRED
+=
periph_pwm
endif
endif
ifneq
(,$(filter dynamixel,$(USEMODULE)))
USEMODULE
+=
uart_half_duplex
endif
ifneq
(,$(filter enc28j60,$(USEMODULE)))
ifneq
(,$(filter enc28j60,$(USEMODULE)))
USEMODULE
+=
netdev_eth
USEMODULE
+=
netdev_eth
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
...
@@ -96,16 +96,25 @@ ifneq (,$(filter encx24j600,$(USEMODULE)))
...
@@ -96,16 +96,25 @@ ifneq (,$(filter encx24j600,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
endif
endif
ifneq
(,$(filter tmp006,$(USEMODULE)))
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter ethos,$(USEMODULE)))
ifneq
(,$(filter ethos,$(USEMODULE)))
USEMODULE
+=
netdev_eth
USEMODULE
+=
netdev_eth
USEMODULE
+=
random
USEMODULE
+=
random
USEMODULE
+=
tsrb
USEMODULE
+=
tsrb
endif
endif
ifneq
(,$(filter feetech,$(USEMODULE)))
USEMODULE
+=
uart_half_duplex
endif
ifneq
(,$(filter grove_ledbar,$(USEMODULE)))
USEMODULE
+=
my9221
endif
ifneq
(,$(filter hd44780,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter hdc1000,$(USEMODULE)))
ifneq
(,$(filter hdc1000,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
...
@@ -136,11 +145,6 @@ ifneq (,$(filter kw2xrf,$(USEMODULE)))
...
@@ -136,11 +145,6 @@ ifneq (,$(filter kw2xrf,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_spi
FEATURES_REQUIRED
+=
periph_spi
endif
endif
ifneq
(,$(filter hd44780,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter l3g4200d,$(USEMODULE)))
ifneq
(,$(filter l3g4200d,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
endif
endif
...
@@ -159,16 +163,17 @@ ifneq (,$(filter lpd8808,$(USEMODULE)))
...
@@ -159,16 +163,17 @@ ifneq (,$(filter lpd8808,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_gpio
endif
endif
ifneq
(,$(filter
mag3110
,$(USEMODULE)))
ifneq
(,$(filter
lsm6dsl
,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
USEMODULE
+=
xtimer
endif
endif
ifneq
(,$(filter m
ma8x5x
,$(USEMODULE)))
ifneq
(,$(filter m
ag3110
,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
endif
endif
ifneq
(,$(filter m
y9221
,$(USEMODULE)))
ifneq
(,$(filter m
ma8x5x
,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_
gpio
FEATURES_REQUIRED
+=
periph_
i2c
endif
endif
ifneq
(,$(filter mpl3115a2,$(USEMODULE)))
ifneq
(,$(filter mpl3115a2,$(USEMODULE)))
...
@@ -180,13 +185,24 @@ ifneq (,$(filter mpu9150,$(USEMODULE)))
...
@@ -180,13 +185,24 @@ ifneq (,$(filter mpu9150,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
endif
endif
ifneq
(,$(filter mrf24j40,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
luid
USEMODULE
+=
netif
USEMODULE
+=
ieee802154
USEMODULE
+=
netdev_ieee802154
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_spi
endif
ifneq
(,$(filter mtd_sdcard,$(USEMODULE)))
ifneq
(,$(filter mtd_sdcard,$(USEMODULE)))
USEMODULE
+=
mtd
USEMODULE
+=
mtd
USEMODULE
+=
sdcard_spi
USEMODULE
+=
sdcard_spi
endif
endif
ifneq
(,$(filter grove_ledbar,$(USEMODULE)))
ifneq
(,$(filter mtd_spi_nor,$(USEMODULE)))
USEMODULE
+=
my9221
USEMODULE
+=
mtd
FEATURES_REQUIRED
+=
periph_spi
endif
endif
ifneq
(,$(filter my9221,$(USEMODULE)))
ifneq
(,$(filter my9221,$(USEMODULE)))
...
@@ -219,11 +235,6 @@ ifneq (,$(filter sdcard_spi,$(USEMODULE)))
...
@@ -219,11 +235,6 @@ ifneq (,$(filter sdcard_spi,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
endif
endif
ifneq
(,$(filter soft_spi,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter sht11,$(USEMODULE)))
ifneq
(,$(filter sht11,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
endif
endif
...
@@ -234,6 +245,15 @@ ifneq (,$(filter si70%,$(USEMODULE)))
...
@@ -234,6 +245,15 @@ ifneq (,$(filter si70%,$(USEMODULE)))
USEMODULE
+=
si70xx
USEMODULE
+=
si70xx
endif
endif
ifneq
(,$(filter slipdev,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_uart
endif
ifneq
(,$(filter soft_spi,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter srf02,$(USEMODULE)))
ifneq
(,$(filter srf02,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
endif
endif
...
@@ -255,6 +275,13 @@ endif
...
@@ -255,6 +275,13 @@ endif
ifneq
(,$(filter tmp006,$(USEMODULE)))
ifneq
(,$(filter tmp006,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
FEATURES_REQUIRED
+=
periph_i2c
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter uart_half_duplex,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_uart
USEMODULE
+=
xtimer
endif
endif
ifneq
(,$(filter veml6070,$(USEMODULE)))
ifneq
(,$(filter veml6070,$(USEMODULE)))
...
@@ -272,37 +299,3 @@ ifneq (,$(filter xbee,$(USEMODULE)))
...
@@ -272,37 +299,3 @@ ifneq (,$(filter xbee,$(USEMODULE)))
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
USEMODULE
+=
netif
USEMODULE
+=
netif
endif
endif
ifneq
(,$(filter uart_half_duplex,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_uart
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter feetech,$(USEMODULE)))
USEMODULE
+=
uart_half_duplex
endif
ifneq
(,$(filter dynamixel,$(USEMODULE)))
USEMODULE
+=
uart_half_duplex
endif
ifneq
(,$(filter mtd_spi_nor,$(USEMODULE)))
USEMODULE
+=
mtd
FEATURES_REQUIRED
+=
periph_spi
endif
ifneq
(,$(filter lsm6dsl,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_i2c
USEMODULE
+=
xtimer
endif
ifneq
(,$(filter slipdev,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_uart
endif
ifneq
(,$(filter adc%1c,$(USEMODULE)))
FEATURES_REQUIRED
+=
periph_gpio
FEATURES_REQUIRED
+=
periph_i2c
USEMODULE
+=
adcxx1c
endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment