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