summaryrefslogtreecommitdiff
path: root/zephyr/main.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-05 00:22:37 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-05 00:22:37 +0300
commit50e8e28f96416d5b47381dd1517fbfc8993757d4 (patch)
treef0db80424a56a33704d8ff995a2675ce1f762fcf /zephyr/main.c
parentf59465d76367f556ce15a21482abc702a78d01e2 (diff)
zephyr/Makefile: Add minimal port.
Diffstat (limited to 'zephyr/main.c')
-rw-r--r--zephyr/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/main.c b/zephyr/main.c
index b58558f0b..9146cfadb 100644
--- a/zephyr/main.c
+++ b/zephyr/main.c
@@ -72,7 +72,9 @@ int real_main(void) {
#endif
mp_init();
MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
+ #if MICROPY_MODULE_FROZEN
pyexec_frozen_module("main.py");
+ #endif
#if MICROPY_REPL_EVENT_DRIVEN
pyexec_event_repl_init();
for (;;) {