View Single Post
  #8   Spotlight this post!  
Unread 03-02-2008, 21:04
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: MATH_DATA can not fit the section

Quote:
Originally Posted by neutrino15 View Post
...I changed the entire trig array to rom,...
I think predefined constant arrays like that should always be placed in rom unless you have a good reason not to to it. Back when I was looking into such things a few years ago, I remember discovering a limit of only 256 bytes of global variables for each code module. A single lookup table can easily fill that.