MCUXpresso IDE - Profiling - GCOV: How-To

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso IDE - Profiling - GCOV: How-To

505 Views
PE_IDR
Contributor II

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

0 Kudos
1 Reply

490 Views
ErichStyger
Senior Contributor V

I have it working well in the IDE 11.7.0:

ErichStyger_0-1679733251334.png

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:

ErichStyger_1-1679733336983.png

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

0 Kudos