mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #1917 from OlegHahm/config_feature_cleanup
Config feature cleanup
This commit is contained in:
commit
e60d25de02
@ -97,6 +97,8 @@ include $(RIOTBOARD)/$(BOARD)/Makefile.include
|
||||
include $(RIOTCPU)/$(CPU)/Makefile.include
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
ifeq ($(strip $(MCU)),)
|
||||
MCU = $(CPU)
|
||||
endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
include $(RIOTBASE)/Makefile.pseudomodules
|
||||
include $(RIOTBASE)/Makefile.defaultmodules
|
||||
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
USEMODULE := $(filter-out $(filter-out $(FEATURES_PROVIDED), $(FEATURES_OPTIONAL)), $(sort $(USEMODULE)))
|
||||
|
||||
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
||||
ED = $(patsubst %,-DMODULE_%,$(subst -,_,$(USEMODULE) $(USEPKG)))
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED = transceiver periph_rtc
|
||||
FEATURES_PROVIDED += transceiver periph_rtc
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED += transceiver
|
||||
FEATURES_PROVIDED += transceiver config
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED += transceiver periph_pwm periph_rtc cpp
|
||||
FEATURES_PROVIDED += transceiver periph_pwm periph_rtc cpp config
|
||||
|
@ -1,3 +1,3 @@
|
||||
FEATURES_PROVIDED += transceiver periph_cpuid cpp
|
||||
FEATURES_PROVIDED += transceiver periph_cpuid config cpp
|
||||
FEATURES_PROVIDED += periph_random
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED += transceiver
|
||||
FEATURES_PROVIDED += transceiver config
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED += transceiver
|
||||
FEATURES_PROVIDED += transceiver config
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "kernel_types.h"
|
||||
#include "transceiver.h"
|
||||
#include "hwtimer.h"
|
||||
#include "config.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
|
@ -35,8 +35,10 @@ USEMODULE += shell_commands
|
||||
USEMODULE += ps
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += defaulttransceiver
|
||||
USEMODULE += config
|
||||
|
||||
FEATURES_OPTIONAL += transceiver
|
||||
FEATURES_OPTIONAL += config
|
||||
FEATURES_OPTIONAL += periph_rtc
|
||||
|
||||
ifneq (,$(filter msb-430,$(BOARD)))
|
||||
@ -46,12 +48,10 @@ ifneq (,$(filter msba2,$(BOARD)))
|
||||
USEMODULE += sht11
|
||||
USEMODULE += ltc4150
|
||||
USEMODULE += mci
|
||||
USEMODULE += config
|
||||
USEMODULE += random
|
||||
endif
|
||||
ifneq (,$(filter native,$(BOARD)))
|
||||
USEMODULE += ltc4150
|
||||
USEMODULE += config
|
||||
USEMODULE += random
|
||||
endif
|
||||
ifneq (,$(filter iot-lab_M3,$(BOARD)))
|
||||
|
Loading…
Reference in New Issue
Block a user