4f9ebade60
Also provides setraw() function from "tty" module (which in CPython is implemented in Python). The idea here is that 95% of "termios" module usage is to set raw mode to allow access to normal serial devices. Then, instead of exporting gazillion termios symbols, it's better to implement it in C, and export minimal number of symbols (mostly baud rates and drain values).
17 lines
422 B
Makefile
17 lines
422 B
Makefile
# 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
|
|
|
|
# Linking with GNU readline causes binary to be licensed under GPL
|
|
MICROPY_USE_READLINE = 1
|
|
|
|
# Subset of CPython time module
|
|
MICROPY_PY_TIME = 1
|
|
|
|
# Subset of CPython termios module
|
|
MICROPY_PY_TERMIOS = 1
|
|
|
|
# ffi module requires libffi (libffi-dev Debian package)
|
|
MICROPY_PY_FFI = 1
|