public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] [OT] gcc and memory models
@ 2009-02-05 22:09 Francisco Ares
  2009-02-07 12:10 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Francisco Ares @ 2009-02-05 22:09 UTC (permalink / raw
  To: gentoo-embedded

Sorry for this off-topic question

Can anyone point me so any resource on how do I tell gcc which RAM I
want to use in a microcontroller that has its own internal few kbytes
of RAM, but to which I've connected an external chip?

I know this is possible, because it is a sample architecture from the
microcontroller manufacturer datasheet, but I got no source code along
with this example.

thanks a lot
Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] [OT] gcc and memory models
  2009-02-05 22:09 [gentoo-embedded] [OT] gcc and memory models Francisco Ares
@ 2009-02-07 12:10 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-02-07 12:10 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Francisco Ares

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

On Thursday 05 February 2009 17:09:21 Francisco Ares wrote:
> Can anyone point me so any resource on how do I tell gcc which RAM I
> want to use in a microcontroller that has its own internal few kbytes
> of RAM, but to which I've connected an external chip?

void *some_weird_ram = 0x1235235;
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-07 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 22:09 [gentoo-embedded] [OT] gcc and memory models Francisco Ares
2009-02-07 12:10 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox