mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix vfs_fat_spiflash failed to mount / f_mkfs()
This commit is contained in:
parent
8f9707fd07
commit
b65779eefe
@ -22,10 +22,12 @@ static ff_diskio_impl_t * s_impls[_VOLUMES];
|
|||||||
static sdmmc_card_t* s_cards[_VOLUMES] = { NULL };
|
static sdmmc_card_t* s_cards[_VOLUMES] = { NULL };
|
||||||
static bool s_impls_initialized = false;
|
static bool s_impls_initialized = false;
|
||||||
|
|
||||||
|
#if _MULTI_PARTITION /* Multiple partition configuration */
|
||||||
PARTITION VolToPart[] = {
|
PARTITION VolToPart[] = {
|
||||||
{0, 1}, /* Logical drive 0 ==> Physical drive 0, 1st partition */
|
{0, 0}, /* Logical drive 0 ==> Physical drive 0, auto detection */
|
||||||
{1, 0} /* Logical drive 1 ==> Physical drive 1, auto detection */
|
{1, 0} /* Logical drive 1 ==> Physical drive 1, auto detection */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
esp_err_t ff_diskio_get_drive(BYTE* out_pdrv)
|
esp_err_t ff_diskio_get_drive(BYTE* out_pdrv)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user