Quote:
|
Originally Posted by Salik Syed
...this works fine and dandy but when i do this...:
struct constants pid[4]={{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0}};
...the linker says something like this:
idata_pid.o cannot fit the section. Section "idata_pid.o" length = 0x0000010a
|
Each module is allowed only 256 (0x100) bytes of data. When you added this declaration to pid.c, you pushed it over the limit by 10 (0x0a) bytes. You might be able to get around this limit by putting the declaration in another .c file, and reference it as an extern from pid.c.
[edit]Woah! post #2048! Sweeeet!

[/edit]