Commit 6dd50439 authored by Robin Kastberg's avatar Robin Kastberg Committed by Sudan Landge
Browse files

cmsis_6: Integrate with zephyr build system



ARM has deprecated 5.9.0 and we will need to start using CMSIS_6
to get upstream features and continue supporting tf-m.
This commit will integrate it just like CMSIS_5.

Signed-off-by: default avatarRobin Kastberg <robin.kastberg@iar.com>
Signed-off-by: default avatarSudan Landge <sudan.landge@arm.com>
parent 783317a3
Loading
Loading
Loading
Loading

CMSIS/CMakeLists.txt

0 → 100644
+3 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

add_subdirectory_ifdef(CONFIG_HAS_CMSIS_CORE_M Core)
+11 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_include_directories(Include)

# As of CMSIS v5.6.0, __PROGRAM_START is to indicate whether the
# ARM vendor or the OS supplies data/bss init routine, otherwise
# the default data/bss init routine for the selected toolchain is
# added. We set the macro in build-time to guarantee compatibility
# with all existing ARM platforms.

zephyr_compile_definitions(__PROGRAM_START)

CMakeLists.txt

0 → 100644
+1 −0
Original line number Diff line number Diff line
add_subdirectory(CMSIS)

zephyr/module.yml

0 → 100644
+3 −0
Original line number Diff line number Diff line
build:
  cmake-ext: true
  kconfig-ext: true