AnsweredAssumed Answered

newlib missing C library functions

Question asked by Gary Metalle on Jan 29, 2019
Latest reply on Jan 31, 2019 by danielholala



I'm using newlib with an imxrt1050.


The SDK provides various different flavours of newlib (nano, semihost etc) for the platform I am using but it has missing standard 'C' functions such as time and clock. There's also a random number generator hardware on-chip and I would have expected this to have been hooked into std:random_device. There are probably lots of other examples of missing hooks that I would have expected to have been supported in this library for SOC?


Maybe there's a list somewhere of the functions that are supported or even a document explaining how to properly get these hooks? I have actually wrapped the time function and called the appropriate board function to read the RTC, so it is possible.