AnsweredAssumed Answered

Build Environment for CW 10.1/MQX 7.2/52259EVB and HVAC demos

Question asked by JOHN ADAMSON on May 27, 2011
Latest reply on May 27, 2011 by JOHN ADAMSON

I can't build the HVAC demo for the 52259EVB, and it seems to be an environment/configuration problem.

 

The compiler says there's no prototype for strcmp.  There is an "include <string.h>" already, but if I explicitly add "#include <cstring>" the error goes away (and moves on to the next use of string.h).  

 

I installed CW 10.1 and MQX to the default directories.  I then imported the 10.1 project into CW, then imported the source files to the project directory.  In the project properties, I had to explicitly set MQX_ROOT_DIR to C:\Program Files\Freescale\Freescale MQX 3.7, since it was set to something like C:\ or C:\MQX by the original project.   At some point it seemed to be looking for a variable MCUToolsBaseDir that I couldn't find, so I tried putting such a definition, pointing to CW MCU v10.1\MCU, in Linked Resources.  When that didn't work, I tried putting MCUToolsBaseDirEnv in the environment.  

 

I've tried rebuilding the bsp_m52259evb and psp_m52259 projects, and got them to build with some tweaking, but it didn't help.  

 

Suggestions?

 

Edit: attached HVAC_Shell_Commands.args thinking it might help...

 

JPA

Outcomes