aa7530e515
* **New Features** * BMI270 6-axis IMU driver added; new unified filesystem abstraction for mounted filesystems. * Public Wi‑Fi API surface (no implementation yet) * SDMMC driver added (kernel drive$) * expanded GPIO interrupt/callback support * **Improvements** * M5Stack Tab5: revamped GPIO/power initialization and IMU integration. * LVGL updates including device fontSize configuration. * Updated all code related to SD card device/fs handling * Rename LilyGO T-HMI S3 to LilyGO T-HMI * **Bug Fixes** * Simplified and consolidated SD card handling and mount discovery.
27 lines
483 B
C++
27 lines
483 B
C++
#pragma once
|
|
|
|
#include <dirent.h>
|
|
#include <vector>
|
|
|
|
namespace tt::file {
|
|
|
|
constexpr auto* SYSTEM_PARTITION_NAME = "system";
|
|
|
|
#ifdef ESP_PLATFORM
|
|
constexpr auto* MOUNT_POINT_SYSTEM = "/system";
|
|
#else
|
|
constexpr auto* MOUNT_POINT_SYSTEM = "system";
|
|
#endif
|
|
|
|
constexpr auto* DATA_PARTITION_NAME = "data";
|
|
|
|
#ifdef ESP_PLATFORM
|
|
constexpr auto* MOUNT_POINT_DATA = "/data";
|
|
#else
|
|
constexpr auto* MOUNT_POINT_DATA = "data";
|
|
#endif
|
|
|
|
std::vector<dirent> getFileSystemDirents();
|
|
|
|
} // namespace
|