e8be1984bb
Initial porting to tizenrt-artik05x. Tizen RT is a lightweight RTOS-based platform to support low-end IoT devices. The project is under developing in github TizenRt repo. Artik05x is an IoT SoC solution that will be released soon. This PR contains the minimum porting that can print Hello world from jerryscript and a document for building and running. I used jerry_port.c and jerry_main.c in nuttx port and default port for porting base code. Also I used Make.defs and Makefile in working example in tizenrt for adding jerryscript configuration. JerryScript-DCO-1.0-Signed-off-by: Sanggyu Lee sg5.lee@samsung.com
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
#
|
|
# 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
|
|
|
|
config JERRYSCRIPT_ERROR_MESSAGES
|
|
bool "Enable error messages for builtin error objects"
|
|
default n
|
|
|
|
config JERRYSCRIPT_MEM_STATS
|
|
bool "Enable memory statistics"
|
|
default n
|
|
|
|
config JERRYSCRIPT_SHOW_OPCODES
|
|
bool "Enable parser byte-code dumps"
|
|
default n
|
|
|
|
config JERRYSCRIPT_DEBUGGER
|
|
bool "Jerryscript debugger"
|
|
default n
|
|
|
|
if JERRYSCRIPT_DEBUGGER
|
|
config JERRYSCRIPT_DEBUGGER_PORT
|
|
int "Jerryscript debugger port"
|
|
default 5001
|
|
endif
|
|
|
|
endif
|