> 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

Reply via email to