From 6d5871687cc940837facd5680341cf31af275399 Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Fri, 30 Jan 2026 13:34:17 +0100 Subject: [PATCH] moves tx_timer interrupt into port as this is not moonlight specific, it should not be placed in such a way --- CMakeLists.txt | 1 - port/threadx/CMakeLists.txt | 3 +-- port/{moonlight => threadx/src}/tx_timer_interrupt.c | 0 3 files changed, 1 insertion(+), 3 deletions(-) rename port/{moonlight => threadx/src}/tx_timer_interrupt.c (100%) 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