FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2008 Threads] Real Time ClockPosted by Chris Strahm on November 19, 2008 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?
RE: Real Time ClockPosted by MEdwards on November 19, 2008 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.
RE: Real Time ClockPosted by Chris Strahm on November 20, 2008 >> 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|