You can enable CONFIG_FS_HOSTFS/CONFIG_SIM_HOSTFS, put your scripts into
some PC folder and run mount this folder from nsh:
mount -t hostfs -o fs=/path/to/your/pc/folder. /data


On Sun, Jan 29, 2023 at 2:24 AM Russell Haley <russ.ha...@gmail.com> wrote:

> Hi,
>
> Big thanks to Xiang Xiao for pointing me to the sim:lua configuration. I
> was unable to simply include the defconfig file that you linked to, but I
> was able to reconfigure for the sim:lua configuration.  I've now got an app
> in the examples folder that includes the Lua interpreter. Is there a
> tutorial on how to include folders and lua scripts or extra files in the
> initial file system?
>
> Much appreciated,
> Russ
>

Reply via email to