summaryrefslogtreecommitdiff
path: root/apps/examples/pashello/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-09 08:52:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-09 08:52:11 -0600
commitb373fc5405bc34fe4889a67d9a856c9228ae1240 (patch)
tree4dcde4ad339f61611ef2a291d3e52644d91ea4a8 /apps/examples/pashello/Kconfig
parent56078d9f356c73497be755f6a912b7d2da6c66e8 (diff)
downloadnuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.tar.gz
nuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.tar.bz2
nuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.zip
Create P-Code execution helper in apps/interpreters/prun; The P-Code binary format is functional except that there are still some modularity and kernel build issues that need to be addressed.
Diffstat (limited to 'apps/examples/pashello/Kconfig')
-rw-r--r--apps/examples/pashello/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/examples/pashello/Kconfig b/apps/examples/pashello/Kconfig
index 5591d6b5b..c13490677 100644
--- a/apps/examples/pashello/Kconfig
+++ b/apps/examples/pashello/Kconfig
@@ -6,8 +6,25 @@
config EXAMPLES_PASHELLO
bool "Pascal \"Hello, World!\" example"
default n
+ depends on INTERPRETERS_PCODE
+ select INTERPRETERS_PRUN
---help---
Enable the Pascal \"Hello, World!\" example
if EXAMPLES_PASHELLO
+
+config EXAMPLES_PASHELLO_VARSTACKSIZE
+ int "P-Code variable stack size"
+ default 1024
+ ---help---
+ This size of the P-Code variable storage area to be allocated by the
+ P-Code runtime.
+
+config EXAMPLES_PASHELLO_STRSTACKSIZE
+ int "P-Code string stack size"
+ default 128
+ ---help---
+ This size of the P-Code string stack area to be allocated by the
+ P-Code runtime.
+
endif