mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
extmod/vfs: Add mp_vfs_mount_romfs_protected() helper.
This function will attempt to create a `VfsRom` instance and mount it at location "/rom" in the filesystem. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -68,6 +68,11 @@ Q(utf-8)
|
||||
Q(.frozen)
|
||||
#endif
|
||||
|
||||
#if MICROPY_VFS_ROM && MICROPY_VFS_ROM_IOCTL
|
||||
Q(/rom)
|
||||
Q(/rom/lib)
|
||||
#endif
|
||||
|
||||
#if MICROPY_ENABLE_PYSTACK
|
||||
Q(pystack exhausted)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user