diff --git a/ports/rxv1/ccrx/CMakeLists.txt b/ports/rxv1/ccrx/CMakeLists.txt new file mode 100644 index 00000000..fabadffe --- /dev/null +++ b/ports/rxv1/ccrx/CMakeLists.txt @@ -0,0 +1,19 @@ + +target_sources(${PROJECT_NAME} + PRIVATE + # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.src + # {{END_TARGET_SOURCES}} +) + +target_include_directories(${PROJECT_NAME} + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/inc +) diff --git a/ports/rxv1/gnu/CMakeLists.txt b/ports/rxv1/gnu/CMakeLists.txt new file mode 100644 index 00000000..9357c697 --- /dev/null +++ b/ports/rxv1/gnu/CMakeLists.txt @@ -0,0 +1,19 @@ + +target_sources(${PROJECT_NAME} + PRIVATE + # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.S + # {{END_TARGET_SOURCES}} +) + +target_include_directories(${PROJECT_NAME} + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/inc +) diff --git a/ports/rxv2/ccrx/CMakeLists.txt b/ports/rxv2/ccrx/CMakeLists.txt new file mode 100644 index 00000000..fabadffe --- /dev/null +++ b/ports/rxv2/ccrx/CMakeLists.txt @@ -0,0 +1,19 @@ + +target_sources(${PROJECT_NAME} + PRIVATE + # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.src + # {{END_TARGET_SOURCES}} +) + +target_include_directories(${PROJECT_NAME} + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/inc +) diff --git a/ports/rxv2/gnu/CMakeLists.txt b/ports/rxv2/gnu/CMakeLists.txt index 3c68a689..9357c697 100644 --- a/ports/rxv2/gnu/CMakeLists.txt +++ b/ports/rxv2/gnu/CMakeLists.txt @@ -2,11 +2,13 @@ target_sources(${PROJECT_NAME} PRIVATE # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.S ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.S # {{END_TARGET_SOURCES}} ) diff --git a/ports/rxv3/ccrx/CMakeLists.txt b/ports/rxv3/ccrx/CMakeLists.txt new file mode 100644 index 00000000..fabadffe --- /dev/null +++ b/ports/rxv3/ccrx/CMakeLists.txt @@ -0,0 +1,19 @@ + +target_sources(${PROJECT_NAME} + PRIVATE + # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.src + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.src + # {{END_TARGET_SOURCES}} +) + +target_include_directories(${PROJECT_NAME} + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/inc +) diff --git a/ports/rxv3/gnu/CMakeLists.txt b/ports/rxv3/gnu/CMakeLists.txt new file mode 100644 index 00000000..9357c697 --- /dev/null +++ b/ports/rxv3/gnu/CMakeLists.txt @@ -0,0 +1,19 @@ + +target_sources(${PROJECT_NAME} + PRIVATE + # {{BEGIN_TARGET_SOURCES}} + ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.S + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.S + # {{END_TARGET_SOURCES}} +) + +target_include_directories(${PROJECT_NAME} + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/inc +)