aboutsummaryrefslogtreecommitdiffstats
path: root/testing/micropython/0000-unix-mpconfigport.patch
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2017-10-24 17:13:37 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-11-06 09:03:53 +0000
commit6e26a52c3874952a802e5a7b0dc15920d2e6f696 (patch)
treea453c2416431313b7f3606825de8d44f257dbdcc /testing/micropython/0000-unix-mpconfigport.patch
parent72c08463545d601a08da1473439c0dc4c11e84ec (diff)
testing/micropython: Update 1.9.1 --> 1.9.2
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 067402341d6..bd9afa52f8e 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.