Re: C-lib status
Not following how this is related to Posix and feature of 1.9.toggle quoted messageShow quoted text
AFAIK, What is missing is a hook for gettimeofday in lib/libc/newlib/libc-hooks.c which can then get the needed information from the underlying hardware. We could provide a dummy and a way to connect this to RTC drivers or the kenel timers for example...
From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of Paul Sokolovsky
Sent: Monday, June 12, 2017 9:42 AM
To: Erwin Rol <mailinglists@...>
Subject: Re: [Zephyr-devel] C-lib status
On Sun, 11 Jun 2017 16:34:21 +0200
Erwin Rol <mailinglists@...> wrote:
Hey Paul,I'm sure everyone would agree, so it's worth considering how to "fix"
it (even it will be a workaround or incomplete fix) and do that.
But your point about version 1.9 is interesting, "POSIX API Layer",Well, it's true that Zephyr currently undergoes extensive (vs
intensive) growth, with a lot of functionality being both added and planned. But there may be omissions, gaps, and plain bugs in that functionality. While all that's not ideal, I (even though I'm just an
engineer) personally think that, given the competitive RTOS landscape, it's the best approach so far - try to offer more functionality and support than other RTOSes and by that, attract wide community so "any bug becomes shallow".
I think I'll wait for that release (when it really comes in August) toSounds good, but unfortunately we aren't yet have enough eyes (and
hands) to proverbially make any bug shallow, so if you consider that
time() would be really useful for Zephyr applications, or its current behavior very problematic, I'd encourage you to do something about it - at the very least, submit a bug for it at http://jira.zephyrproject.org/
Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog _______________________________________________
Zephyr-devel mailing list