mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu: cortexm: provide periph_pm for all cortexm
This commit is contained in:
parent
6be2fb1f25
commit
3ec8126c84
@ -1,5 +1,4 @@
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
@ -1,4 +1,3 @@
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
@ -1 +1,2 @@
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += cpp
|
||||
|
@ -2,6 +2,4 @@
|
||||
INCLUDES += -I$(RIOTCPU)/cortexm_common/include
|
||||
INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor
|
||||
|
||||
USEMODULE += cortexm_common_periph
|
||||
|
||||
export IMAGE_HDR_SIZE ?= 512
|
||||
|
@ -1,2 +1,2 @@
|
||||
MODULE = cortexm_common_periph
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
include $(RIOTBASE)/makefiles/periph.mk
|
||||
|
@ -1,5 +1,4 @@
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
@ -1,6 +1,5 @@
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_flashpage
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
@ -1,3 +1 @@
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/sam0_common/Makefile.features
|
||||
|
@ -1,3 +1 @@
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/sam0_common/Makefile.features
|
||||
|
@ -1,4 +1,3 @@
|
||||
FEATURES_PROVIDED += periph_flashpage
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/stm32_common/Makefile.features
|
||||
|
@ -1,4 +1,3 @@
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
-include $(RIOTCPU)/stm32_common/Makefile.features
|
||||
|
@ -1,5 +1,4 @@
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
|
||||
# the granularity of provided feature definition for STMs is currently by CPU
|
||||
# sub-family (e.g., stm32f[1234]). Unfortunately, only some of e.g., the
|
||||
|
@ -31,6 +31,8 @@ export USEMODULE += cortexm_common
|
||||
export USEMODULE += periph
|
||||
# include common periph code
|
||||
export USEMODULE += periph_common
|
||||
export USEMODULE += cortexm_common_periph
|
||||
|
||||
# all cortex MCU's use newlib as libc
|
||||
export USEMODULE += newlib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user