Fixing config and js_romfs.
This commit is contained in:
parent
4cfa9d1f89
commit
306268f37c
2
.config
2
.config
@ -1921,11 +1921,11 @@ CONFIG_INTERPRETERS_DUKTAPE=y
|
||||
CONFIG_INTERPRETERS_DUKTAPE_PRIORITY=100
|
||||
CONFIG_INTERPRETERS_DUKTAPE_STACKSIZE=8192
|
||||
# CONFIG_INTERPRETERS_FICL is not set
|
||||
# CONFIG_INTERPRETERS_LUAJIT is not set
|
||||
CONFIG_CUSTOM_APPS_CUSTOM_HELLO=y
|
||||
CONFIG_CUSTOM_APPS_CUSTOM_HELLO_PROGNAME="custom_hello"
|
||||
CONFIG_CUSTOM_APPS_CUSTOM_HELLO_PRIORITY=100
|
||||
CONFIG_CUSTOM_APPS_CUSTOM_HELLO_STACKSIZE=4096
|
||||
# CONFIG_INTERPRETERS_LUAJIT is not set
|
||||
# CONFIG_INTERPRETERS_LUA is not set
|
||||
|
||||
#
|
||||
|
@ -4,4 +4,4 @@ genromfs -f $romfsimg -d js -V "NSHInitVol" || { echo "genromfs failed" ; exit 1
|
||||
echo '#include <nuttx/compiler.h>' >${headerfile}
|
||||
xxd -i $romfsimg | sed 's/^unsigned char/const unsigned char aligned_data(4)/g' >>${headerfile} || \
|
||||
{ echo "ERROR: xxd of $< failed" ; rm -f $romfsimg; exit 1 ; }
|
||||
cp $headerfile ~/apps/interpreters/hello/
|
||||
cp $headerfile ../apps/interpreters/hello/
|
||||
|
Loading…
Reference in New Issue
Block a user