From bb4540f65afd239ae5fa7c689895379f5fbcec98 Mon Sep 17 00:00:00 2001 From: Sebastian Paarz Date: Thu, 28 Nov 2024 10:02:47 +0100 Subject: [PATCH] Added missing CMakeLists.txt for Renesas RX ports --- ports/rxv1/ccrx/CMakeLists.txt | 19 +++++++++++++++++++ ports/rxv1/gnu/CMakeLists.txt | 19 +++++++++++++++++++ ports/rxv2/ccrx/CMakeLists.txt | 19 +++++++++++++++++++ ports/rxv2/gnu/CMakeLists.txt | 2 ++ ports/rxv3/ccrx/CMakeLists.txt | 19 +++++++++++++++++++ ports/rxv3/gnu/CMakeLists.txt | 19 +++++++++++++++++++ 6 files changed, 97 insertions(+) create mode 100644 ports/rxv1/ccrx/CMakeLists.txt create mode 100644 ports/rxv1/gnu/CMakeLists.txt create mode 100644 ports/rxv2/ccrx/CMakeLists.txt create mode 100644 ports/rxv3/ccrx/CMakeLists.txt create mode 100644 ports/rxv3/gnu/CMakeLists.txt 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 +)