|
Re: Arrays in Vex Programming Kit EasyC?
Thanks for the Array Clarification. I am only defining 56 locations the moment I define one more it fails as in:
int example_array[55]; //Works!
int another_array[0];//does not work!!!!!!!!
//Still Gives me
"C:\vex\Guidance\Main.c:12:Error [1300] stack frame too large
The error # [1300] as defined in the C 18 Manual is as follows:
"1300: stack frame too large
The size of the stack frame has exceeded the maximum addressable size.
Commonly caused by too many local variables allocated as 'auto' storage
class in a single function."
When I change the "Default Storage Class" to from "Auto to "Overlay" or "Static" using MPLAB IDE, the linker gets me in trouble with the following:
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol '__Wait:0' in file 'C:\vex\Guidance\Main.o'.
Errors : 1
So I comment out the Wait function and now the others start giving me the same problem:
as in:
//Wait (1000);
printf("hello all\n");
Error is now :
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol '__printf:0' in file 'C:\vex\Guidance\Main.o'.
Errors : 1
Any Ideas folks?
|