mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
boards/sim/rcS: hostfs mount to server if CONFIG_FS_HOSTFS_RPMSG=y
Change-Id: I90758f4e4fcf6ae4f802da80e4b17a287e74c7c0 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -43,8 +43,13 @@ mount -t vfat CONCAT(/dev/ram, CONFIG_NSH_FATDEVNO) CONFIG_NSH_FATMOUNTPT
|
||||
|
||||
#ifdef CONFIG_FS_HOSTFS
|
||||
|
||||
#ifdef CONFIG_FS_HOSTFS_RPMSG
|
||||
mount -t hostfs -o fs=/system /system
|
||||
mount -t hostfs -o fs=/data /data
|
||||
#else
|
||||
mount -t hostfs -o fs=../apps /system
|
||||
mount -t hostfs -o fs=. /data
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TESTING_TESTRUNNER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user