Newer versions of gcc have language support for reading from flash - see https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html On 24-Oct-2015 6:06 pm, "Raymond Moore" <r...@bethnray.com> wrote:
> http://www.nongnu.org/avr-libc/user-manual/pgmspace.html > > I suggest actually reading the manual, online or downloaded. It's in > there. > > On Sat, Oct 24, 2015 at 7:24 AM, Sagar Pinjarkar < > development.sa...@gmail.com> wrote: > >> Thanks for the response. >> >> There might be some sequencing of the functions to be used. >> Where can I get that ?? >> >> -- >> Thanks & Regards, >> Sagar Pinjarkar >> Embedded Project Lead. >> MEIS Pvt. Ltd >> >> >> >> On Sat, Oct 24, 2015 at 5:35 PM, Raymond Moore <r...@bethnray.com> wrote: >> >>> try avr-libc >>> >>> http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html >>> >>> the pgmspace section is made for that. >>> >>> Ray Moore >>> >>> >>> On Sat, Oct 24, 2015 at 6:35 AM, Sagar Pinjarkar < >>> development.sa...@gmail.com> wrote: >>> >>>> Hi all, >>>> >>>> I am using ATMEGA1284P with 128K of flash. I want to use it for >>>> data storage & not for programming. But Atmel provided AVR106 pdf doc with >>>> sample files in zip. >>>> >>>> But these files are based on IAR compiler. I am using Atmel studio >>>> 6.2 with AVR gcc compiler. How to port it on gcc. >>>> >>>> There are several intrinsic functions which are not available in gcc >>>> based 1284p header files. >>>> >>>> >>>> >>>> Thanks in advance. >>>> >>>> _______________________________________________ >>>> AVR-GCC-list mailing list >>>> AVR-GCC-list@nongnu.org >>>> https://lists.nongnu.org/mailman/listinfo/avr-gcc-list >>>> >>>> >>> >> > > _______________________________________________ > AVR-GCC-list mailing list > AVR-GCC-list@nongnu.org > https://lists.nongnu.org/mailman/listinfo/avr-gcc-list > >
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list