Ignore:
Timestamp:
Feb 11, 2025, 4:29:20 PM (3 months ago)
Author:
Zed
Message:

Added basic I2C EEPROM support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/FATFS/App/fatfs.h

    r74 r89  
    2727#include "ff_gen_drv.h"
    2828#include "sd_diskio.h" /* defines SD_Driver as external */
     29#include "eeprom_diskio.h" /* defines USER_Driver as external */
    2930
    3031/* USER CODE BEGIN Includes */
     
    3637extern FATFS SDFatFS; /* File system object for SD logical drive */
    3738extern FIL SDFile; /* File object for SD */
     39extern uint8_t retEEPROM; /* Return value for USER */
     40extern char EEPROMPath[4]; /* USER logical drive path */
     41extern FATFS EEPROMFatFS; /* File system object for USER logical drive */
     42extern FIL EEPROMFile; /* File object for USER */
    3843
    3944void MX_FATFS_Init(void);
Note: See TracChangeset for help on using the changeset viewer.