AnsweredAssumed Answered

add file to MQX project issue

Question asked by Mini Wang on Oct 31, 2012
Latest reply on Oct 31, 2012 by Mini Wang

Hi,

I created a empty MQX project, there are 2 files created - main.c and main.h.

I wrote a sample function(control GPIO) in main.c, it's OK for compile ,download and debug.

But when I try to move the function to another file(ex: IO.c, IO.h) to organize the code, there are thousand error occured.

(undefined identifier '_mqx_uint'  , identifier expected  , illegal function definition..........etc.)

 

Is there any setting should I do when I add other file to MQX project?

 

the environment : CodeWorrior 10.2  &  MQX 3.8.1

 

Thank you in advance.

 

 

Mini


Outcomes