diff options
author | Thorsten von Eicken <tve@voneicken.com> | 2020-05-29 13:05:47 -0700 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-07-20 23:53:27 +1000 |
commit | 3e758ef235793502061edd122cd5cd91172faf51 (patch) | |
tree | ba4ed41e0e9bb6e3bf6123eab0cd78ec40209aac /tools/codeformat.py | |
parent | 98e583430fb7b793119db27bad9f98119e81579f (diff) | |
download | micropython-3e758ef235793502061edd122cd5cd91172faf51.tar.gz micropython-3e758ef235793502061edd122cd5cd91172faf51.zip |
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.
Diffstat (limited to 'tools/codeformat.py')
-rwxr-xr-x | tools/codeformat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/codeformat.py b/tools/codeformat.py index 653529460c..81a3cdcf8e 100755 --- a/tools/codeformat.py +++ b/tools/codeformat.py @@ -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]", |