mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
boards/nucleo-h743zi: register TMPFS
register TMPFS for nucleo-h743zi Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
@@ -274,6 +274,17 @@ int stm32_bringup(void)
|
||||
}
|
||||
#endif /* CONFIG_FS_PROCFS */
|
||||
|
||||
#ifdef CONFIG_FS_TMPFS
|
||||
/* Mount the tmpfs file system */
|
||||
|
||||
ret = nx_mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to mount tmpfs at %s: %d\n",
|
||||
CONFIG_LIBC_TMPDIR, ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_ROMFS
|
||||
/* Mount the romfs partition */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user