--- On Sat, 2/21/09, Weddington, Eric wrote:
> > It works for me.
> >
> > See attached demo. After the build look at the .map
> file and
> > the disassembly file (.dis).
> >
> > Just realize that because your variable is now in the
> .test
> Attachment error. Trying again for the list.
Th
--- On Sat, 2/21/09, Georg-Johann Lay wrote:
> The trouble might return if .data/.bss will grow and then
> overlap(s)
No sir, I needed 256 bytes buffers two and the other variables may total to
about 10 or so.
> The problem is that you cannot
> introduce holes in a section, i.e. start with
> -Original Message-
> From: Georg-Johann Lay [mailto:a...@gjlay.de]
> Sent: Friday, February 20, 2009 4:05 PM
> To: Weddington, Eric
> Cc: partha_nay...@yahoo.com; avr-gcc-list
> Subject: Re: [avr-gcc-list] introducing a new section in data memory
>
>
: [avr-gcc-list] introducing a new section in data memory
Hello all,
I needed to create a buffer of 256 bytes starting at a page
boundary (xx00) in the RAM memory (Mega8).
I added this line in the makefile
LDFLAGs = -wl,--section-start=.test=0x800200
and defined a variable in the .C file
t; Subject: Re: [avr-gcc-list] introducing a new section in data memory
>
> On Friday 20 February 2009 19:41, Weddington, Eric wrote:
>
> > Attachment error. Trying again for the list.
>
> Just to inform you, the first post contained readable and correct
> attachments, wher
On Friday 20 February 2009 19:41, Weddington, Eric wrote:
> Attachment error. Trying again for the list.
Just to inform you, the first post contained readable and correct
attachments, whereas the second one needs manual uudecoding.
I saw this before on your posts. Somehow it seems posts appear
AM
> > To: avr-gcc-list
> > Subject: [avr-gcc-list] introducing a new section in data memory
> >
> >
> > Hello all,
> > I needed to create a buffer of 256 bytes starting at a page
> > boundary (xx00) in the RAM memory (Mega8).
> >
> &g
; Subject: [avr-gcc-list] introducing a new section in data memory
>
>
> Hello all,
> I needed to create a buffer of 256 bytes starting at a page
> boundary (xx00) in the RAM memory (Mega8).
>
> I added this line in the makefile
>
> LDFLAGs = -wl,--section-start=.test=
First off, is that a typo above? It's suppose to be an uppercase
'W' like so:
LDFLAGs = -Wl,--section-start=.test=0x800200
Hi,
Checked the 'W' and it was indeed capital letter only. The problem persists!!
Any more suggestions please? Thank you.
Nayani
__
--- On Fri, 2/20/09, Weddington, Eric wrote:
First off, is that a typo above? It's suppose to be an uppercase
'W' like so:
LDFLAGs = -Wl,--section-start=.test=0x800200
It was a typo. Will test and reply. Thank you for your time.
Regards
Nayani
Hyderabad
--- On Fri, 2/20/09, Parthasaradhi Nayani wrote:
From: Parthasaradhi Nayani
Subject: [avr-gcc-list] introducing a new section in data memory
To: "avr-gcc-list@nongnu.org"
Date: Friday, February 20, 2009, 10:46 AM
Hello all,
I sent a mail on the subject but it seems to hav
Hello all,
I sent a mail on the subject but it seems to have got lost and therefore
posting again
I need to have a buffer of about 256 bytes starting at a page boundary in the
ram of Mega8. To get this I introduced a new section and assigned it an address
in makefile. I defined variables, to
; Subject: [avr-gcc-list] introducing a new section in data memory
>
>
> Hello all,
> I needed to create a buffer of 256 bytes starting at a page
> boundary (xx00) in the RAM memory (Mega8).
>
> I added this line in the makefile
>
> LDFLAGs = -wl,--section-start=.test
Hello all,
I needed to create a buffer of 256 bytes starting at a page boundary (xx00) in
the RAM memory (Mega8).
I added this line in the makefile
LDFLAGs = -wl,--section-start=.test=0x800200
and defined a variable in the .C file (shown below)
unsigned char mem3 __attribute__ ((section(".te
14 matches
Mail list logo