atmel-samd: Update sys.path to match that the internal/onboard

flash is now at / rather than /flash.
This commit is contained in:
Scott Shawcroft 2017-06-28 12:52:29 -07:00
parent c797f3cb24
commit 5ddbf26b62
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}