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

pull/2501/head
Paul Sokolovsky 2016-09-22 04:05:10 +03:00
rodzic 7e3b21ec54
commit aa7828f822
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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