Commit aa7828f8 authored by Paul Sokolovsky's avatar Paul Sokolovsky

zephyr/main: Execute main.py frozen module on boot, if available.

parent 7e3b21ec
......@@ -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 (;;) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment