diff options
| author | Damien George <damien@micropython.org> | 2022-07-15 12:27:33 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-18 22:43:01 +1000 |
| commit | 13c78ab6fef333c913d54bafaf628c121fe1e58d (patch) | |
| tree | 6b4c78a3fe97809de7154d2d4c0c398f8ede6de8 | |
| parent | 26dec1fafb0c3fb45d9f3e21b98a1bb268008f2f (diff) | |
unix/mpconfigport: Switch ussl from axtls to mbedtls.
The reasons to make this switch are:
- The axtls library is not being maintained/updated, mbedtls is.
- So CI and tests can run against mbedtls, which is now the main TLS
library used by the ports (eg stm32, rp2, mimxrt, esp32). Only esp8266
uses axtls.
Increases unix standard build on x86-64 by about 89000 bytes.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/unix/mpconfigport.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/mpconfigport.mk b/ports/unix/mpconfigport.mk index 3a66d997b..fe9eec18d 100644 --- a/ports/unix/mpconfigport.mk +++ b/ports/unix/mpconfigport.mk @@ -27,10 +27,10 @@ MICROPY_PY_FFI = 1 MICROPY_PY_USSL = 1 # axTLS has minimal size but implements only a subset of modern TLS # functionality, so may have problems with some servers. -MICROPY_SSL_AXTLS = 1 +MICROPY_SSL_AXTLS = 0 # mbedTLS is more up to date and complete implementation, but also # more bloated. -MICROPY_SSL_MBEDTLS = 0 +MICROPY_SSL_MBEDTLS = 1 # jni module requires JVM/JNI MICROPY_PY_JNI = 0 |
