diff options
| author | Damien George <damien@micropython.org> | 2025-02-21 00:37:49 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-06 12:52:35 +1100 |
| commit | d4b8ca2ffc3967007297d17e995d955ca39b1d6d (patch) | |
| tree | c6bb5594d84e520c039fad2741ff717d308871f0 /py/qstrdefs.h | |
| parent | 89e6c58c8007e2628741e73c32866c23e8478ae1 (diff) | |
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>
Diffstat (limited to 'py/qstrdefs.h')
| -rw-r--r-- | py/qstrdefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 5003636df..0b50d279f 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -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 |
