AnsweredAssumed Answered

__user_setup_stackheap() in comp.c is missing assembly language return statement

Question asked by Alex Holeczy on Feb 26, 2014
Latest reply on Mar 3, 2014 by Daniel Chen

In MQX release 4.0.2 in mqx/source/psp/cortex_m/compiler/rv/comp.c

 

_asm void __user_setup_stackheap(void)

{

    mov r0, #0

    mov r2, #0

}

 

Should be:

 

_asm void __user_setup_stackheap(void)

{

    mov r0, #0

    mov r2, #0

    bx lr

}

 

Please update the file in the next software release.

Outcomes