Hello NXP team,
We are looking for a way to debug dynamic libraries which are built separately from the main project and are sent to the IMX via SPI at runtime. The libraries are used for calculations and are changed depending on the situation. The libraries and main project are all built with "-g" compiler flag. I have tried some GDB commands to load symbols and source files, but I can't get it working. Is there some way to debug these libraries? An example or a good guide would help immensely.
Best Regards,
Ves
Hi @VeselinK ,
There isn't any guide or example can meet your request. The only tradeoff way I can think of is connecting to a running target. Please see 11.3.2 in MCUXresso IDE user guide. After you downloading the library, let main project call the library function and stay there. Then debug your library project by attach only.
Regards,
Jing