According to GCov User Guide I have setup for my board IMXRT1170(evk) in MCUXpresso IDE v11.4.0.
But I coudn't generate properly ".gcno" and ".gcda" files.
Below setting I have done in MCUXpresso.
1) C/C++ Build/ Settings / MCU C Compiler /Debugging/ Generate Gcov information.
2) Added macro "--coverage " C/C++ Build/ Settings /MCU Linker / Miscellaneous.
After this If I build and run the application.
I got below error.
Error Description:
libgcov profiling error:/home/harsiddh/Documents/MCUXpresso_11.4.0_6224/workspace/evkmimxrt1170_mipi_dsi_compliant_test_cm7/Debug/board/pin_mux.gcda:overwriting an existing profile data with a different timestamp
Please give your guidance for same.
Thanks In Advance.