2018-06-05 11:33:12 +08:00
|
|
|
|
|
|
|
add_library(CMSIS INTERFACE)
|
|
|
|
|
|
|
|
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/cmsis_rtos_v1)
|
|
|
|
|
|
|
|
zephyr_library()
|
2018-06-19 14:20:38 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_CMSIS_RTOS_V1
|
|
|
|
cmsis_thread.c
|
|
|
|
cmsis_wait.c
|
2018-06-19 14:39:59 +08:00
|
|
|
cmsis_kernel.c
|
2018-06-19 14:20:38 +08:00
|
|
|
)
|
2018-06-05 11:33:12 +08:00
|
|
|
|
|
|
|
zephyr_library_link_libraries(CMSIS)
|
|
|
|
target_link_libraries(CMSIS INTERFACE zephyr_interface)
|