I'm writing a program in C++ for my Tiva C Series board (EK-TM4C123GXL) and I'd like to use the USB lib provided by TI to make it a device for another board.
I use the startup_gcc.c file provided here.
Unfortunately, I cannot compile with those declarations :
extern void SysTickIntHandler(void);
extern void USB0DeviceIntHandler(void);
I get
(.isr_vector+0x3c):-1: error: undefined reference to `SysTickIntHandler'
I tried
#ifdef __cplusplus
extern "C"
{
#endif
void SysTickIntHandler(void);
void USB0DeviceIntHandler(void);
#ifdef __cplusplus
}
#endif
but nothing better.