mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
cpu/cortexm_common: use cmsis package instead of internal vendor headers
This commit is contained in:
parent
205fa0948e
commit
2e59f8e9b6
@ -11,6 +11,7 @@ config MODULE_CORTEXM_COMMON
|
|||||||
imply MODULE_NEWLIB_NANO
|
imply MODULE_NEWLIB_NANO
|
||||||
select MODULE_PERIPH
|
select MODULE_PERIPH
|
||||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||||
|
select PACKAGE_CMSIS if TEST_KCONFIG
|
||||||
help
|
help
|
||||||
Common code for Cortex-M cores.
|
Common code for Cortex-M cores.
|
||||||
|
|
||||||
|
|||||||
@ -26,3 +26,6 @@ endif
|
|||||||
|
|
||||||
# Make calls to malloc and friends thread-safe
|
# Make calls to malloc and friends thread-safe
|
||||||
USEMODULE += malloc_thread_safe
|
USEMODULE += malloc_thread_safe
|
||||||
|
|
||||||
|
# CMSIS headers are fetched using a package
|
||||||
|
USEPKG += cmsis
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
# include module specific includes
|
# include module specific includes
|
||||||
INCLUDES += -I$(RIOTCPU)/cortexm_common/include
|
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
|
# All variables must be defined in the CPU configuration when using the common
|
||||||
# `ldscripts/cortexm.ld`
|
# `ldscripts/cortexm.ld`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user