add drive to access an area on emmc/sd as disk

This commit is contained in:
Christoph Baumann committed 2025-04-27 01:05:09 +02:00
1 parent 0be3fd4f64
commit 31c8ad0d88
5 files changed
+66 -3

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#ifndef _SFD_H
#define _SFD_H
#include <storage/sdmmc.h>
#include <utils/types.h>
int sfd_read(u32 sector, u32 count, void *buff);
int sfd_write(u32 sector, u32 count, void *buff);
bool sfd_init(sdmmc_storage_t *storage, u32 offset, u32 size);
void sfd_end();
#endif