mirror of https://github.com/ARMmbed/mbed-os.git
Initially from Karls question here: http://developer.mbed.org/questions/6337/setTime-and-time-exported-with-__weak-fo/#answer6545?compage=1#c15936. Currently the C time functions only work with internal RTC. Sometimes you either want to use an external one, or your target does not even have an internal RTC. I added function attach_rtc(...) where the default functions can be overridden at runtime. |
||
|---|---|---|
| .. | ||
| api | ||
| common | ||
| hal | ||
| targets | ||