Varied the HERE VP timer phase for byte-pool contention
This commit is contained in:
1 parent
054251f810
commit
2bd4a9d33f
1 file changed
+3
-2
@@ -244,10 +244,11 @@ function(add_threadx_regression_test TEST_SOURCE)
|
||||
)
|
||||
target_include_directories(${TEST_NAME} PRIVATE ${THREADX4TGFS_ROOT}/third-party/threadx/test/tx/regression)
|
||||
|
||||
# These tests need the timer ISR to land in a narrow ThreadX code window.
|
||||
# Vary timer phase for the interrupt-window and time-sliced contention cases.
|
||||
if(TEST_NAME STREQUAL "threadx_event_flag_isr_set_clear_test" OR
|
||||
TEST_NAME STREQUAL "threadx_event_flag_isr_wait_abort_test" OR
|
||||
TEST_NAME STREQUAL "threadx_thread_delayed_suspension_test")
|
||||
TEST_NAME STREQUAL "threadx_thread_delayed_suspension_test" OR
|
||||
TEST_NAME STREQUAL "threadx_byte_memory_thread_contention_test")
|
||||
target_sources(${TEST_NAME} PRIVATE ../threadx/vp_timer_jitter.c)
|
||||
target_link_options(${TEST_NAME} PRIVATE -Wl,--wrap=_tx_timer_interrupt)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user