mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
Syscall fixes: Add support for Cortex-M7; mount syscall has to be suppressed if there are no mountable file systems
This commit is contained in:
@@ -303,9 +303,11 @@
|
||||
# endif
|
||||
|
||||
# if !defined(CONFIG_DISABLE_MOUNTPOINT)
|
||||
# define SYS_fsync (__SYS_mountpoint+0)
|
||||
# define SYS_mkdir (__SYS_mountpoint+1)
|
||||
# define SYS_mount (__SYS_mountpoint+2)
|
||||
# if defined(CONFIG_FS_READABLE)
|
||||
# define SYS_mount (__SYS_mountpoint+0)
|
||||
# endif
|
||||
# define SYS_fsync (__SYS_mountpoint+1)
|
||||
# define SYS_mkdir (__SYS_mountpoint+2)
|
||||
# define SYS_rename (__SYS_mountpoint+3)
|
||||
# define SYS_rmdir (__SYS_mountpoint+4)
|
||||
# define SYS_umount2 (__SYS_mountpoint+5)
|
||||
|
||||
Reference in New Issue
Block a user