mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
About the QPCPP Zephyr Module
This directory defines the QP/C++ Real-Time Embedded Framework as a Zephyr module.
How to use
Example of use is provided in the related repository qpcpp-zephyr-app
To create your own QP-Zephyr project, you can clone that repository and customize it to your needs:
git clone https://github.com/QuantumLeaps/qpcpp-zephyr-app <my-project> --recurse-submodules --depth 1
where <my-project>
is the name of your project.
Configuring the QPCPP Zephyr Module
The Kconfig
file provides configuration CONFIG_QPCPP
to activate the QPCPP module
in Zephyr. To do so, you need to add the following line to your prj.conf
:
CONFIG_QPCPP=y
Option for Activating QSPY Software Tracing
The QP/C++ Zephyr Module supports the QSPY Software Tracing option and will add the appropriate macros and files to build the "QSPY" configuration.
If you wish to enable "QSPY" you can provide the option "QSPY" in the command-line for the build. For example:
west build -b nucleo_h743zi -- -DQSPY=ON