Login Register
Floating Point Operations with TC32
Mar 06, 2024 08:41




I am trying to covert a folder of C files into a bin format so that I can burn it into the TLSR8208 chip. I am using the Telink v1.3 IDE and the Bluetooth LE Single Connection SDK v3.4.1.2, but every time I try to build it, I get error messages in the form of:

"app.c:(.text.main_loop+0x72): undefined reference to `__adddf3' "

"app.c:(.text.main_loop+0x7e): undefined reference to `__ltdf2' "

"app.c:(.text.main_loop+0x1a4): undefined reference to `__floatsisf' "

"app.c:(.text.main_loop+0x1aa): undefined reference to `__divsf3' "

It seems to me that the TC32 compiler and linker can not handle floating point operations. I have tried to change the toolchain and add libraries but nothing seems to work. How do fix this issue so that I can have simple math within the code for float point operations and so that I can convert it into a bin format to burn onto the chip. 

1 replies
TL_Soyo Mar 06, 2024 14:53


  Cannot directly support floating-point operations. You can download sigmesh SDK to use its software floating-point operation library