Tool/software:
I downloaded threadx version from your github and integrated ti am64x board in R5 core. (https://github.com/TexasInstruments/mcupsdk-core/tree/am243x_threadx)
SDK compile is successful and threadx hello world application seems to running.
But DebugP_log("Hello world!\r\n"); is not working correctly.
I compared with freertos DebugP_log and thread DebugP_log in assembly code.
freertos DebugP_log does not have any issue and it seems assembly level code are as follows,
In this code, calling sequence as follows,
SemaporeP_pend
va_start,
vprintf_ and
SemaphoreP_post
But in threadx DebugP_log calling sequence is weird.
SemaphoP_pend
vprintf_
va_start
vprintf_
va_start
vprintf_
I don't know why the code optimized like this.
I think this is the main issue of why threadx DebugP_log is not working correctly.
Please let me know if you have any update.