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
|
|
|
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not present
|
2016-07-02 08:26:07 -04:00
|
|
|
# btree module using Berkeley DB 1.xx
|
2023-08-13 19:05:09 -04:00
|
|
|
MICROPY_PY_BTREE = 0
|
2016-07-02 08:26:07 -04:00
|
|
|
|
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
|
|
|
|
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not present
|
2015-01-11 12:28:27 -05:00
|
|
|
# Subset of CPython socket module
|
2021-05-04 14:40:55 -04:00
|
|
|
MICROPY_PY_SOCKET = 0
|
2015-01-11 12:28:27 -05:00
|
|
|
|
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
|
|
|
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not present
|
2022-08-18 01:01:26 -04:00
|
|
|
# ssl module requires one of the TLS libraries below
|
2023-10-18 17:49:14 -04:00
|
|
|
MICROPY_PY_SSL = 0
|
2019-06-05 01:28:30 -04:00
|
|
|
# axTLS has minimal size but implements only a subset of modern TLS
|
|
|
|
# functionality, so may have problems with some servers.
|
2021-04-20 21:04:23 -04:00
|
|
|
MICROPY_SSL_AXTLS = 0
|
2017-06-17 08:44:28 -04:00
|
|
|
# mbedTLS is more up to date and complete implementation, but also
|
2021-04-23 15:26:42 -04:00
|
|
|
# more bloated.
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not present
|
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
|
2020-02-04 11:24:37 -05:00
|
|
|
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not used
|
2023-09-19 11:10:12 -04:00
|
|
|
MICROPY_ROM_TEXT_COMPRESSION = 0
|
2022-08-15 11:56:25 -04:00
|
|
|
|
|
|
|
MICROPY_VFS_FAT = 1
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE: not used
|
2023-09-19 11:10:12 -04:00
|
|
|
MICROPY_VFS_LFS1 = 0
|
|
|
|
MICROPY_VFS_LFS2 = 0
|
|
|
|
|
2023-10-19 16:42:36 -04:00
|
|
|
# CIRCUITPY-CHANGE
|
2020-03-17 10:33:03 -04:00
|
|
|
CIRCUITPY_ULAB = 1
|
2023-10-20 14:02:12 -04:00
|
|
|
CIRCUITPY_MESSAGE_COMPRESSION_LEVEL = 1
|
2023-08-13 19:05:09 -04:00
|
|
|
MICROPY_EMIT_NATIVE = 0
|
|
|
|
CFLAGS += -DCIRCUITPY=1
|