Other Parts Discussed in Thread: CC3200MOD, CC3200SDK, CC3200, TI-CGT
Hello,
Can anybody help me out on this?
CC3200mod LaunchXL, CCS 6.1.2.00015 (Free version),
ARM Compiler flags:
-mv7M4 --code_state=16 --abi=eabi -me --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib/" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc/" -g --define=ccs --define=cc3200 --diag_warning=225 --diag_wrap=off --printf_support=full
ARM Linker flags:
-mv7M4 --code_state=16 --abi=eabi -me -g --define=ccs --define=cc3200 --diag_warning=225 --diag_wrap=off --printf_support=full -z -m"BedSense.map" --heap_size=0x800 --stack_size=0x800 -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --warn_sections --diag_wrap=off --xml_link_info="BedSense_linkInfo.xml" --rom_model
Code snippet1:
float myFloat = 21.1f;
Report("Temp: %g\r\n", myFloat);
Report() calls _printfi() which calls _pproc_fgea().
In _pproc_fgea() ==> "No Coprocessor Usage Fault" is triggered.
Same thing happens when trying to print a double.
Code snippet2:
float myFloatA = 2.2f;
float myFloatB = 1.1f;
float myFloatC = myFloatA/myFloatB;
"No Coprocessor Usage Fault" is triggered when I execute the division.
Why it it trying to use a coprocessor that does not exist?
How can I tell the compiler to use software implementation of floating point operations.
Thanks in advance.
