Re: [avr-gcc-list] Memory problem

2009-06-23 Thread Parthasaradhi Nayani
--- On Mon, 6/22/09, David Kelly dke...@hiwaay.net wrote: Study the include files for register definitions for a means of controlling the absolute address of allocation. Thank you David Kelly for your response. I will sieve through the header files to know how to allocate a variable to a

Re: [avr-gcc-list] Memory problem

2009-06-23 Thread Parthasaradhi Nayani
--- On Tue, 6/23/09, Joerg Wunsch j...@uriah.heep.sax.de wrote: The only method to not have the linker reorder your variables is to just use a single variable (per memory section).  So, put some kind of an embracing struct around all your variables you'd like to have in a particular order, and

Re: [avr-gcc-list] Memory problem

2009-06-23 Thread David Kelly
On Tue, Jun 23, 2009 at 02:02:37AM -0700, Parthasaradhi Nayani wrote: --- On Tue, 6/23/09, Joerg Wunsch j...@uriah.heep.sax.de wrote: The only method to not have the linker reorder your variables is to just use a single variable (per memory section).? So, put some kind of an embracing struct

Re: [avr-gcc-list] Memory problem

2009-06-23 Thread Parthasaradhi Nayani
--- On Tue, 6/23/09, David Kelly dke...@hiwaay.net wrote: Something like this might work for you: typedef struct {     uint8_t variable;     uint16_t a, b, c, d;     uint32_t e; } FLASH_STRUCT; #define flash_p ((FLASH_STRUCT *)(0x8000)) Hello David Kelly, Thanks a lot for taking time to

[avr-gcc-list] Took half of my system

2009-06-23 Thread grant donald
Hello, I was having compatability problems and wanted to take out the AVR GCC, I took it out alright and half my system with it. None of my exe's worked, like ie, firefox, my drivers were missing from my jvc program. I had to do a system restore which fixed most things but the drivers had to be