Skip to content

Add setjmp and longjmp functions for tizenrt-artik05x target #1823

Closed
@glistening

Description

@glistening

Problem

Currently tizenrt-artik05x does not support longjmp/setjmp correctly.
I tried to use longjmp/setjmp implementation from nuttx-stm32f4 port.

But it shows following error:

System Information:
        Verarm_undefinedinsn: 
Undefined instruction at 0x4130b58
up_assert: Assertion failed at file:armv7-r/arm_undefinedinsn.c line: 107 task: appmain

Looking for Solution

Since artik05x is cortex-r4, not cortex-m4, I looked for vstm and vldm in Cortex R4 Technical Manual. And I found vldm in this manual, however, there is no vstm. So I removed vstm from nuttx-stm32f4 longjmp/setjmp and it escapes me from above error. ( vldm does not cause the undefined instruction error. ) So I will expand the vstm instruction on tizenrt-artik05x and run some tests in order to make sure it is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourjerry-portRelated to the port API or the default port implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions