|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
array problems
Our team decided on using a lookup table to determine our cannons angle to accurately fire it at the target. I put the array into a function, lets say its called Find_Angle() just for reference. When compiled it gave me the error "Stack Frame too Large".
I searched on Google and found that declaring the array as a global variable would fix that problem but now the compiler is tell me... "Error - section '.idata_tracking.o' can not fit the section. Section '.idata_tracking.o' length=0x00000524" Anyone know why? I'm baffled. ![]() |
|
#2
|
|||
|
|||
|
Re: array problems
|
|
#3
|
||||
|
||||
|
Re: array problems
Quote:
if you intended the array to be in program memory, use the ROM prefix. if it is to be in ram, use the STATIC prefix. static, tells the compiler not to store the data into the stack. jerry w |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anyone Else Having Problems with Q&A on FIRST? | Windwarrior | General Forum | 6 | 25-01-2006 10:54 |
| Vanilla ice cream == car problems?? | Ken Leung | General Forum | 16 | 22-11-2005 11:07 |
| Array problems( i think....) | Andrew Blair | Programming | 10 | 22-09-2005 19:57 |
| Array Problems: Possible<stdio.h> | Alex Wijtowych | Programming | 7 | 26-01-2005 04:39 |
| PC problems. . . | opnickc | IT / Communications | 5 | 12-01-2005 16:53 |