Skip to content

Commit aa7828f

Browse files
committed
zephyr/main: Execute main.py frozen module on boot, if available.
1 parent 7e3b21e commit aa7828f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

zephyr/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ int real_main(void) {
4444
gc_init(heap, heap + sizeof(heap));
4545
#endif
4646
mp_init();
47+
pyexec_frozen_module("main.py");
4748
#if MICROPY_REPL_EVENT_DRIVEN
4849
pyexec_event_repl_init();
4950
for (;;) {

0 commit comments

Comments
 (0)