Forum Discussion
Altera_Forum
Honored Contributor
12 years agousing the FPU on Cortex A9
Hello, I'm trying to use the FPU in my baremetal project. I use the ARM DS-5 (altera edition) with the DS5-GCC. I try to compile a simple project with the following options: -mf...
Altera_Forum
Honored Contributor
12 years agoHi,
I switched to the armcc compiler now. HardFP works fine in the hello world sample project. Now I want to get it run in a larger project. But there are some problems. - Compilation works. - I can load the Programm - Execution fails The project uses a Preloader, to initialize Hardware and RAM. The Execution of the Preloader was successfull, but when the main application is loaded, the execution fails (near the entry point). Now the question, does the preloader also have to be compiled with hard floating point support? The effect can be easily reproduced, if you take the sample project Altera-SoCFPGA-HardwareLib-16550-CV-ARMCC and compile it with hard-fpu support. Any advices?