# Compile tafDiagApp and tafDiagEventApp Source: [https://docs.qualcomm.com/doc/80-41102-1/topic/compile_tafdiagapp_and_tafdiageventapp.html](https://docs.qualcomm.com/doc/80-41102-1/topic/compile_tafdiagapp_and_tafdiageventapp.html) Add the lines `$TELAF_ROOT/apps/sample/diagApp/tafDiagApp` and `$TELAF_ROOT/apps/sample/diagEventApp/tafDiagEventApp` to the apps block in the sa525m.sdef file and rebuild the TelAF image. **Parent Topic:** [Set up diagnostic testing environment](https://docs.qualcomm.com/doc/80-41102-1/topic/set_up_diagnostic_testing_environment.html) Last Published: Oct 28, 2026 [Previous Topic Set up diagnostic testing environment](https://docs.qualcomm.com/bundle/publicresource/80-41102-1/topics/set_up_diagnostic_testing_environment.md) [Next Topic On the target](https://docs.qualcomm.com/bundle/publicresource/80-41102-1/topics/on_the_target.md)