Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Code pointer with GCC

2005-11-06 by Sebastien Jacquemard

thanks,
sebastien
----- Original Message -----
From: "Richard Duits" <yahoo@...>
To: <lpc2000@yahoogroups.com>
Sent: Sunday, November 06, 2005 11:56 AM
Subject: Re: [lpc2000] Code pointer with GCC


> Hello Sebastien,
>
> You don't need to, the ARM has only one 32 bit address space that
> contains everything (code, data, readonly data, memory mapped registers,
> and more). So a "char *p" or "const char *p" can point to anything in
> rom, ram, external memory, etc.
>
> Richard.
>
>
> Sebastien Jacquemard wrote:
>
> > Hello,
> > I need to declare a pointer to code with GCC.
> > With 8051 and keil PK51 I do this for exemple "char code *p"
> > How can I do the same thing with GCC (I use GCC with keil IDE) ?
> >
> > Thanks,
> > Sebastien
> >
> >
> >
> > ------------------------------------------------------------------------
> > YAHOO! GROUPS LINKS
> >
> >     *  Visit your group "lpc2000
> >       <http://groups.yahoo.com/group/lpc2000>" on the web.
> >
> >     *  To unsubscribe from this group, send an email to:
> >        lpc2000-unsubscribe@yahoogroups.com
> >       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> >
> >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------------------------------------------------
> >
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.