micropython/unix/mpconfigport.mk
Paul Sokolovsky e79c6b6312 unix/modjni: "jni" module to interface to JNI-compliant JavaVM.
This includes Android Dalvik VM for example.

Example usage:

import jni
System = jni.cls("java/lang/System")
System.out.println("Hello, Java!")
2015-09-11 21:38:57 +03:00

26 lines
655 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
# This variable can take the following values:
# 0 - no readline, just simple input
# 1 - use MicroPython version of readline
# 2 - use 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
# Subset of CPython socket module
MICROPY_PY_SOCKET = 1
# ffi module requires libffi (libffi-dev Debian package)
MICROPY_PY_FFI = 1
# jni module requires JVM/JNI
MICROPY_PY_JNI = 0