Is the standard C library supported ?

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

cross mob
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
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

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