interpreters/python: Add Python's port to NuttX

This is the NuttX's port of Python (cpython)!

Initial support of Python includes building the Python's static
library and the `python` (Programs/python.c) application. Python's
modules are stored in `pyc` (byte-code file) and loaded as needed
from flash.
This commit is contained in:
Tiago Medicci 2024-12-04 16:48:38 -03:00 • committed by Xiang Xiao
parent c750750ceb
commit 42596cc5cf
17 changed files with 1364 additions and 0 deletions

View file

@ -0,0 +1,21 @@
export ac_cv_file__dev_ptmx="no"
export ac_cv_file__dev_ptc="no"
export ac_cv_buggy_getaddrinfo="no"
export ac_cv_func_getaddrinfo="yes"
export ac_cv_pthread_is_default="yes"
export ac_cv_func_acosh="yes"
export ac_cv_func_asinh="yes"
export ac_cv_func_atanh="yes"
export ac_cv_func_erf="yes"
export ac_cv_func_erfc="yes"
export ac_cv_func_expm1="yes"
export ac_cv_func_log1p="yes"
export ac_cv_func_log2="yes"
export ac_cv_func_clock_gettime="yes"
export ac_cv_header_sys_syscall_h="no"
export ac_cv_func_timegm="yes"
export ac_cv_func_clock="yes"
export ac_cv_func_fork="yes"
export ac_cv_func_waitpid="yes"
export ac_cv_func_pipe="yes"
export MODULE_BUILDTYPE="static"