This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to print timestamp in ecos


Hi,   
     Any test code of wallclock and how to make makefile.I insert Wallclock
I/O package
(CYGPKG_IO_WALLCLOCK) and the ISO C date and time package
(CYGPKG_LIBC_TIME) in my ecos and I use time() function,but I am not getting
time.


John Dallaway-2 wrote:
> 
> gaurang wrote:
> 
>> I want display and store time and date in flash.So how can
>> display timestamp in ecos.
>> Any time api for time stamp.
> 
> You will need an eCos wallclock driver for your hardware platform. You
> will also need to ensure that the Wallclock I/O package
> (CYGPKG_IO_WALLCLOCK) and the ISO C date and time package
> (CYGPKG_LIBC_TIME) are part of your eCos configuration. You can then
> call the time() function within the eCos C library to obtain calendar
> time.
> 
> I hope this helps
> 
> John Dallaway
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-print-timestamp-in-ecos-tp22863168p22865236.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]