The QP/C ports and examples for ThreadX (now Azure RTOS) are described in the Quantum Leaps Application Note QP and ThreadX↑ .
It is important to note that not all QP/C source files should be included in the build process. Specifically, the QP/C source file qf_actq.c
must NOT be included in the build, because this functionality is taken from ThreadX. Here is the list of QP/C source files needed: