cpu/stm32: remove MPU feature from stm32l052t8

This commit is contained in:
Alexandre Abadie 2020-08-21 15:19:49 +02:00
parent fd71e09b69
commit b4aa2dae3e
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 3 additions and 3 deletions

View File

@ -306,7 +306,6 @@ config CPU_MODEL_STM32L031K6
config CPU_MODEL_STM32L052T8
bool
select CPU_FAM_L0
select HAS_CORTEXM_MPU
select HAS_PERIPH_HWRNG
config CPU_MODEL_STM32L053R8

View File

@ -36,8 +36,9 @@ ifneq (,$(filter $(CPU_FAM),f2 f4 f7 g4 l1 l4))
FEATURES_PROVIDED += cortexm_mpu
endif
# only some stm32f3 and stm32l0 have an MPU
STM32_WITH_MPU += stm32f303re stm32f303vc stm32f303ze stm32l052t8
# only some stm32f3 have an MPU, stm32l052t8 provides an MPU but support is
# broken for cortex-m0+
STM32_WITH_MPU += stm32f303re stm32f303vc stm32f303ze
ifneq (,$(filter $(CPU_MODEL),$(STM32_WITH_MPU)))
FEATURES_PROVIDED += cortexm_mpu
endif