From aa7828f822391f2b44224e81af27d29a26a9ccb6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 22 Sep 2016 04:05:10 +0300 Subject: [PATCH] zephyr/main: Execute main.py frozen module on boot, if available. --- zephyr/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr/main.c b/zephyr/main.c index 445ef98f4d..d6ac56943c 100644 --- a/zephyr/main.c +++ b/zephyr/main.c @@ -44,6 +44,7 @@ int real_main(void) { gc_init(heap, heap + sizeof(heap)); #endif mp_init(); + pyexec_frozen_module("main.py"); #if MICROPY_REPL_EVENT_DRIVEN pyexec_event_repl_init(); for (;;) {