Fixing config and js_romfs.

This commit is contained in:
Sergiotarxz 2024-11-16 15:54:54 +01:00
parent 4cfa9d1f89
commit 306268f37c
2 changed files with 2 additions and 2 deletions

View File

@ -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
#

View File

@ -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/