File tree Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,6 @@ static void start_mp(safe_mode_t safe_mode) {
207
207
208
208
// Always return to root
209
209
common_hal_os_chdir ("/" );
210
-
211
- // Initialization for individual boards when a VM starts.
212
- mp_board_init ();
213
210
}
214
211
215
212
static void stop_mp (void ) {
@@ -1152,7 +1149,6 @@ void gc_collect(void) {
1152
1149
gc_collect_root ((void * * )& MP_STATE_VM (vfs_mount_table ), sizeof (mp_vfs_mount_t ) / sizeof (mp_uint_t ));
1153
1150
1154
1151
port_gc_collect ();
1155
- board_gc_collect ();
1156
1152
1157
1153
background_callback_gc_collect ();
1158
1154
Original file line number Diff line number Diff line change @@ -25,10 +25,3 @@ void reset_board(void);
25
25
// state. It should not prevent the user access method from working (such as
26
26
// disabling USB, BLE or flash) because CircuitPython may continue to run.
27
27
void board_deinit (void );
28
-
29
- // Initialization for individual boards when a VM starts.
30
- void mp_board_init (void );
31
-
32
- // Some boards may want to mark additional pointers as gc roots.
33
- // A default weak implementation is provided that does nothing.
34
- void board_gc_collect (void );
Original file line number Diff line number Diff line change @@ -44,11 +44,3 @@ MP_WEAK void board_deinit(void) {
44
44
// Do-nothing so not all boards need to provide this function.
45
45
MP_WEAK void reset_board (void ) {
46
46
}
47
-
48
- // Do-nothing so not all boards need to provide this function.
49
- MP_WEAK void mp_board_init (void ) {
50
- }
51
-
52
- // Do-nothing so not all boards need to provide this function.
53
- MP_WEAK void board_gc_collect (void ) {
54
- }
You can’t perform that action at this time.
0 commit comments