nuttx-apps/interpreters/python/Kconfig
Matteo Golin 3ce356378d !interpreters/python: Align naming of configuration options
Aligns `CONFIG_INTERPRETER_*` options to `CONFIG_INTERPRETERS_*` options
to be consistent with other interpreters.

BREAKING CHANGE: All configurations using `CONFIG_INTERPRETER_PYTHON_*`
options will no longer compile due to missing symbol errors. The fix is
very quick: any configurations using this options should add a trailing
S following INTERPRETER in the affected Kconfig variables. I believe
`./tools/refresh.sh` should also be capable of doing this automatically.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-18 11:01:02 +01:00

40 lines
984 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config INTERPRETERS_CPYTHON
tristate "CPython"
depends on LIB_ZLIB
depends on EXPERIMENTAL
default n
---help---
Enable the CPython port to NuttX. This is a port of the Python
interpreter to NuttX. Initially, it is tweaked to work with the
RISC-V QEMU virtual board (`rv-virt`).
if INTERPRETERS_CPYTHON
config INTERPRETERS_CPYTHON_VERSION
string "Python Version"
default "3.13.0"
config INTERPRETERS_CPYTHON_STACKSIZE
int "CPython stack size"
default 307200
---help---
This is the stack size allocated when the CPython task runs.
config INTERPRETERS_CPYTHON_PRIORITY
int "CPython task priority"
default 100
---help---
This is the priority of the CPython task.
config INTERPRETERS_CPYTHON_PROGNAME
string "CPython name"
default "python"
---help---
This is the name of the program that will be used from the nsh.
endif