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.
Solved! Go to Solution.
Hi Alex:
Thank you for reporting this. I noticed in the latest MQX version, C:\Freescale\Freescale_MQX_4_1\mqx\source\psp\cortex_m\compiler\rv_uv4\comp.c, this function has changed to
__asm void __user_setup_stackheap(void)
{
mov r0, #0
mov r2, #0
bx lr
}
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Alex:
Thank you for reporting this. I noticed in the latest MQX version, C:\Freescale\Freescale_MQX_4_1\mqx\source\psp\cortex_m\compiler\rv_uv4\comp.c, this function has changed to
__asm void __user_setup_stackheap(void)
{
mov r0, #0
mov r2, #0
bx lr
}
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------