cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

I need to use a couple of functions from standard C library.

Which one should I use ?

I used libc.a from:

\WICED-Smart-SDK\Tools\ARM_GNU\lib

but it does not seem to be ported correctly:

- execution of some functions e.g.

char * strchr ( const char *, int );

freezes the tag, though other like:

int * toupper ( int c );

works fine.

Are there any plans to add more embedded oriented standard C library like Newlib into the SDK ?

Lukas


0 Likes
1 Solution
MichaelF_56
Moderator
Moderator

Not all standard C library functions are available because the ROM and RAM space on the chip is limited. Many are not available in the ROM and the SDK does not link in the missing std functions in because they will very easily overflow the available space.

View solution in original post

0 Likes
1 Reply
MichaelF_56
Moderator
Moderator

Not all standard C library functions are available because the ROM and RAM space on the chip is limited. Many are not available in the ROM and the SDK does not link in the missing std functions in because they will very easily overflow the available space.

View solution in original post

0 Likes