On Fri, 03 Apr 2009 09:12:23 +0200, gaurang <[email protected]>
wrote:
Hi,
I want display and store time and date in flash.So how can
display timestamp in ecos.
Any time api for time stamp.
Thanks,
Date Time ? What sort of? Look at this:
diag_printf("\n%s() of %s %s", __func__, __DATE__, __TIME__);
The three arguments are strings that are generated during compilation of a
module. So even after linking, each module "knows" when it was compiled.
Robert
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss