I'm at a point in my test project where I need to generated more optimized code and therefore I'm trying to configure and verify that hardware floating point code is being generated for my LM4F120.
My situation: Stellaris Launchpad LM4F120, CCS 5.2, Linux, Stellaris libs
After examining the assembly view of my code in the debugger it was obvious to me that VFP instructions were not being generated. I tried to search and find clarification for the different "-float_support" options but was not succesful so I tried building with each one and go warnings about certain options only being compatible with certain ARM architectures, e.g. A8. However, I hit upon "vfplib" and "fpalib" When I recompiled I got the following error:
fatal error #16016: file
"/home/tim/Stellaris/usblib/ccs-cm4f/Debug/usblib-cm4f.lib<usbdhandler.obj>"
was built with VFP coprocessor support while a previously seen file was not;
combining incompatible files
I interpret this to mean the usblib.lib has not been compiled with the -float_support set to "vfplib".
I get the same error when i attempt to use "fpalib"
I don't recall building the Stellarisware libs when they were installed. Is there a way to do this and produce compatible libraries?
Which option is appropriate and how get past this. What is your suggestion?
Thanks