hi..ya.. there was no problem with PROGMEM... there was some declaration problem.. thanks for the help...
regards , varsha ----- Original Message ----- From: "Vincent Trouilliez" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, October 20, 2005 12:36 PM Subject: Re: [avr-gcc-list] use of PROGMEM > > > const char conc_pattern_2s50[] PROGMEM={0x0a..... > > unsigned char * conc_ptr ; > > conc_ptr=conc_pattern_2s50; > > > > While compiling i am getting the following error messages > > fpga_conf.c:94: warning: assignment discards qualifiers from pointer > > target type > > How do i solve it?? > > > Looks like it's not a problem with PROGMEM, but rather that there is a > type mismatch between your pointer and your data. You declared your > array as "const char", but your pointer is of type "unsigned char". Try > fixing your pointer declaration like this: > > const char * conc_ptr; > > > > HTH, > > > -- > Vince > > > > _______________________________________________ > AVR-GCC-list mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.11.9/115 - Release Date: 9/29/05 > > ***********************Confidentiality Notice*************************** The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Divinet or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. ************************************************************************ _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
