AnsweredAssumed Answered

How do you switch a project from compiling linked KSDK source to precompiled libraries?

Question asked by dave408 on Jan 21, 2016
Latest reply on Jan 25, 2016 by Vojtech Filip

I'd like to get away from having the KSDK source files linked to my project.  Ideally, I would precompile all of the KSDK libraries and then just add them to my project's linker's miscellaneous files.


So far, I believe I need, and therefore have precompiled the following:

  • ksdk_platform_lib
  • ksdk_startup_lib
  • ksdk_hal_lib
  • lib_mqx
  • ksdk_mqx_lib


I then added references to the files in my linker settings like so:



I think I'm really close.  Unfortunately, at the moment I get one undefined reference to DbgConsole_Init().  I am unable to delete or disable this component without PEx getting really upset with me.  I have been unable to find the location of DbgConsole_Init in any of the libraries.  All I can think of at the moment is that I need to add a link to  /platform/utilities to pull in fsl_debug_console, but wanted to see if anyone here had the same question and conclusion as me.