aboutsummaryrefslogtreecommitdiffstats
path: root/testing/micropython/0000-unix-mpconfigport.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/micropython/0000-unix-mpconfigport.patch')
-rw-r--r--testing/micropython/0000-unix-mpconfigport.patch19
1 files changed, 11 insertions, 8 deletions
diff --git a/testing/micropython/0000-unix-mpconfigport.patch b/testing/micropython/0000-unix-mpconfigport.patch
index 067402341d..bd9afa52f8 100644
--- a/testing/micropython/0000-unix-mpconfigport.patch
+++ b/testing/micropython/0000-unix-mpconfigport.patch
@@ -1,5 +1,5 @@
---- micropython-1.9.1/unix/mpconfigport.mk
-+++ micropython-1.9.1/unix/mpconfigport.mk
+--- micropython-1.9.2-old/unix/mpconfigport.mk
++++ micropython-1.9.2/unix/mpconfigport.mk
@@ -9,7 +9,7 @@
MICROPY_USE_READLINE = 1
@@ -9,14 +9,17 @@
# _thread module using pthreads
MICROPY_PY_THREAD = 1
-@@ -24,8 +24,8 @@
+@@ -24,11 +24,11 @@
MICROPY_PY_FFI = 1
- # ussl module requires axtls
+ # ussl module requires one of the TLS libraries below
-MICROPY_PY_USSL = 1
--MICROPY_SSL_AXTLS = 1
+MICROPY_PY_USSL = 0
+ # axTLS has minimal size and fully integrated with MicroPython, but
+ # implements only a subset of modern TLS functionality, so may have
+ # problems with some servers.
+-MICROPY_SSL_AXTLS = 1
+MICROPY_SSL_AXTLS = 0
- MICROPY_SSL_MBEDTLS = 0
-
- # jni module requires JVM/JNI
+ # mbedTLS is more up to date and complete implementation, but also
+ # more bloated. Configuring and building of mbedTLS should be done
+ # outside of MicroPython, it can just link with mbedTLS library.