Post · 1 min read· p. 416

Host File System

Host File System

The Host file system provides a mechanism to mount directories from the host OS during simulation mode. The host directory to be “mounted” is specified during the mount command using the -o command line switch, such as:

text
mount -t hostfs -o fs=/home/user/nuttx_root /host

For non-NSH operation, the option fs=home/user/nuttx_root would be passed to the mount() routine using the optional void *data parameter.