FatFs R0.16, released July 22, 2025
This commit is contained in:
+11
-7
@@ -1,5 +1,5 @@
|
||||
/*-----------------------------------------------------------------------*/
|
||||
/* Low level disk I/O module SKELETON for FatFs (C)ChaN, 2019 */
|
||||
/* Low level disk I/O module SKELETON for FatFs (C)ChaN, 2025 */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
/* If a working storage control module is available, it should be */
|
||||
/* attached to the FatFs via a glue function rather than modifying it. */
|
||||
@@ -7,13 +7,17 @@
|
||||
/* storage control modules to the FatFs module with a defined API. */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
#include "ff.h" /* Obtains integer types */
|
||||
#include "diskio.h" /* Declarations of disk functions */
|
||||
#include "ff.h" /* Basic definitions of FatFs */
|
||||
#include "diskio.h" /* Declarations FatFs MAI */
|
||||
|
||||
/* Definitions of physical drive number for each drive */
|
||||
#define DEV_RAM 0 /* Example: Map Ramdisk to physical drive 0 */
|
||||
#define DEV_MMC 1 /* Example: Map MMC/SD card to physical drive 1 */
|
||||
#define DEV_USB 2 /* Example: Map USB MSD to physical drive 2 */
|
||||
/* Example: Declarations of the platform and disk functions in the project */
|
||||
#include "platform.h"
|
||||
#include "storage.h"
|
||||
|
||||
/* Example: Mapping of physical drive number for each drive */
|
||||
#define DEV_FLASH 0 /* Map FTL to physical drive 0 */
|
||||
#define DEV_MMC 1 /* Map MMC/SD card to physical drive 1 */
|
||||
#define DEV_USB 2 /* Map USB MSD to physical drive 2 */
|
||||
|
||||
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user