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

This commit is contained in:
Paul Sokolovsky 2016-09-22 04:05:10 +03:00
parent 7e3b21ec54
commit aa7828f822

View File

@ -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 (;;) {