Skip to content

Function clock() et al not implemented #93

@tuupola

Description

@tuupola

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions