On Sat, Jan 28, 2023 at 7:35 PM Xiang Xiao <xiaoxiang781...@gmail.com>
wrote:

> 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
>
> While I appreciate the answer, I am using the sim as a testing platform
and hoping to move to either an STM32F4/7 or a Sony Spresense. I am hoping
for a solution that is applicable to an embedded project. If I can't just
add files to the initial image then I will look at the romfs example and
maybe the next best thing?


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