diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-22 04:05:10 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-10 22:59:34 +0300 |
commit | aa7828f822391f2b44224e81af27d29a26a9ccb6 (patch) | |
tree | 675e013fe1379caee188d25ba23b4444b97fbb2d /zephyr | |
parent | 7e3b21ec54643281ec71ab192724684f2918067b (diff) | |
download | micropython-aa7828f822391f2b44224e81af27d29a26a9ccb6.tar.gz micropython-aa7828f822391f2b44224e81af27d29a26a9ccb6.zip |
zephyr/main: Execute main.py frozen module on boot, if available.
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 (;;) { |