Access to the "/data" partition via USB Mass Storage (#405)

This commit is contained in:
NellowTCS
2025-11-02 08:26:35 -07:00
committed by GitHub
parent e2ec39304c
commit ab2aa2c4d4
9 changed files with 166 additions and 29 deletions
+4
View File
@@ -22,6 +22,10 @@ static esp_err_t initNvsFlashSafely() {
static wl_handle_t data_wl_handle = WL_INVALID_HANDLE;
wl_handle_t getDataPartitionWlHandle() {
return data_wl_handle;
}
size_t getSectorSize() {
#if defined(CONFIG_FATFS_SECTOR_512)
return 512;