Skip to content

Commit

Permalink
Comment more fatfs stuff in ESP32 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed Jun 12, 2024
1 parent 9e6dec4 commit 25d5093
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions targets/ESP32/ESP32_C3/target_FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
// extern "C" void SdCardDetectCallback(void *arg);
// #endif

FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
{&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
};
// FILESYSTEM_INTERFACES g_AvailableFSInterfaces[0] = {
// // {&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// // {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
// };

const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);
// const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);

uint32_t g_FS_NumVolumes;
STREAM_DRIVER_DETAILS *g_FS_DriverDetails;
Expand Down
10 changes: 5 additions & 5 deletions targets/ESP32/ESP32_C6/target_FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
// extern "C" void SdCardDetectCallback(void *arg);
// #endif

FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
{&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
};
// FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
// {&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// // {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
// };

const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);
// const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);

uint32_t g_FS_NumVolumes;
STREAM_DRIVER_DETAILS *g_FS_DriverDetails;
Expand Down
10 changes: 5 additions & 5 deletions targets/ESP32/ESP32_H2/target_FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
// extern "C" void SdCardDetectCallback(void *arg);
// #endif

FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
{&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
};
// FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
// {&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// // {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
// };

const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);
// const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);

uint32_t g_FS_NumVolumes;
STREAM_DRIVER_DETAILS *g_FS_DriverDetails;
Expand Down
12 changes: 6 additions & 6 deletions targets/ESP32/ESP32_S2/target_FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <nanoHAL_Types.h>
#include <nanoPAL_FileSystem.h>
// #include <littlefs_FS_Driver.h>
#include <fatfs_FS_Driver.h>
// #include <fatfs_FS_Driver.h>
#include "Target_System_IO_FileSystem.h"

// extern FILESYSTEM_DRIVER_INTERFACE g_LITTLEFS_FILE_SYSTEM_DriverInterface;
Expand All @@ -22,12 +22,12 @@
// extern "C" void SdCardDetectCallback(void *arg);
// #endif

FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
{&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
};
// FILESYSTEM_INTERFACES g_AvailableFSInterfaces[] = {
// // {&g_FATFS_FILE_SYSTEM_DriverInterface, &g_FATFS_STREAM_DriverInterface},
// // {&g_LITTLEFS_FILE_SYSTEM_DriverInterface, &g_LITTLEFS_STREAM_DriverInterface},
// };

const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);
// const size_t g_InstalledFSCount = ARRAYSIZE(g_AvailableFSInterfaces);

uint32_t g_FS_NumVolumes;
STREAM_DRIVER_DETAILS *g_FS_DriverDetails;
Expand Down

0 comments on commit 25d5093

Please sign in to comment.