updates test to work with new build system

This commit is contained in:
2026-04-10 14:13:18 +02:00
parent 4c15a3e15f
commit d97e71ca83
3 changed files with 28 additions and 29 deletions

View File

@@ -1,9 +1,14 @@
if(NOT DEFINED THREADX_LOW_LEVEL_INIT_SOURCE) #required for tests to hook into the ISR path
set(THREADX_LOW_LEVEL_INIT_SOURCE
${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.c)
endif()
target_sources(${PROJECT_NAME}
PRIVATE
# {{BEGIN_TARGET_SOURCES}}
${CMAKE_CURRENT_LIST_DIR}/src/trap_entry.S
${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.c
${THREADX_LOW_LEVEL_INIT_SOURCE}
${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