how to configue the wiced studio to support floating point calculation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mawu_4270096
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

Hi:

   when I use the floating point calculation in the wiced studio,and there are some compile errors as below.

Unknown symbol  __aeabi_ui2d (err 0)

Unknown symbol  __aeabi_dcmplt (err 0)

Unknown symbol  __aeabi_ddiv (err 0)

Unknown symbol  __aeabi_dmul (err 0)

Unknown symbol  __aeabi_dadd (err 0)

Unknown symbol  __aeabi_dcmpgt (err 0)

Unknown symbol  __aeabi_dsub (err 0)

Unknown symbol __aeabi_i2d (err 0)

Unknown symbol  __aeabi_d2uiz (err 0)

Unknown symbol  __aeabi_d2iz (err 0)

I guess the reason is that the current  the configuration of the  wiced studio  can't  support the floating point calculation.

who can tell me how to configue the  wiced studio to support the floating point calculation.

thanks!

mandy

0 Likes
1 Solution
5 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

I think this limitation is also caused by the lack of FPU in CM3, which is widely used in our BT ICs. A solution was suggested below:

Re: Floating-Point Arithmetic

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi Mandy,

Which BT chip are you using?

Can you please refer: How to enable floating point operations/FPU on the CM4 of the 20719

0 Likes
mawu_4270096
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

Hi  SheetalJ_96:

       I use the BT chip is CYW20735

0 Likes

20735B1 utilized the CM4 core, then Sheetalj's suggested link will be applicable to you.

0 Likes
mawu_4270096
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

Hi BoonT_56:

    thank you!

    I have solved this question according to your suggestion

0 Likes