mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
rv-virt: Add tmpfs mount points
This commit add mount point for tmpfs in the board_app_initialize function. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
e40b66bd6f
commit
dce459767e
@@ -110,6 +110,10 @@ int board_app_initialize(uintptr_t arg)
|
||||
|
||||
mount(NULL, "/proc", "procfs", 0, NULL);
|
||||
|
||||
#ifdef CONFIG_FS_TMPFS
|
||||
mount(NULL, "/tmp", "tmpfs", 0, NULL);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DRIVERS_VIRTIO_MMIO
|
||||
|
||||
Reference in New Issue
Block a user