lib/mbedtls_errors: Add code to patch mbedtls for shortened error strs.

The file `mbedtls_errors/mp_mbedtls_errors.c` can be used instead of
`mbedtls/library/error.c` to give shorter error strings, reducing the build
size of the error strings from about 12-16kB down to about 2-5kB.
This commit is contained in:
Thorsten von Eicken
2020-05-29 13:05:47 -07:00
committed by Damien George
parent 98e583430f
commit 3e758ef235
9 changed files with 1008 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ PATHS = [
"extmod/*.[ch]",
"extmod/btstack/*.[ch]",
"extmod/nimble/*.[ch]",
"lib/mbedtls_errors/tester.c",
"lib/netutils/*.[ch]",
"lib/timeutils/*.[ch]",
"lib/utils/*.[ch]",