From 3e758ef235793502061edd122cd5cd91172faf51 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Fri, 29 May 2020 13:05:47 -0700 Subject: 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. --- tools/codeformat.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/codeformat.py') 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]", -- cgit v1.2.3