portability: move cmsis api headers
Move cmsis OS api headers under include/portability. Those are not libraries and only serve to provide a level of abstraction using the CMSIS OS APIs to existing Zephyr interfaces. Removed one level and put them directly under include/portability. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a15f32f58c
commit
3b3e858c50
11 changed files with 10 additions and 10 deletions
|
@ -795,8 +795,8 @@ RECURSIVE = YES
|
|||
# Note that relative paths are relative to the directory from which doxygen is
|
||||
# run.
|
||||
|
||||
EXCLUDE = @ZEPHYR_BASE@/include/cmsis_rtos_v1/cmsis_os.h \
|
||||
@ZEPHYR_BASE@/include/cmsis_rtos_v2/cmsis_os2.h \
|
||||
EXCLUDE = @ZEPHYR_BASE@/include/portability/cmsis_os.h \
|
||||
@ZEPHYR_BASE@/include/portability/cmsis_os2.h \
|
||||
|
||||
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
|
||||
# directories that are symbolic links (a Unix file system feature) are excluded
|
||||
|
|
|
@ -14,5 +14,5 @@ if(DEFINED FORKS)
|
|||
zephyr_compile_definitions(FORKS=${FORKS})
|
||||
endif()
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v1)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_sources(app PRIVATE src/main.c)
|
||||
|
|
|
@ -4,5 +4,5 @@ cmake_minimum_required(VERSION 3.13.1)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_rtos_v1_synchronization)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v1)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_sources(app PRIVATE src/main.c)
|
||||
|
|
|
@ -14,5 +14,5 @@ if(DEFINED FORKS)
|
|||
zephyr_compile_definitions(FORKS=${FORKS})
|
||||
endif()
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v2)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_sources(app PRIVATE src/main.c)
|
||||
|
|
|
@ -4,5 +4,5 @@ cmake_minimum_required(VERSION 3.13.1)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_synchronization)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v2)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_sources(app PRIVATE src/main.c)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
add_library(CMSIS INTERFACE)
|
||||
|
||||
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/cmsis_rtos_v1)
|
||||
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/portability)
|
||||
|
||||
zephyr_library()
|
||||
zephyr_library_sources_ifdef(
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
add_library(CMSIS INTERFACE)
|
||||
|
||||
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/cmsis_rtos_v2)
|
||||
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/portability)
|
||||
|
||||
zephyr_library()
|
||||
zephyr_library_sources_ifdef(
|
||||
|
|
|
@ -4,6 +4,6 @@ cmake_minimum_required(VERSION 3.13.1)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_rtos_v1)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v1)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
|
|
@ -4,6 +4,6 @@ cmake_minimum_required(VERSION 3.13.1)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_rtos_v2)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/cmsis_rtos_v2)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue