mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Add SD Card support
This commit is contained in:
parent
140ecd59ea
commit
dbee032c6a
BIN
lib/libmp.a
BIN
lib/libmp.a
Binary file not shown.
@ -24,7 +24,7 @@
|
||||
|
||||
int errno;
|
||||
|
||||
static FATFS fatfs0;
|
||||
static FATFS fatfs0, fatfs1;
|
||||
|
||||
void __fatal_error(const char *msg) {
|
||||
printf("%s\n", msg);
|
||||
@ -265,6 +265,9 @@ int main(void)
|
||||
}
|
||||
}
|
||||
|
||||
/* prepare workarea for sdcard fs */
|
||||
f_mount(&fatfs1, "1:", 0);
|
||||
|
||||
/* Try to mount the flash fs */
|
||||
bool reset_filesystem = false;
|
||||
FRESULT res = f_mount(&fatfs0, "0:", 1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user