summaryrefslogtreecommitdiff
path: root/create_tools/config/micropython.mpconfigport
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2023-10-14 08:24:18 +0100
committerFreeArtMan <dos21h@gmail.com>2023-10-14 08:24:18 +0100
commit6db32478d5951f01fd055c61176db0fea84379a7 (patch)
treefd5dec7df6bb293f8754335648bb97c3c106bab4 /create_tools/config/micropython.mpconfigport
parentd06103b3d68eff371751c0ab21c478077718a937 (diff)
downloados201-6db32478d5951f01fd055c61176db0fea84379a7.tar.gz
os201-6db32478d5951f01fd055c61176db0fea84379a7.zip
Compiling and createing arm64 image
Diffstat (limited to 'create_tools/config/micropython.mpconfigport')
-rw-r--r--create_tools/config/micropython.mpconfigport46
1 files changed, 46 insertions, 0 deletions
diff --git a/create_tools/config/micropython.mpconfigport b/create_tools/config/micropython.mpconfigport
new file mode 100644
index 0000000..11fbbb7
--- /dev/null
+++ b/create_tools/config/micropython.mpconfigport
@@ -0,0 +1,46 @@
+# Enable/disable modules and 3rd-party libs to be included in interpreter
+
+# Build 32-bit binaries on a 64-bit host
+MICROPY_FORCE_32BIT = 0
+
+# This variable can take the following values:
+# 0 - no readline, just simple stdin input
+# 1 - use MicroPython version of readline
+MICROPY_USE_READLINE = 1
+
+# btree module using Berkeley DB 1.xx
+MICROPY_PY_BTREE = 1
+
+# _thread module using pthreads
+MICROPY_PY_THREAD = 1
+
+# Subset of CPython termios module
+MICROPY_PY_TERMIOS = 1
+
+# Subset of CPython socket module
+MICROPY_PY_SOCKET = 0
+
+# ffi module requires libffi (libffi-dev Debian package)
+MICROPY_PY_FFI = 0
+
+# ussl module requires one of the TLS libraries below
+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 = 0
+# mbedTLS is more up to date and complete implementation, but also
+# more bloated.
+MICROPY_SSL_MBEDTLS = 1
+
+# jni module requires JVM/JNI
+MICROPY_PY_JNI = 0
+
+# Avoid using system libraries, use copies bundled with MicroPython
+# as submodules (currently affects only libffi).
+MICROPY_STANDALONE = 1
+
+MICROPY_ROM_TEXT_COMPRESSION = 1
+
+MICROPY_VFS_FAT = 1
+MICROPY_VFS_LFS1 = 1
+MICROPY_VFS_LFS2 = 1