Skip to content
Snippets Groups Projects
Commit f3296ad6 authored by schneider's avatar schneider Committed by rahix
Browse files

feat(pycardium): execute main.py if it exists

parent 732d4904
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ int main(void) ...@@ -23,6 +23,7 @@ int main(void)
gc_init(&__HeapBase + 1024 * 10, &__HeapLimit); gc_init(&__HeapBase + 1024 * 10, &__HeapLimit);
mp_init(); mp_init();
pyexec_file_if_exists("main.py");
pyexec_friendly_repl(); pyexec_friendly_repl();
mp_deinit(); mp_deinit();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment