QP/C  7.4.0-rc.3
Real-Time Embedded Framework
Loading...
Searching...
No Matches
ThreadX
ThreadX (Eclipse ThreadX)

The QP/C ports and examples for ThreadX (now Azure RTOS) are described in the Quantum Leaps Application Note QP and ThreadX↑.

QP/C Source Files Needed in this QP/C Port

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:

qpc/
+---src/
| +---qf/
| | qep_hsm.c
| | qep_msm.c
| | qf_act.c
| | qf_actq.c // NOT included (implemented in ThreadX)
| | qf_defer.c
| | qf_dyn.c
| | qf_mem.c
| | qf_ps.c
| | qf_qeq.c
| | qf_qmact.c
| | qf_time.c
| |
| +---qs/
| | qs.c // included only in the Spy build configuration
| | qs_fp.c // included only in the Spy build configuration
|
+---ports/
| +---threadx/ // QP/C port to ThreadX
| | qp_port.h
| | qf_port.c

uC-OS2