mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
zephyr/main: Execute main.py frozen module on boot, if available.
This commit is contained in:
@@ -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 (;;) {
|
||||
|
||||
Reference in New Issue
Block a user