PATCH: ARMV7M support

Mark Mitchell mark@codesourcery.com
Sat Apr 1 13:15:00 GMT 2006


Shaun Jackman wrote:
> Hello Mark,
> 
> On 3/23/06, Mark Mitchell <mark@codesourcery.com> wrote:
>> This patch adds support for ARM V7M bare metal hardware to Newlib.
>> Here are the changes:
> 
> Can you seperate the bare-metal and dependency (_exit and stdio)
> component from the ARMv7M componenet of the patch? Non-ARMv7M targets
> also benefit from your bare-metal/dependency work. I found the patch
> difficult to read with the two matters mixed.

Here is the bare-metal/dependency bit.  In this patch, _ARM_BARE_METAL
is only defined if neither RDP or RDI support is available, but my
expectation is that "something else" (configure, libgloss, etc.) will
provide an option to define _ARM_BARE_METAL even when RDI support is
available, so that (as in my original patch) you can have RDI support
for semihosted system calls without relying on it from crt0.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20060401/4afad1ac/attachment.ksh>


More information about the Newlib mailing list