Hello,
I would like to understand the possible approaches to obtain code coverage using Lauterbach TRACE32 when building with the GHS compiler, as in build coverage is not available. is it feasible to achieve code coverage using any debugger -based mechanism in this case?
Please get in touch with Laterbach directly. As this is not NXP product.
https://support.lauterbach.com/
Additionally, with GCC compiler, is in build code coverage supported and compatible with Lauterbach TRACE32?
Yes, GCC supports in‑build coverage (gcov) via --coverage or -fprofile-arcs -ftest-coverage. This produces .gcno/.gcda files that you post‑process with gcov, llvm‑cov gcov, or gcovr. TRACE32 can coexist with such instrumented builds (you can still debug/trace them), but TRACE32 does not read .gcda/.gcno itself — you use gcov tooling to compute/report coverage.
But again, such is question for Lauterbach support.
Best regards,
Peter