Skip to content

Commit

Permalink
Merge pull request #423 from spir6s/master
Browse files Browse the repository at this point in the history
Added missing CMakeLists.txt for Renesas RX ports
  • Loading branch information
fdesbiens authored Jan 13, 2025
2 parents 485a02f + bb4540f commit af3c1e7
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ports/rxv1/ccrx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
19 changes: 19 additions & 0 deletions ports/rxv1/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
19 changes: 19 additions & 0 deletions ports/rxv2/ccrx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
2 changes: 2 additions & 0 deletions ports/rxv2/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
)
Expand Down
19 changes: 19 additions & 0 deletions ports/rxv3/ccrx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
19 changes: 19 additions & 0 deletions ports/rxv3/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit af3c1e7

Please sign in to comment.