How to declare structure array in Flash Memory of PIC18F?

Status
Not open for further replies.

tectona

Member level 2
Joined
Mar 24, 2006
Messages
53
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
1,602
Hi all,

I written one code for PIC18F controller using PICC18 C compiler.

I don't know how to declare Structure array in Flash Memory.

Currently I declare my Structure array in RAM & program work fine.

I attach my sample code.

Plz, help me.

Regards
Tectona
 

Re: Help Needed

hi,
i didn't look at your code, but in general there is always a compiler directive that tell the compiler that these stuff is constant in ROM for example for avr u can use the word
Static ROM
so u just have to search for these directives
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…