atmel-samd: Update sys.path to match that the internal/onboard
flash is now at / rather than /flash.
This commit is contained in:
parent
c797f3cb24
commit
5ddbf26b62
|
@ -136,8 +136,8 @@ void reset_mp(void) {
|
|||
mp_init();
|
||||
mp_obj_list_init(mp_sys_path, 0);
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR_)); // current dir (or base dir of the script)
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash));
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash_slash_lib));
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash));
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_lib));
|
||||
mp_obj_list_init(mp_sys_argv, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue