This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error:[E0002] Instruction requires VFP or NEON support

Other Parts Discussed in Thread: HALCOGEN, LAUNCHXL-TMS57004, TMS570LS0432

Hi,

I am using HalCoGen tool to initialize my LAUNCHXL-TMS57004 board.

After properly linking the source and include folders generated by HalCoGen when I build the project am getting following error -


[E0002] Instruction requires VFP or NEON support os_portasm.asm /tri/source line 319 C/C++ Problem

the error line is hilighted in the snippet -

; vPortTaskUsesFPU
.asmfunc
swiPortTaskUsesFPU
ldr r12, ulTaskHasFPUContextConst
mov r0, #1
str r0, [r12]
mov r0, #0
fmxr FPSCR, r0
bx r14
.endasmfunc

 

Thanks and regards

Vivek Thota

  • Hi Vivek,

    If you have used latest HALCoGen and generated FreeRTOS code for TMS570LS0432, then api looks like below, so there should be no compile error.

    ; swiPortTaskUsesFPU
            .asmfunc
    swiPortTaskUsesFPU
      bx  r14

            .endasmfunc

  • Thanks for the reply .

    I am using latest version of HALCoGen and generated code for FreeRTOS .

    I have checked device settings , all the parameters are matching and i have followed the procedure of linking the generated library as it is !

    The api generated by my HALCoGen does not match yours .