Ignore:
Timestamp:
Feb 12, 2025, 3:03:55 PM (3 months ago)
Author:
Zed
Message:

Communication with M24256E EEPROM works.

File:
1 edited

Legend:

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

    r89 r90  
    2323FATFS SDFatFS;    /* File system object for SD logical drive */
    2424FIL SDFile;       /* File object for SD */
     25
     26/* USER CODE BEGIN Variables */
     27
    2528uint8_t retEEPROM;    /* Return value for USER */
    2629char EEPROMPath[4];   /* USER logical drive path */
    27 FATFS USERFatFS;    /* File system object for USER logical drive */
     30FATFS EEPROMFatFS;        /* File system object for USER logical drive */
    2831FIL EEPROMFile;       /* File object for USER */
    29 
    30 /* USER CODE BEGIN Variables */
    3132
    3233/* USER CODE END Variables */
     
    3637  /*## FatFS: Link the SD driver ###########################*/
    3738  retSD = FATFS_LinkDriver(&SD_Driver, SDPath);
    38   /*## FatFS: Link the USER driver ###########################*/
    39   retEEPROM = FATFS_LinkDriver(&EEPROM_Driver, EEPROMPath);
    4039
    4140  /* USER CODE BEGIN Init */
    4241  /* additional user code for init */
     42
     43  retEEPROM = FATFS_LinkDriver(&EEPROM_Driver, EEPROMPath);
     44
    4345  /* USER CODE END Init */
    4446}
Note: See TracChangeset for help on using the changeset viewer.