2014-02-27 16:10:40 +00:00
|
|
|
# Enable/disable modules and 3rd-party libs to be included in interpreter
|
|
|
|
|
2014-04-16 01:46:01 +01:00
|
|
|
# Build 32-bit binaries on a 64-bit host
|
|
|
|
MICROPY_FORCE_32BIT = 0
|
|
|
|
|
2015-05-24 22:36:31 +01:00
|
|
|
# This variable can take the following values:
|
2017-06-17 13:44:28 +01:00
|
|
|
# 0 - no readline, just simple stdin input
|
2015-05-24 22:36:31 +01:00
|
|
|
# 1 - use MicroPython version of readline
|
2014-02-27 16:10:40 +00:00
|
|
|
MICROPY_USE_READLINE = 1
|
2014-02-01 18:06:55 +00:00
|
|
|
|
2016-07-02 13:26:07 +01:00
|
|
|
# btree module using Berkeley DB 1.xx
|
|
|
|
MICROPY_PY_BTREE = 1
|
|
|
|
|
2016-04-22 23:53:51 +01:00
|
|
|
# _thread module using pthreads
|
|
|
|
MICROPY_PY_THREAD = 1
|
|
|
|
|
2014-08-19 08:23:14 +01:00
|
|
|
# Subset of CPython termios module
|
|
|
|
MICROPY_PY_TERMIOS = 1
|
|
|
|
|
2015-01-11 17:28:27 +00:00
|
|
|
# Subset of CPython socket module
|
|
|
|
MICROPY_PY_SOCKET = 1
|
|
|
|
|
2014-02-01 18:06:55 +00:00
|
|
|
# ffi module requires libffi (libffi-dev Debian package)
|
2014-05-24 23:03:12 +01:00
|
|
|
MICROPY_PY_FFI = 1
|
2015-09-11 15:57:47 +01:00
|
|
|
|
2017-06-17 13:44:28 +01:00
|
|
|
# ussl module requires one of the TLS libraries below
|
2016-05-26 00:12:11 +01:00
|
|
|
MICROPY_PY_USSL = 1
|
2017-06-17 13:44:28 +01:00
|
|
|
# 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.
|
2016-07-12 23:49:38 +01:00
|
|
|
MICROPY_SSL_AXTLS = 1
|
2017-06-17 13:44:28 +01:00
|
|
|
# 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.
|
2016-09-23 12:30:26 +01:00
|
|
|
MICROPY_SSL_MBEDTLS = 0
|
2015-10-06 16:10:00 +01:00
|
|
|
|
2015-09-11 15:57:47 +01:00
|
|
|
# jni module requires JVM/JNI
|
|
|
|
MICROPY_PY_JNI = 0
|
2016-05-28 18:38:14 +01:00
|
|
|
|
|
|
|
# Avoid using system libraries, use copies bundled with MicroPython
|
|
|
|
# as submodules (currently affects only libffi).
|
|
|
|
MICROPY_STANDALONE = 0
|