1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

cpu/cortexm_common: use cmsis package instead of internal vendor headers

This commit is contained in:
Alexandre Abadie 2022-05-04 20:43:35 +02:00
parent 205fa0948e
commit 2e59f8e9b6
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ config MODULE_CORTEXM_COMMON
imply MODULE_NEWLIB_NANO
select MODULE_PERIPH
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
select PACKAGE_CMSIS if TEST_KCONFIG
help
Common code for Cortex-M cores.

View File

@ -26,3 +26,6 @@ endif
# Make calls to malloc and friends thread-safe
USEMODULE += malloc_thread_safe
# CMSIS headers are fetched using a package
USEPKG += cmsis

View File

@ -1,6 +1,5 @@
# include module specific includes
INCLUDES += -I$(RIOTCPU)/cortexm_common/include
INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor
# All variables must be defined in the CPU configuration when using the common
# `ldscripts/cortexm.ld`