Skip to content

Commit 210d053

Browse files
akrejcirdpgeorge
authored andcommitted
nrf/main: Execute boot.py/main.py frozen modules without a file system.
When the file system is not enabled, the boot.py and main.py modules will still be executed, if they are frozen.
1 parent d61e7a6 commit 210d053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/nrf/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ pin_init0();
230230

231231
led_state(1, 0);
232232

233-
#if MICROPY_VFS || MICROPY_MBFS
233+
#if MICROPY_VFS || MICROPY_MBFS || MICROPY_MODULE_FROZEN
234234
// run boot.py and main.py if they exist.
235235
pyexec_file_if_exists("boot.py");
236236
pyexec_file_if_exists("main.py");

0 commit comments

Comments
 (0)