AnsweredAssumed Answered

MQX-based code does not execute if task is in a different source file

Question asked by dave408 on Mar 13, 2015
Latest reply on Mar 13, 2015 by dave408

I have a feeling this is going to be an embarrassing post for me and my question has a really obvious answer.

 

I have the httpserv demo debugging just fine.  I added a task to app_mqx and was still able to run it in the debugger.  However, if I move this task to another source file (e.g. task.c), the code builds, but it doesn't run.  When the code is working and I debug, I'll see the Segger window with the four progress bars appear while the code is downloading.  After the function is moved to test.c, the window never pops up and therefore nothing executes.


I'm totally confused as to why this would happen.  Can anyone shed some light on this for me?  I'm pretty sure it's not a build problem, as the command line args to gcc look totally correct to me.

 

Thank you!

Outcomes