moves tx_timer_interrupt to threadx port
This commit is contained in:
@@ -5,7 +5,6 @@ target_sources(${PROJECT_NAME}
|
||||
${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
|
||||
|
||||
@@ -66,8 +66,7 @@
|
||||
|
||||
#ifndef NX_IP_PERIODIC_RATE
|
||||
#ifdef TX_TIMER_TICKS_PER_SECOND
|
||||
/* it seems this needs to be smaller than the timer ticks per second. Otherwise no time is left for other tasks*/
|
||||
#define NX_IP_PERIODIC_RATE (TX_TIMER_TICKS_PER_SECOND / 10)
|
||||
#define NX_IP_PERIODIC_RATE TX_TIMER_TICKS_PER_SECOND
|
||||
#else
|
||||
#define NX_IP_PERIODIC_RATE 10
|
||||
#endif
|
||||
@@ -191,4 +190,4 @@ CHAR _nx_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * NetX Duo PI
|
||||
extern CHAR _nx_version_id[];
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user