From efbf5a2a0cb195e48d56074510fa5588d09c54c9 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 27 Sep 2020 23:12:17 +0200 Subject: [PATCH 1/2] Portenta: Enable SD card. --- src/micropython | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/micropython b/src/micropython index c2a45d7b1..7eef9883c 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit c2a45d7b1f6070e761fc045dd0668f8e7b63b833 +Subproject commit 7eef9883c083ae2f110ab77cdbf5f6d256487c04 From 1f7f003b8fe7cff805d4fcbbb5699af20548a6bd Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 27 Sep 2020 23:12:36 +0200 Subject: [PATCH 2/2] Set partition search to auto. --- src/omv/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omv/main.c b/src/omv/main.c index 007352381..37d30f78b 100644 --- a/src/omv/main.c +++ b/src/omv/main.c @@ -519,7 +519,7 @@ soft_reset: if (sdcard_is_present()) { // Init the vfs object vfs_fat->blockdev.flags = 0; - sdcard_init_vfs(vfs_fat, 1); + sdcard_init_vfs(vfs_fat, 0); // Try to mount the SD card FRESULT res = f_mount(&vfs_fat->fatfs);