File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ STATIC void mp_reset(void) {
5050 mp_init ();
5151 mp_obj_list_init (mp_sys_path , 0 );
5252 mp_obj_list_append (mp_sys_path , MP_OBJ_NEW_QSTR (MP_QSTR_ )); // current dir (or base dir of the script)
53- mp_obj_list_append (mp_sys_path , MP_OBJ_NEW_QSTR (MP_QSTR__slash_flash_slash_lib ));
54- mp_obj_list_append (mp_sys_path , MP_OBJ_NEW_QSTR (MP_QSTR__slash_flash ));
53+ mp_obj_list_append (mp_sys_path , MP_OBJ_NEW_QSTR (MP_QSTR__slash_lib ));
54+ mp_obj_list_append (mp_sys_path , MP_OBJ_NEW_QSTR (MP_QSTR__slash_ ));
5555 mp_obj_list_init (mp_sys_argv , 0 );
5656 MP_STATE_PORT (term_obj ) = MP_OBJ_NULL ;
5757 MP_STATE_PORT (dupterm_arr_obj ) = MP_OBJ_NULL ;
Original file line number Diff line number Diff line change 55
66try :
77 if bdev :
8- vfs = uos .VfsFat (bdev )
9- uos .mount (vfs , '/flash' )
10- uos .chdir ('/flash' )
8+ uos .mount (bdev , '/' )
119except OSError :
1210 import inisetup
1311 vfs = inisetup .setup ()
Original file line number Diff line number Diff line change 2727// qstrs specific to this port, only needed if they aren't auto-generated
2828
2929// Entries for sys.path
30- Q (/flash )
31- Q (/flash / lib )
30+ Q (/)
31+ Q (/lib )
You can’t perform that action at this time.
0 commit comments