Arduino Forum

Products => Arduino Due => Topic started by: sousoux on Oct 23, 2012, 05:57 pm

Title: __FLASH__ attribute or other PROGMEM alternative
Post by: sousoux on Oct 23, 2012, 05:57 pm
The __FLASH__ attribute in the Maple card doesn't seem to be implemented. PROGMEM obviously isn't. Is there an alternative?

Thanks
Title: Re: __FLASH__ attribute or other PROGMEM alternative
Post by: graynomad on Oct 24, 2012, 03:27 am
What do you need it for?

I would assume that any "const" was placed in flash on this architecture, certainly that's what I see on my LPCs.

______
Rob
Title: Re: __FLASH__ attribute or other PROGMEM alternative
Post by: krazatchu on Oct 24, 2012, 05:32 am
Rob is correct, that is the case with ARM....
Title: Re: __FLASH__ attribute or other PROGMEM alternative
Post by: sousoux on Oct 24, 2012, 11:19 am
Great. Thanks.