micropython/lib
Damien George 8f20cdc353 all: Rename absolute time-based functions to include "epoch".
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>
2020-09-18 17:20:34 +10:00
..
asf4@d270f79aa1 lib: Add asf4 as a submodule. 2019-07-01 17:18:44 +10:00
axtls@43a6e6bd3b axtls: Update, exposes AES functions to implement ECB chiper mode. 2017-11-05 11:37:05 +02:00
berkeley-db-1.xx@35aaec4418 berkeley-db-1.xx: Update, allow to override MINCACHE, DEFPSIZE. 2017-09-10 13:51:51 +03:00
btstack@c8b9823f68 lib/btstack: Update to c8b9823 for USB HCI reset timeout fix. 2020-04-29 16:54:12 +10:00
cmsis/inc lib/cmsis: Upgrade to CMSIS 5.5.1. 2019-06-03 14:40:57 +10:00
embed py/stream: Remove mp_stream_errno and use system errno instead. 2020-04-27 23:58:46 +10:00
libc lib/libc: Fix string0's implementation of strncpy. 2020-07-22 16:29:54 +10:00
libffi@e9de7e35f2 lib/libffi: Add libffi as a submodule. 2015-10-17 15:52:35 +03:00
libm lib/libm: Reduce size of static two_over_pi array. 2020-09-04 00:45:56 +10:00
libm_dbl lib/libm_dbl: Add round.c source code. 2020-07-21 11:07:19 +10:00
littlefs lib/littlefs: Update littlefs2 to v2.2.0. 2020-04-09 15:59:28 +10:00
lwip@159e31b689 lib/lwip: Update lwIP to v2.1.2, tag STABLE-2_1_2_RELEASE. 2019-07-04 10:36:23 +10:00
mbedtls@3f8d78411a lib: Add new submodule for mbedtls, currently at v2.17.0. 2019-06-05 15:21:40 +10:00
mbedtls_errors lib/mbedtls_errors: Add code to patch mbedtls for shortened error strs. 2020-07-20 23:53:27 +10:00
memzip lib/memzip: Make lexer constructor raise exception when file not found. 2017-03-14 11:52:05 +11:00
mp-readline lib/mp-readline: Add word-based move/delete EMACS key sequences. 2020-01-12 13:09:27 +11:00
mynewt-nimble@97ce3eacaa lib/mynewt-nimble: Update submodule to NimBLE release 1.3.0. 2020-04-27 22:50:42 +10:00
netutils all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
nrfx@7a4c9d946c lib/nrfx: Upgrade to nrfx v2.0.0. 2020-05-15 15:06:02 +10:00
nxp_driver@b618cb1d52 mimxrt: Add new, minimal port to NXP i.MX RT series CPUs. 2020-03-11 15:34:13 +11:00
oofatfs lib/oofatfs: Update oofatfs library to fix issue with logic not. 2019-03-07 15:03:09 +11:00
stm32lib@58fee7c92b lib/stm32lib: Update library for H7 v1.6.0 and WB v1.6.0. 2020-07-21 01:02:58 +10:00
timeutils all: Rename absolute time-based functions to include "epoch". 2020-09-18 17:20:34 +10:00
tinytest Revert "lib/tinytest: Clean up test reporting in the presence of std..." 2019-12-19 17:53:46 +11:00
tinyusb@a6b916ba85 lib/tinyusb: Update to a6b916ba for i.MX support. 2020-03-11 15:32:55 +11:00
upytesthelper py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
utils stm32/uart: Allow static IRQ handler registration. 2020-09-08 10:46:30 +10:00
README.md lib: Add basic README. 2014-09-18 00:13:03 +01:00

README.md

This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.