Topic

FAQ
Login Register
Float calculations in Telink IDE v1.3.1 with telink_b85m_ble_single_connection_sdk_v3.4.2.1_Patch
Mar 31, 2022 17:59

/

A

/A


Hello. We try to use float values in 825x_ble_sample. But we got errors like:
./vendor/b85m_ble_sample/app.o: In function `main_loop':
app.c:(.text.main_loop+0x34): undefined reference to `__floatunsisf'
app.c:(.text.main_loop+0x3c): undefined reference to `__gtsf2'
make: *** [b85m_ble_single_connection_sdk.elf] Error 1
And we found libm.a, that contains theese float functions. But if we understood right there no some assembler file like ieee754.s with real implementation of needed functions. Are we right? And can you help us? Please


2 replies
Alexa [Author] Apr 02, 2022 13:32
0
/A


We've got answer, not from Telink side. Nothing. No float and math libs for tlsr825x. But we have possibility to use soft variants of that by finding them somewhere or creating them by ourself. Maybe somebody knows some links? We think the info would be useful for many people.


malek Nov 04, 2022 17:25
0
/A