💡 Make sure you are using matching binary utilities with your build system/compiler. Gcov plugin depends on several binutils (binary utilities) (such as gcov, addr2line, c++filt and nm). Under the Linux Tools group, select and install the GCov Integration. for the MCUXpresso IDE 11.2.1 it is: Eclipse 2019-12 update site. Make sure your are using the matching update site, e.g. For example on of the earlier MCUXpresso IDE from NXP is Eclipse Neon based, so I’m using the following update site: Use the menu Help > Install New Software, and then point to the update site for your Eclipse version. 💡 This step is only necessary if the Eclipse IDE does not have the plugins already installed. With newer Eclipse versions and GNU tools available, I decided to write an update. I wrote several articles about using gcov for embedded targets (see the links section at the end of this article). To use the GNU gcov in Eclipse, I need the following parts: The steps described should work for any other Eclipse or ARM tools version with minor changes. This IDE is Eclipse Neon based and uses the ‘GNU Tools for ARM Embedded Processors 5 – Q3 2016’ release. In this tutorial, I’m using the NXP MCUXpresso IDE 10.0.0 (build 344) as an example.
In case your installed Eclipse does not have it installed, the following article describes how to install GNU Coverage tools (gcov) for it. Many Eclipse distributions come with the gcov integrated.