summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/nrf/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/main.c b/ports/nrf/main.c
index f7d42060e..9ffe7a285 100644
--- a/ports/nrf/main.c
+++ b/ports/nrf/main.c
@@ -230,7 +230,7 @@ pin_init0();
led_state(1, 0);
-#if MICROPY_VFS || MICROPY_MBFS
+#if MICROPY_VFS || MICROPY_MBFS || MICROPY_MODULE_FROZEN
// run boot.py and main.py if they exist.
pyexec_file_if_exists("boot.py");
pyexec_file_if_exists("main.py");