AnsweredAssumed Answered

Replacing the libraries with source code

Question asked by Simon Chamlian on Jun 7, 2011
Latest reply on Jun 8, 2011 by Petr Lukas

Hi,

 

I am trying to compiler the web_hvac_m52259evb example without the libraries. Instead, I would like to have the source code.

 

I started with shell libraries: I removed the shell.a and replaced it with: Shell Source

 

  i.e.,

            Shell Source\MQX

            Shell Source\Shell

            Shell Source\MFC

            Shell Source\RTCS

 

I get a compiling/linker error:

                shell_flush_cache is defined in sh_cash.c and sh_flush.c.

Similarly,

                Telnetd_shell_template defined in RTCS.c and sh_tnetd.c

 

The function and structure are defined in 2 files and there seem to be no #ifdef dictating which one to use.

 

So which one should I use and why?

 

Thanks,

S

 

Outcomes