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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,438件の閲覧回数
aah
Contributor I

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.

0 件の賞賛
返信
1 解決策
1,032件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,033件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信