circuitpython/lib
Damien George e08ca78f40 py/stream: Remove mp_stream_errno and use system errno instead.
This change is made for two reasons:

1. A 3rd-party library (eg berkeley-db-1.xx, axtls) may use the system
   provided errno for certain errors, and yet MicroPython stream objects
   that it calls will be using the internal mp_stream_errno.  So if the
   library returns an error it is not known whether the corresponding errno
   code is stored in the system errno or mp_stream_errno.  Using the system
   errno in all cases (eg in the mp_stream_posix_XXX wrappers) fixes this
   ambiguity.

2. For systems that have threading the system-provided errno should always
   be used because the errno value is thread-local.

For systems that do not have an errno, the new lib/embed/__errno.c file is
provided.
2020-04-27 23:58:46 +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@8ffc7c281a lib/btstack: Update to latest master btstack commit. 2020-04-07 13:46:56 +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/string0: Add simple implementations of strspn and strcspn. 2019-10-30 12:14:52 +11:00
libffi@e9de7e35f2 lib/libffi: Add libffi as a submodule. 2015-10-17 15:52:35 +03:00
libm all: Remove commented-out include statements. 2020-04-23 11:24:15 +10:00
libm_dbl all: Remove commented-out include statements. 2020-04-23 11:24:15 +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
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@7513fc9d5c lib/nrfx: Upgrade nrfx to master. 2019-05-21 17:45:01 +02: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@668d7a9e54 lib/stm32lib: Update library for updated H7xx, new L0xx, new WBxx. 2019-07-03 23:36:43 +10:00
timeutils all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11: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 all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
README.md lib: Add basic README. 2014-09-18 00:13:03 +01:00

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