Closed vrabcak closed 3 years ago
Hi @vrabcak,
Thank you for this report. It will be forwarded to our development teams for deeper analysis. We will get back to you as soon as they provide their feedback. Thank you again.
With regards,
Hi @vrabcak,
Our development teams could reproduce the issue and analyse its root cause. They recommend to clean and rebuild the project each time the tx_user.h
file is modified (e.g. after the TX_THREAD_ENABLE_PERFORMANCE_INFO
is activated).
Below is their analysis:
TX_THREAD_ENABLE_PERFORMANCE_INFO
flag and the binary is correctly working.TX_THREAD_ENABLE_PERFORMANCE_INFO
flag is activated and the project is rebuilt without cleaning.
tx_user.h
file and rebuilding the project the IDE will only recompile the files that are including that header file. But ThreadX comes with a set of *.s
files that do not include the tx_user.h
file. Thus they are not recompiled.TX_THREAD_ENABLE_PERFORMANCE_INFO
is adding extra fields to the TX_THREAD
structure increasing the overall size of the structure.
TX_THREAD
structures declared in the application will have a greater size.*.s
files that were not recompiled.TX_THREAD_ENABLE_PERFORMANCE_INFO
flag.tx_user.h
file is modified.We hope this helps you solve the problem. Please let us know.
With regards,
Hi @vrabcak,
Any feedback from your side? Does our recommendation help you solve the issue?
With regards,
Hi @vrabcak,
Please allow me to close this issue. Thank you again for your contribution.
With regards,
ST Internal Reference: 98736
Describe the set-up
STM32H735G-DK
STM32CubeIDE version 1.5.1
Describe the bug
If I uncomment
#define TX_THREAD_ENABLE_PERFORMANCE_INFO
intx_user.h
, the Tx_Thread_Sync application freezes - the LEDs stop blinking.If I comment it out again, the app works fine.