How to enable floating point operations/FPU on the CM4 of the 20719

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

cross mob
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Example:

    extern int __2sprintf(char * str, const char * format, ...);

    char str[20] = {0};

    float f = 3.14;

    __2sprintf(str,"%f", f);

    WICED_BT_TRACE("%s\r\n", str);

0 Likes
0 Replies