Вот что пишется в док (EWRX_CompilerReference.ENU.pdf) на IAR ---------------- Time: (для MSP430) To make the __time32, __time64, and date functions work, you must implement the functions: clock, __time32, __time64, and __getzone. Whether you use __time32 or __time64 depends on which interface you use for time_t, see time.h, page 304. To implement these functions does not require that you rebuild the library. You can find source templates in the files clock.c, time.c, time64.c, and getzone.c in the 430\src\lib directory. For information about overriding default library modules, see Overriding library modules, page 90. If you decide to rebuild the library, you can find source templates in the library project template. For more information, see Building and using a customized library, page 91. The default implementation of __getzone specifies UTC (Coordinated Universal Time) as the time zone. Note: If you link your application with support for I/O debugging, the functions clock and time are replaced by C-SPY variants that return the host clock and time respectively. For more information, see Application debug support, page 87. ------------------
Это замечательно, где бы найти пример реализаций и методику перекомпоновки библиотек ?
Сообщение отредактировал Dnepr33 - May 29 2014, 04:41
|