View Single Post
  #1   Spotlight this post!  
Unread 29-01-2004, 23:51
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Large Lookup Tables

I have a few look up tables I'm trying to define, and am running into problems with the C18 Linker.

The error I am getting is that the section I am loading these tables into is not big enough =/. Has anyone else used linker directives to get their large lookup tables to reside in a larger portion of memory? The table I am declaring is similar to this:

static const unsigned char mytable[256] = {

[mydata]

};

From what I've read so far, I need a #pragma linker directive to get this thing to go into a nice big chunk of program ROM.

Thanks in advance for the help!

-Shawn...