summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Krejcir <akrejcir@gmail.com>2019-12-03 23:01:26 +0100
committerDamien George <damien.p.george@gmail.com>2019-12-05 23:11:12 +1100
commit210d05328664ebd2f106d9a3569c5e5e1b4b79ed (patch)
tree9adbbb426289f16a0d51887068a25058f870b8f4
parentd61e7a6d8a146f0dd528ebc398c576d69a78f41c (diff)
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.
-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");