Real Time Clock

Does FreeRTOS have anykind of RTC?  I was looking through the code and I see the xTickCount, but not much else.  When dealing with file systems and Enet code, there is often a need for date/time.  It would be great if the OS had a routine to generate date/time with software only using a cummulative millisecond counter, and also the ability to interface to RTC on the MCU.  Anything like that?

Real Time Clock

Real time clocks are very specific to the hardware. You would have to add in your own implementation. Most micros don’t have real time clocks, and even if they do there is no retention of time during power cycles.

Real Time Clock

>> You would have to add in your own implementation. I think that’s what I’ll do.  I can’t see handling Enet and a file system without it.  Both need real time.  Nearly all of the MCU’s I’ve worked with in the last 5 years have all had RTCs.  They all have provisions for battery backup too.  Having different ports to handle the registers in different MCUs is no different than handling different timer regs.  It really isn’t very much code.