We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b8ca2 commit 840b641Copy full SHA for 840b641
py/runtime.c
@@ -46,6 +46,10 @@
46
#include "py/cstack.h"
47
#include "py/gc.h"
48
49
+#if MICROPY_VFS_ROM && MICROPY_VFS_ROM_IOCTL
50
+#include "extmod/vfs.h"
51
+#endif
52
+
53
#if MICROPY_DEBUG_VERBOSE // print debugging info
54
#define DEBUG_PRINT (1)
55
#define DEBUG_printf DEBUG_printf
@@ -185,6 +189,11 @@ void mp_init(void) {
185
189
#endif
186
190
187
191
MP_THREAD_GIL_ENTER();
192
193
+ #if MICROPY_VFS_ROM && MICROPY_VFS_ROM_IOCTL
194
+ // Mount ROMFS if it exists.
195
+ mp_vfs_mount_romfs_protected();
196
+ #endif
188
197
}
198
199
void mp_deinit(void) {
0 commit comments