diff --git a/CMSIS/CMakeLists.txt b/CMSIS/CMakeLists.txt new file mode 100644 index 000000000..b0d72454a --- /dev/null +++ b/CMSIS/CMakeLists.txt @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + +add_subdirectory(Core) diff --git a/CMSIS/Core/CMakeLists.txt b/CMSIS/Core/CMakeLists.txt new file mode 100644 index 000000000..08d3c9934 --- /dev/null +++ b/CMSIS/Core/CMakeLists.txt @@ -0,0 +1,11 @@ +# 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) diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..928093133 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(CMSIS) diff --git a/zephyr/module.yml b/zephyr/module.yml new file mode 100644 index 000000000..c6f8a4e6b --- /dev/null +++ b/zephyr/module.yml @@ -0,0 +1,3 @@ +build: + cmake-ext: true + kconfig-ext: true