mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Koen Zandberg
6fa2b44c01
The MPU on the cortex-m23 has some differences with the MPU on the older cortex-m devices. It is not implemented in the cortex-m MPU driver. This removes the available feature as it gives a false sense of security by advertising the feature, but implementing it with noop's
17 lines
369 B
Makefile
17 lines
369 B
Makefile
CPU_CORE = cortex-m23
|
|
|
|
ifneq (,$(filter saml10%,$(CPU_MODEL)))
|
|
CPU_FAM = saml10
|
|
else ifneq (,$(filter saml11%,$(CPU_MODEL)))
|
|
CPU_FAM = saml11
|
|
else
|
|
$(error Unknown saml1x CPU Model: $(CPU_MODEL))
|
|
endif
|
|
|
|
# TODO: The cortex-m23 MPU is not ported
|
|
# FEATURES_PROVIDED += cortexm_mpu
|
|
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
|
|
include $(RIOTCPU)/sam0_common/Makefile.features
|