Qprintf example
This example illustrates how to use the Qualcomm printf library (qprintf) located under $HEXAGON_SDK_ROOT/libs/qprintf
.
The example demonstrates how the library displays the contents of scalar and vector registers from assembly and provides various options for displaying HVX_Vector contents from C.
Refer to the Feature Matrix for example support and to know the DSP architecture on the target.
Using the walkthrough script
The walkthrough script qprintf_example_walkthrough.py
automates the steps of signing the device, building, pushing and running the qprintf_ example
. You can run the walkthrough script with the dry-run (-DR) option to display all the commands that the script would execute without actually running them.
Review the generic setup and walkthrough_scripts instructions to learn more about setting up your device and using the walkthrough script.