Skip to content

Commit

Permalink
fixup! fixup! fixup! cpu/*: add cortex_mpu to known-to-support CPU fa…
Browse files Browse the repository at this point in the history
…milies
  • Loading branch information
kaspar030 committed Mar 3, 2020
1 parent 41e050c commit 1140f50
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpu/cc26x0/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CPU_ARCH = cortex-m3

FEATURES_PROVIDED += cortexm_mpu

-include $(RIOTCPU)/cc26xx_cc13xx/Makefile.features
1 change: 1 addition & 0 deletions cpu/ezr32wg/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CPU_ARCH = cortex-m4f

FEATURES_PROVIDED += cortexm_mpu
FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_gpio periph_gpio_irq

Expand Down
1 change: 1 addition & 0 deletions cpu/lpc1768/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CPU_ARCH = cortex-m3
# This CPU only implements one CPU_MODEL with the same name
CPU_MODEL = lpc1768

FEATURES_PROVIDED += cortexm_mpu
FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_pm

Expand Down
6 changes: 6 additions & 0 deletions cpu/stm32f3/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ CPU_FAM = stm32f3
FEATURES_PROVIDED += periph_flashpage
FEATURES_PROVIDED += periph_flashpage_raw

# only some stm32f3 have an MPU
STM32F3_WITH_MPU += stm32f303re stm32f303vc stm32f303ze
ifneq (, $(filter $(CPU_MODEL), $(STM32F3_WITH_MPU)))
FEATURES_PROVIDED += cortexm_mpu
endif

-include $(RIOTCPU)/stm32_common/Makefile.features
1 change: 1 addition & 0 deletions cpu/stm32f7/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CPU_ARCH = cortex-m7
CPU_FAM = stm32f7

FEATURES_PROVIDED += cortexm_mpu
FEATURES_PROVIDED += periph_hwrng
-include $(RIOTCPU)/stm32_common/Makefile.features
6 changes: 6 additions & 0 deletions cpu/stm32l0/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ FEATURES_PROVIDED += periph_hwrng

BOARDS_WITHOUT_HWRNG += nucleo-l031k6

# only some stm32f3 have an MPU
STM32L0_WITH_MPU += stm32l052t8
ifneq (, $(filter $(CPU_MODEL), $(STM32L0_WITH_MPU)))
FEATURES_PROVIDED += cortexm_mpu
endif

-include $(RIOTCPU)/stm32_common/Makefile.features

0 comments on commit 1140f50

Please sign in to comment.