This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129XNCZAD: EEPROM driver compilation error

Part Number: TM4C129XNCZAD

I am taking over a programming project, trying to set up the environment on my computer.  I installed the latest version of the compiler.  Was that a mistake?

The eeprom.c file is showing errors for me.  I tried manually renaming the new installed version, but it still shows up in the list.  I copied in older versions of eeprom.c and eeprom.h, but I think they are giving the same errors.

Can anyone tell me how I should go about this process?

Thanks for any help you can give.

  • Hi,

      I search through the entire TivaWare SDK and there is no #define EEPROM_EEDONE_INVPL. You can find all the #define pertaining to the EEprom module in inc/hw_eeprom.h file. I will suggest you contact the prior owner of your project as I believe he/she created the new EEPROM_EEDONE_INVPL somewhere in another header file where EEPROM_EEDONE_INVPL is referenced in the drivers/eeprom.c file. You just need to find that header file where EEPROM_EEDONE_INVPL is defined and make sure the your compiler search path will find it.  Please also note that the eeprom.c file as released in the TivaWare SDK is in <TivaWare_Install_Path>/driverlib/eepromc, not under /drivers directory as shown in your log. Your prior owner must have altered the directory structure and also the eeprom.c file itself. 

  • My problems went away when I was able to copy files from the laptop of the previous developer and match his directory structure.  This included TivaWare_C_Series-2.0.  Maybe that file is in there?

  • Hi,

      TivaWare_C_Series-2.0 is an extremely old version. In any case, I installed this version and I do not find the directory 'drivers'. 

    The eeprom.c and eemprom.h files are under driverlib directory. Is it possible your prior colleague made some modification to the file and created a new directory called 'drivers'?