diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-11 14:07:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-11 14:07:51 -0600 |
commit | 2a34454b57e467a1e0a95956d8b91e495370ba71 (patch) | |
tree | 4030278daac80be01a6264234516cd964e3bbb03 /apps/interpreters | |
parent | 26e96520aca15d1783375672cf8e086343354554 (diff) | |
download | px4-nuttx-2a34454b57e467a1e0a95956d8b91e495370ba71.tar.gz px4-nuttx-2a34454b57e467a1e0a95956d8b91e495370ba71.tar.bz2 px4-nuttx-2a34454b57e467a1e0a95956d8b91e495370ba71.zip |
Update README
Diffstat (limited to 'apps/interpreters')
-rw-r--r-- | apps/interpreters/README.txt | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/apps/interpreters/README.txt b/apps/interpreters/README.txt index 5f776a508..b4bc3d556 100644 --- a/apps/interpreters/README.txt +++ b/apps/interpreters/README.txt @@ -19,6 +19,22 @@ micropython https://micropython.org/ + Configuration Options: + + CONFIG_INTERPRETERS_MICROPYTHON - Enables support for the Micro Python + interpreter + CONFIG_INTERPRETERS_MICROPYTHON_URL - URL where Micro Python can be + downloaded. default "https://github.com/micropython/micropython/archive" + CONFIG_INTERPRETERS_MICROPYTHON_VERSION - Version number. Default "1.3.8" + CONFIG_INTERPRETERS_MICROPYTHON_APPNAME - Executable name. Only needed + if CONFIG_NSH_BUILTIN_APPS=y. Default: "micropython" + CONFIG_INTERPRETERS_MICROPYTHON_STACKSIZE - Interpreter stack size. Only + needed if CONFIG_NSH_BUILTIN_APPS=y. Default: 2048 + CONFIG_INTERPRETERS_MICROPYTHON_PRIORITY - Interpreter priority. Only + needed if CONFIG_NSH_BUILTIN_APPS=y. Default: 100 + CONFIG_INTERPRETERS_MICROPYTHON_PROGNAME - Program name. Only needed + if CONFIG_BUILD_KERNEL=y. Default: "micropython" + NOTE that Micro Python is not included in this directory. Be default, it will be downloaded at build time from the github . You can avoid this download by pre-installing Micro Python. Before building, just @@ -32,8 +48,13 @@ micropython https://github.com/micropython/ https://github.com/micropython/micropython - The Micro Python code should reside in directory should be - apps/interpreters/micropython/micropython-$(CONFIG_INTERPRETERS_MICROPYTHON_VERSION) + The Micro Python should be provided as a tarbll name: + + apps/interpreters/micropython/v$(CONFIG_INTERPRETERS_MICROPYTHON_VERSION).tar.gz + + and the unpacked code should reside in directory at: + + apps/interpreters/micropython/micropython-$(CONFIG_INTERPRETERS_MICROPYTHON_VERSION) This port was contributed by Dave Marples using Micro Python circa 1.3.8. It may not be compatible with other versions. |