I have a stucture
typedef struct struct_data
{
Uint16 year;
Uint16 mon;
Uint16 day;
Uint16 hour;
Uint16 min;
Uint16 sec;
Uint16 msec;
Uint16 period;
enum StateTimer state;
} struct_data;
and a Function
#define MAX_TIMERS 5
unsigned int AmountTimers = 0;
struct_data *SoftTimers[MAX_TIMERS];
void Timers(struct_data *CurSoftTimer, Uint16 year, Uint16 mon , Uint16 day, Uint16 hour,
Uint16 min,Uint16 sec, Uint16 msec,Uint16 dow,Uint16 period,enum StateTimer state)
{
SoftTimers[AmountTimers] = CurSoftTimer;
CurSoftTimer->year = year;
CurSoftTimer->mon = mon;
CurSoftTimer->day = day;
CurSoftTimer->hour = hour;
CurSoftTimer->min = min;
CurSoftTimer->sec = sec;
CurSoftTimer->msec = msec;
CurSoftTimer->period = period;
CurSoftTimer->state = state;
AmountTimers++;
}
After Building this i get an error
"../VC5515_RTC.cmd", line 23: error: run placement fails for object ".sysmem",
size 0x1000 (page 0). Available ranges:
DARAM size: 0x7a00 unused: 0x682 max hole: 0x680
error: errors encountered during linking; "CSL_RTC_Example.out" not built
What`s the problem? Why this Function causes this error?
I use TMS320C5515 onboard USB emulator.