Ok, Thank you donbock,
Will make a check on that.
BTW, I am using Windriver diab compiler and linker. command is dld for linking
Regards,
Ramu
User Profile
Collapse
-
Hi donbock,
I get linker error message that svram is not available (or something else which means that Linker cant link it as it is too large)at build time if I declare the array as just static. So I declared it as static const. With this change, I dont get any linker error message, but the application itself doesnot boot during runtime.
If I use it as auto, then I have to declare it globally, then also I will face the same...Leave a comment:
-
-
Unfortunately, I have only 80K RAM and in that 16K is untouchable by this application. There are other data types and resources taking lot of memory and I am left with only few KBs which comes less than 80*8 Bytes.Leave a comment:
-
Thank you Banfa.. Will have a check according to your suggestion.
Meanwhile, I would like to ask if there is a different way in C++ to program this scenario?Leave a comment:
-
Having a large array
Hello,
I want to have a large array. I have a structure which contains 6 fields, 4 of them are unsigned char and 2 of them are unsigned short. I should have an array of 80 elements of type the above said structure. I would like to have it as a static array in a class, which I can refer to, from any function inside this class. I am programming this for an advanced audio amplifier (Embedded system), running on PowerPC and OSEK RTOS....
No activity results to display
Show More
Leave a comment: