Merge pull request #12327 from benpicco/mrf24j40-pseudomodules
drivers/mrf24j40: add pseudomodules for MRF24J40MA/B/C/D/E
This commit is contained in:
commit
6cbb7ad1a0
@ -331,6 +331,15 @@ ifneq (,$(filter mq3,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_adc
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mrf24j40m%,$(USEMODULE)))
|
||||
USEMODULE += mrf24j40
|
||||
|
||||
# all modules but mrf24j40ma have an external PA
|
||||
ifeq (,$(filter mrf24j40ma,$(USEMODULE)))
|
||||
CFLAGS += -DMRF24J40_USE_EXT_PA_LNA
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mrf24j40,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
|
||||
@ -107,6 +107,9 @@ PSEUDOMODULES += cc1100
|
||||
PSEUDOMODULES += cc1100e
|
||||
PSEUDOMODULES += cc1101
|
||||
|
||||
# include variants of mrf24j40 drivers as pseudo modules
|
||||
PSEUDOMODULES += mrf24j40m%
|
||||
|
||||
# include variants of SX127X drivers as pseudo modules
|
||||
PSEUDOMODULES += sx1272
|
||||
PSEUDOMODULES += sx1276
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user