Changeset 89 for ctrl/firmware/Main/CubeMX/FATFS
- Timestamp:
- Feb 11, 2025, 4:29:20 PM (3 months ago)
- Location:
- ctrl/firmware/Main/CubeMX/FATFS
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/CubeMX/FATFS/App/fatfs.c
r75 r89 23 23 FATFS SDFatFS; /* File system object for SD logical drive */ 24 24 FIL SDFile; /* File object for SD */ 25 uint8_t retEEPROM; /* Return value for USER */ 26 char EEPROMPath[4]; /* USER logical drive path */ 27 FATFS USERFatFS; /* File system object for USER logical drive */ 28 FIL EEPROMFile; /* File object for USER */ 25 29 26 30 /* USER CODE BEGIN Variables */ … … 32 36 /*## FatFS: Link the SD driver ###########################*/ 33 37 retSD = FATFS_LinkDriver(&SD_Driver, SDPath); 38 /*## FatFS: Link the USER driver ###########################*/ 39 retEEPROM = FATFS_LinkDriver(&EEPROM_Driver, EEPROMPath); 34 40 35 41 /* USER CODE BEGIN Init */ -
ctrl/firmware/Main/CubeMX/FATFS/App/fatfs.h
r74 r89 27 27 #include "ff_gen_drv.h" 28 28 #include "sd_diskio.h" /* defines SD_Driver as external */ 29 #include "eeprom_diskio.h" /* defines USER_Driver as external */ 29 30 30 31 /* USER CODE BEGIN Includes */ … … 36 37 extern FATFS SDFatFS; /* File system object for SD logical drive */ 37 38 extern FIL SDFile; /* File object for SD */ 39 extern uint8_t retEEPROM; /* Return value for USER */ 40 extern char EEPROMPath[4]; /* USER logical drive path */ 41 extern FATFS EEPROMFatFS; /* File system object for USER logical drive */ 42 extern FIL EEPROMFile; /* File object for USER */ 38 43 39 44 void MX_FATFS_Init(void); -
ctrl/firmware/Main/CubeMX/FATFS/Target/ffconf.h
r75 r89 156 156 /----------------------------------------------------------------------------*/ 157 157 158 #define _VOLUMES 1158 #define _VOLUMES 2 159 159 /* Number of volumes (logical drives) to be used. */ 160 160
Note: See TracChangeset
for help on using the changeset viewer.