<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 4, 2018 at 9:36 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Am 4. Jun 2018 um 16:27 schrieb joel <a href="mailto:joel@rtems.org">joel@rtems.org</a>:<br>
<br>
> On Mon, Jun 4, 2018 at 9:14 AM, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
> <br>
>> Indeed, this 'rtc' shell command seems to be a bit of a misnomer. It<br>
>> conflates access to two different clocks, the tod and rtc. Probably,<br>
>> it would be better to provide a separate 'tod' command that<br>
>> reads/writes the tod values, and refactor this 'rtc' to read/write the<br>
>> rtc. I'm not quite sure about the correctness of writing to the rtc<br>
>> without updating the tod, though.<br>
>><br>
> <br>
> Speaking from RTEMS history here. We tended to use Time of Day<br>
> to refer to what RTEMS was maintaining and Real-Time Clock to<br>
> review to battery backed clocks that are ICs. This matches Wikipedia's<br>
> definition and example of a DS1307.<br>
> <br>
> The driver framework in RTEMS is referred to as RTC but some BSPs<br>
> call the driver TOD and name files and directories accordingly.<br>
> <br>
> Renaming TOD drivers to RTC derived names has been on my wish<br>
> list for a long time.<br>
<br>
</span>All the RTC drivers should be now in an "rtc" directory.<br>
</blockquote></div><br></div><div class="gmail_extra">Great! Did you rename the files at the same time? There were some</div><div class="gmail_extra">todcfg.c files as I recall and other variants.</div></div>