Debugging of Project with Own Makefile

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging of Project with Own Makefile

143 Views
Contributor V

Hi NXP,

I am using freertos based mpc5748g project using s32ds v1.2 power pc.

With IDE  it is working  fine.

But as per requirement Currently I am developed one own make file (for command line build) to compile and generate .elf for mpc5748g board, It is able to compile and generated .elf file successfully. I created a default debug configuration and flashed to board.

I have led function before calling this Taskdelay function void vTaskDelay( const TickType_t xTicksToDelay ) . When I run the project LEDs will glow  But after calling Taskdelay function my  code it is stuck at     portYIELD_WITHIN_API();       system delay task function shown below.

/* Force a reschedule if xTaskResumeAll has not already done so, we may
        have put ourselves to sleep. */
        if( xAlreadyYielded == pdFALSE )
        {
            portYIELD_WITHIN_API();                           // control point is always at this point only
        }

And when I suspend the debug I am getting below error.

No source available for "call___do_global_ctors_aux() at 0x40002f5c"

I have no idea why it is behaving like this,

Can anyone help me , Is there any thing wrong In the debug process or anything needs to be done to make file.

0 Kudos
0 Replies