File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
examples/peripherals/usb/device/tusb_msc/main Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11/*-----------------------------------------------------------------------*/
22/* Low level disk I/O module skeleton for FatFs (C)ChaN, 2016 */
3- /* ESP-IDF port Copyright 2016 Espressif Systems (Shanghai) PTE LTD */
3+ /* ESP-IDF port Copyright 2016-2025 Espressif Systems (Shanghai) PTE LTD */
44/*-----------------------------------------------------------------------*/
55/* If a working storage control module is available, it should be */
66/* attached to the FatFs via a glue function rather than modifying it. */
7- /* This is an example of glue functions to attach various existing */
7+ /* This is an example of glue functions to attach various existing */
88/* storage control modules to the FatFs module with a defined API. */
99/*-----------------------------------------------------------------------*/
1010
1919static ff_diskio_impl_t * s_impls [FF_VOLUMES ] = { NULL };
2020
2121#if FF_MULTI_PARTITION /* Multiple partition configuration */
22- const PARTITION VolToPart [FF_VOLUMES ] = {
22+ PARTITION VolToPart [FF_VOLUMES ] = {
2323 {0 , 0 }, /* Logical drive 0 ==> Physical drive 0, auto detection */
2424#if FF_VOLUMES > 1
2525 {1 , 0 }, /* Logical drive 1 ==> Physical drive 1, auto detection */
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ typedef struct {
116116 BYTE pd ; /* Physical drive number */
117117 BYTE pt ; /* Partition: 0:Auto detect, 1-4:Forced partition) */
118118} PARTITION ;
119- extern const PARTITION VolToPart []; /* Volume - Partition mapping table */
119+ extern PARTITION VolToPart []; /* Volume - Partition mapping table */
120120#endif
121121
122122#if FF_STR_VOLUME_ID
Original file line number Diff line number Diff line change 2222#include "tinyusb.h"
2323#include "tusb_msc_storage.h"
2424#ifdef CONFIG_EXAMPLE_STORAGE_MEDIA_SDMMC
25+ #include "sdmmc_cmd.h"
2526#include "diskio_impl.h"
2627#include "diskio_sdmmc.h"
2728#if CONFIG_EXAMPLE_SD_PWR_CTRL_LDO_INTERNAL_IO
You can’t perform that action at this time.
0 commit comments