diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b8f957..8142c23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,6 @@ function(setup_target TARGET) port/moonlight/trap_non_vectored.c port/moonlight/exception.c port/moonlight/vector_table.c - port/moonlight/tx_timer_interrupt.c ) if("netxduo" IN_LIST ST_LIBRARIES) target_sources(${TARGET} PRIVATE port/moonlight/mnrs_network_driver.c) diff --git a/port/threadx/CMakeLists.txt b/port/threadx/CMakeLists.txt index ed5c4ae..637e49f 100644 --- a/port/threadx/CMakeLists.txt +++ b/port/threadx/CMakeLists.txt @@ -9,8 +9,7 @@ target_sources(${PROJECT_NAME} ${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.c - #${CMAKE_CURRENT_LIST_DIR}/src/platform_rand.c + ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.c # {{END_TARGET_SOURCES}} ) diff --git a/port/moonlight/tx_timer_interrupt.c b/port/threadx/src/tx_timer_interrupt.c similarity index 100% rename from port/moonlight/tx_timer_interrupt.c rename to port/threadx/src/tx_timer_interrupt.c