Tool/software: TI C/C++ Compiler
Hi,
I made some changes to the demo project of AWR1642. The program is running normally when optimization compilation is turned off. But in the case of level 3 optimization compilation, the calculation result is wrong.The part of the program I added mainly involves the calculation of float type data and calls functions such as sin, cos, power and sqrt.In other posts in the forum(https://e2e.ti.com/support/sensors/f/1023/t/858880?tisearch=e2e-sitesearch&keymatch=AWR1642%20optimization), I heard that I need to add f after the float data to solve this problem.Unfortunately, it did not solve my problem.
SDK Version: mmwave_sdk_02_00_00_04
ARM compile version: ti-cgt-arm_16.9.6.LTS
DSP compile version: ti-cgt-c6000_8.1.3
Thanks!