-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize kernel type to avoid confusion.
- Loading branch information
Showing
57 changed files
with
1,719 additions
and
1,719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
cmake_minimum_required(VERSION 3.20) | ||
|
||
add_library(atos_kernal STATIC) | ||
add_library(atos_kernel STATIC) | ||
|
||
set(KERNAL_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
set(kernel_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
include_directories(${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
target_sources(atos_kernal | ||
target_sources(atos_kernel | ||
PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/build_version.h | ||
) | ||
|
||
include(${CMAKE_CURRENT_LIST_DIR}/include/CMakeLists.txt) | ||
include(${CMAKE_CURRENT_LIST_DIR}/kernal/CMakeLists.txt) | ||
include(${CMAKE_CURRENT_LIST_DIR}/kernel/CMakeLists.txt) | ||
include(${CMAKE_CURRENT_LIST_DIR}/clock/CMakeLists.txt) | ||
include(${CMAKE_CURRENT_LIST_DIR}/port/CMakeLists.txt) | ||
|
||
if(NOT TARGET atos_config) | ||
message(FATAL_ERROR " atos_config target not specified. Please specify a cmake target that defines the include path for atos_configuration.h\n") | ||
endif() | ||
|
||
target_link_libraries(atos_kernal atos_config) | ||
target_link_libraries(atos_kernel atos_config) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
add_library(kernal_include INTERFACE) | ||
add_library(kernel_include INTERFACE) | ||
|
||
include_directories(${KERNAL_PATH}/include) | ||
include_directories(${KERNAL_PATH}/include/kernal) | ||
include_directories(${KERNEL_PATH}/include) | ||
include_directories(${KERNEL_PATH}/include/kernel) | ||
|
||
target_sources(kernal_include | ||
target_sources(kernel_include | ||
PUBLIC | ||
${KERNAL_PATH}/include/arch.h | ||
${KERNEL_PATH}/include/arch.h | ||
|
||
${KERNAL_PATH}/include/kernal/at_rtos.h | ||
${KERNAL_PATH}/include/kernal/compiler.h | ||
${KERNAL_PATH}/include/kernal/configuration.h | ||
${KERNAL_PATH}/include/kernal/event.h | ||
${KERNAL_PATH}/include/kernal/kernal.h | ||
${KERNAL_PATH}/include/kernal/linker.h | ||
${KERNAL_PATH}/include/kernal/list.h | ||
${KERNAL_PATH}/include/kernal/kstruct.h | ||
${KERNAL_PATH}/include/kernal/mutex.h | ||
${KERNAL_PATH}/include/kernal/postcode.h | ||
${KERNAL_PATH}/include/kernal/queue.h | ||
${KERNAL_PATH}/include/kernal/semaphore.h | ||
${KERNAL_PATH}/include/kernal/thread.h | ||
${KERNAL_PATH}/include/kernal/timer.h | ||
${KERNAL_PATH}/include/kernal/trace.h | ||
${KERNAL_PATH}/include/kernal/typedef.h | ||
${KERNAL_PATH}/include/kernal/ktype.h | ||
${KERNAL_PATH}/include/kernal/kthread.h | ||
${KERNAL_PATH}/include/kernal/pool.h | ||
${KERNEL_PATH}/include/kernel/at_rtos.h | ||
${KERNEL_PATH}/include/kernel/compiler.h | ||
${KERNEL_PATH}/include/kernel/configuration.h | ||
${KERNEL_PATH}/include/kernel/event.h | ||
${KERNEL_PATH}/include/kernel/kernel.h | ||
${KERNEL_PATH}/include/kernel/linker.h | ||
${KERNEL_PATH}/include/kernel/list.h | ||
${KERNEL_PATH}/include/kernel/kstruct.h | ||
${KERNEL_PATH}/include/kernel/mutex.h | ||
${KERNEL_PATH}/include/kernel/postcode.h | ||
${KERNEL_PATH}/include/kernel/queue.h | ||
${KERNEL_PATH}/include/kernel/semaphore.h | ||
${KERNEL_PATH}/include/kernel/thread.h | ||
${KERNEL_PATH}/include/kernel/timer.h | ||
${KERNEL_PATH}/include/kernel/trace.h | ||
${KERNEL_PATH}/include/kernel/typedef.h | ||
${KERNEL_PATH}/include/kernel/ktype.h | ||
${KERNEL_PATH}/include/kernel/kthread.h | ||
${KERNEL_PATH}/include/kernel/pool.h | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.