Re: [avr-gcc-list] External 256K FLASH - memory pointer

2012-09-18 Thread Parthasaradhi Nayani
From: Joerg Wunsch j...@uriah.heep.sax.de To: avr-gcc-list@nongnu.org Sent: Tuesday, September 18, 2012 11:21 AM What's the point?  A pointer is just a 32-bit (or perhaps 24-bit, in recent AVR-GCC versions) number. Normally, the point of using a pointer is that the compiler arranges for you

Re: [avr-gcc-list] External 256K FLASH - memory pointer

2012-09-18 Thread Richard Weickelt
Hi, If a 32 bit pointer can be somehow declared then this will be pretty elegant. If this is not possible then the only alternative would be to change the function parameters as shown below which is not really elegant. void ReadXFlashBlock (unsigned char *destptr, long sourceaddr, unsigned int