I'm not sure if this has been brought to TI's software team's attention yet, but the ethernet controller header file has a definite bug in the latest TivaWare, version 2.0.1.11577
I get a compiler error due to tEMACWakeUpFrameFilter not being properly defined. Here's a code snippet:
#if defined(ccs) || \
defined(codered) || \
defined(gcc) || \
defined(rvmdk) || \
defined(__ARMCC_VERSION) || \
defined(sourcerygxx)
__attribute__ ((packed)) tEMACWakeUpFrameFilter;
#else
tEMACWakeUpFrameFilter; // Problem here!
#endif
Anyway, the hibernate header file also gives warnings about that these functions are not visible outside of function:
extern void HibernateCalendarSet(struct tm *psTime); extern int HibernateCalendarGet(struct tm *psTime); extern void HibernateCalendarMatchSet(uint32_t ui32Index, struct tm *psTime); extern void HibernateCalendarMatchGet(uint32_t ui32Index, struct tm *psTime);
Hope this helps.