Is there an MCU Xpresso guide for 11.7 that shows how to use the GCOV settings built into the IDE?
I have looked at Erik Styger's posts, but it looks like the IDE now has the capability built in.
With this method I erros that the symbol "__init_array_start" could not be found:
Tutorial: GNU gcov Coverage with the NXP i.MX RT1064 | MCU on Eclipse
This post seems even more out of date:
Tutorial: GNU Coverage with MCUXpresso IDE | MCU on Eclipse
I have it working well in the IDE 11.7.0:
But the thing is that for several months the SEGGER semihosting support is not working (there should be a release coming soon fixing hopefully the issues). For example the one in 11.7.0 does not create files correctly. This is why I'm using the older v7.68 J-Link software instead:
I don't have any RT board around right now, but I checked the K64F examples (as pointed to by the above article), and they work fine for me. So I suggest you try with the examples on GitHub, e.g. https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/FRDM-K64F/FRDM-K64F_gcov...
I hope this helps,
Erich