8f20cdc353
For time-based functions that work with absolute time there is the need for an Epoch, to set the zero-point at which the absolute time starts counting. Such functions include time.time() and filesystem stat return values. And different ports may use a different Epoch. To make it clearer what functions use the Epoch (whatever it may be), and make the ports more consistent with their use of the Epoch, this commit renames all Epoch related functions to include the word "epoch" in their name (and remove references to "2000"). Along with this rename, the following things have changed: - mp_hal_time_ns() is now specified to return the number of nanoseconds since the Epoch, rather than since 1970 (but since this is an internal function it doesn't change anything for the user). - littlefs timestamps on the esp8266 have been fixed (they were previously off by 30 years in nanoseconds). Otherwise, there is no functional change made by this commit. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
asf4@d270f79aa1 | ||
axtls@43a6e6bd3b | ||
berkeley-db-1.xx@35aaec4418 | ||
btstack@c8b9823f68 | ||
cmsis/inc | ||
embed | ||
libc | ||
libffi@e9de7e35f2 | ||
libm | ||
libm_dbl | ||
littlefs | ||
lwip@159e31b689 | ||
mbedtls@3f8d78411a | ||
mbedtls_errors | ||
memzip | ||
mp-readline | ||
mynewt-nimble@97ce3eacaa | ||
netutils | ||
nrfx@7a4c9d946c | ||
nxp_driver@b618cb1d52 | ||
oofatfs | ||
stm32lib@58fee7c92b | ||
timeutils | ||
tinytest | ||
tinyusb@a6b916ba85 | ||
upytesthelper | ||
utils | ||
README.md |
README.md
This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.