-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Currently all calls to clock()
return -1
. This is default behavior when _times()
is not implemented. There is probably other time related functions affected too.
https://github.com/bminor/newlib/blob/master/newlib/libc/time/clock.c#L53-L63
Usually this is fixed by providing the _times()
function as a stub for newlib, but browsing through Pico SDK code I am not sure where it should go.