Re: [avr-gcc-list] avr-gcc and char strings

2014-12-04 Thread Richard Weickelt
I would love to understand the difference between -j .text and -R .eeprom. I googled for avr-objcopy and all I found was -j sectionname --only-section=sectionname Copy only the named section from the input file to the output file. This option may be given more than once. Note that

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

2012-10-01 Thread Richard Weickelt
Hi, I do not know if there will be any code over head due to C++. Unfortunately my forte is 'C'. Can I trouble you for some examples/sample code please? Thank you once again. Use a 32-bit unsigned integer and a typedef as it has been suggested and You're done. It would be foolish to move on

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