File tree Expand file tree Collapse file tree 6 files changed +0
-31
lines changed Expand file tree Collapse file tree 6 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -903,12 +903,8 @@ static void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
903903 #endif
904904 }
905905
906- port_post_boot_py (true);
907-
908906 cleanup_after_vm (_exec_result .exception );
909907 _exec_result .exception = NULL ;
910-
911- port_post_boot_py (false);
912908}
913909
914910static int run_repl (safe_mode_t safe_mode ) {
Original file line number Diff line number Diff line change @@ -509,12 +509,6 @@ void port_boot_info(void) {
509509}
510510#endif
511511
512- void port_post_boot_py (bool heap_valid ) {
513- if (!heap_valid && filesystem_present ()) {
514- }
515- }
516-
517-
518512// Wrap main in app_main that the IDF expects.
519513extern void main (void );
520514extern void app_main (void );
Original file line number Diff line number Diff line change @@ -300,7 +300,6 @@ async def build_circuitpython():
300300 portdir / "common-hal/microcontroller/Pin.c" ,
301301 portdir / "common-hal/microcontroller/Processor.c" ,
302302 portdir / "common-hal/os/__init__.c" ,
303- "supervisor/stub/misc.c" ,
304303 "shared/readline/readline.c" ,
305304 "shared/runtime/context_manager_helpers.c" ,
306305 "shared/runtime/pyexec.c" ,
Original file line number Diff line number Diff line change @@ -95,12 +95,6 @@ void port_wake_main_task_from_isr(void);
9595// CircuitPython task when others are done.
9696void port_yield (void );
9797
98- // Some ports need special handling just after completing boot.py execution.
99- // This function is called once while boot.py's VM is still valid, and
100- // then a second time after the VM is finalized.
101- // A default weak implementation is provided that does nothing.
102- void port_post_boot_py (bool heap_valid );
103-
10498// Some ports want to add information to boot_out.txt.
10599// A default weak implementation is provided that does nothing.
106100void port_boot_info (void );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ SRC_SUPERVISOR = \
1919 supervisor/shared/traceback.c \
2020 supervisor/shared/translate/translate.c \
2121 supervisor/shared/workflow.c \
22- supervisor/stub/misc.c \
2322
2423# For tlsf
2524CFLAGS += -D_DEBUG=0
You can’t perform that action at this time.
0 commit comments