aboutsummaryrefslogtreecommitdiff
path: root/targets/nuttx-stm32f4/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'targets/nuttx-stm32f4/Kconfig')
-rw-r--r--targets/nuttx-stm32f4/Kconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/targets/nuttx-stm32f4/Kconfig b/targets/nuttx-stm32f4/Kconfig
new file mode 100644
index 00000000..9b34cf81
--- /dev/null
+++ b/targets/nuttx-stm32f4/Kconfig
@@ -0,0 +1,34 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+config JERRYSCRIPT
+ bool "Jerryscript"
+ default n
+ ---help---
+ Enable Jerryscript ECMAScript 5.1 interpreter
+
+if JERRYSCRIPT
+
+config JERRYSCRIPT_PROGNAME
+ string "Program name"
+ default "jerry"
+ depends on BUILD_KERNEL
+ ---help---
+ This is the name of the program that will be
+ use when the NSH ELF program is installed.
+
+config JERRYSCRIPT_PRIORITY
+ int "Jerryscript task priority"
+ default 100
+
+config JERRYSCRIPT_STACKSIZE
+ int "Jerryscript stack size"
+ default 16384
+
+config JERRYSCRIPT_HEAPSIZE
+ int "Jerryscript heap size"
+ default 107520
+
+endif