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.

ROM_EEPROMxx functions undefined

Hi!


I'd like to use the EEPROM functions from ROM, on my TIVA LaunchPad, with arm-gcc. I've included the followings:

#include <stdint.h>
#include <stdbool.h>

#include "board_eeprom.h"
#define TARGET_IS_TM4C123_RA1 #include "driverlib/rom.h" #include "driverlib/rom_map.h" #include "driverlib/eeprom.h" #include "driverlib/sysctl.h" #include "cc1101.h" static int32_t board_eeprom_enable_eeprom_peripherial(void) { ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0); if(ROM_EEPROMInit() != EEPROM_INIT_OK) return (-1); return (0); }

I'm getting board_eeprom.c:20: undefined reference to `ROM_EEPROMInit' linker error and it is rather strange as I'm using other ROM functions in my project with no complains. I'm also have ' implicit declaration of function 'ROM_EEPROMInit'' warning.