portability: move cmsis APIs to subsys/portability
Move cmsis OS apis under subsystem/portability. Those are not libraries and only serve to provide a level of abstraction using the CMSIS OS APIs to existing Zephyr interfaces. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
077447a52b
commit
a15f32f58c
|
@ -4,8 +4,6 @@ if(NOT CONFIG_EXTERNAL_LIBC)
|
|||
add_subdirectory(libc)
|
||||
add_subdirectory(posix)
|
||||
endif()
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V1 cmsis_rtos_v1)
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V2 cmsis_rtos_v2)
|
||||
add_subdirectory(gui)
|
||||
add_subdirectory(os)
|
||||
add_subdirectory(util)
|
||||
|
|
|
@ -5,10 +5,6 @@ source "lib/libc/Kconfig"
|
|||
|
||||
menu "Additional libraries"
|
||||
|
||||
source "lib/cmsis_rtos_v1/Kconfig"
|
||||
|
||||
source "lib/cmsis_rtos_v2/Kconfig"
|
||||
|
||||
source "lib/gui/Kconfig"
|
||||
|
||||
source "lib/os/Kconfig"
|
||||
|
|
|
@ -19,6 +19,7 @@ add_subdirectory(random)
|
|||
add_subdirectory(storage)
|
||||
add_subdirectory_ifdef(CONFIG_SETTINGS settings)
|
||||
add_subdirectory(fb)
|
||||
add_subdirectory(portability)
|
||||
add_subdirectory(power)
|
||||
add_subdirectory(stats)
|
||||
add_subdirectory(task_wdt)
|
||||
|
|
|
@ -38,6 +38,8 @@ source "subsys/modbus/Kconfig"
|
|||
|
||||
source "subsys/net/Kconfig"
|
||||
|
||||
source "subsys/portability/Kconfig"
|
||||
|
||||
source "subsys/power/Kconfig"
|
||||
|
||||
source "subsys/shell/Kconfig"
|
||||
|
|
4
subsys/portability/CMakeLists.txt
Normal file
4
subsys/portability/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V1 cmsis_rtos_v1)
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V2 cmsis_rtos_v2)
|
10
subsys/portability/Kconfig
Normal file
10
subsys/portability/Kconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2021 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menu "Portability"
|
||||
|
||||
source "subsys/portability/cmsis_rtos_v1/Kconfig"
|
||||
|
||||
source "subsys/portability/cmsis_rtos_v2/Kconfig"
|
||||
|
||||
endmenu
|
Loading…
Reference in a new issue