2026-03-18 12:34 PM - last edited on 2026-03-19 1:41 AM by Gyessine
What is recommended way to change or override the 'SYSTEM_CLOCK' symbol defined in 'tx_initialize_low_level.S' , that feeds into the threadX systick period calculation?
I could change the SysTick after threadX is started -- that is probably the easist fix.
I dont want to modify the threadX submodule in my project, as its pulled from the internet at some pinned version.
I've currently made a local copy of 'tx_initialize_low_level.S', and then I use CMake to select that particular S file - so that solves the problem, but I dont like having a personal copy of a file from the submodule.
After experimenting for some time, and then scouring the web, I cant find any suggestions on this issue, there are some changes that can be imported via having your own 'tx_user.h' -- but I cant see anything that can override the SYSTEM_CLOCK.
Cheers, Nick
Solved! Go to Solution.
2026-03-22 1:52 PM - edited 2026-03-22 3:05 PM
2026-03-22 1:52 PM - edited 2026-03-22 3:05 PM