Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

DE1-SOC Cortex A9 Hard FPU

Altera_Forum
Honored Contributor II
1,128 Views

Hi, 

 

I am trying to compile a bare metal application on Eclipse DS-5 which takes advantage of the FPU engines in the Cortex A9 processor with the Cyclone V SoC. I set the compiler and assembler options to "-march=armv7-a -mcpu=cortex-a9 -mfpu=vfpv3-fp16 -mfloat-abi=hard", however when I build the project I get an error that AAA.o uses VFP register arguments, BBB.axf does not. Through research I found that the reason for this is that part of the system is using soft-float ABI. Can anyone suggest how to resolve this issue since using the FPU in my project is crucial? 

 

Thanks
0 Kudos
0 Replies
Reply