Topic

FAQ
Login Register
atan2f does not use
Sep 13, 2024 14:16

/

A

/A

Dear everyone


I add a function of atan2f to a application that is based on b85m_ble_sdk SDK and add the following compile options,

-I C:\TelinkIoTStudio\opt\tc32\tc32-elf\include
-l m
-L C:\TelinkIoTStudio\opt\tc32\tc32-elf\lib


I build but the followin error is happend,

TLS8278 mcu and sdk is not support atan2f function?


C:\TelinkIoTStudio\opt\tc32\tc32-elf\lib\libm.a(lib_a-ef_atan2.o): In function `__ieee754_atan2f':
c:\users\peters\Desktop\toolchains-4232\builds\newlib\tc32-elf\newlib\libm\math/../../../../../../newlib-2.0.0/newlib/libm/math/ef_atan2.c:99: undefined reference to `__addsf3'

....

C:\TelinkIoTStudio\opt\tc32\tc32-elf\lib\libm.a(lib_a-sf_atan.o): In function `atanf': c:\users\peters\Desktop\toolchains-4232\builds\newlib\tc32-elf\newlib\libm\math/../../../../../../newlib-2.0.0/newlib/libm/math/sf_atan.c:105: undefined reference to `__mulsf3'




No reply yet
Related topics
No related topics
Author's other topics
No more topics