newlib with avr-libc support
Ralf Corsepius
ralf.corsepius@rtems.org
Tue Jun 2 09:41:00 GMT 2009
josh.switnicki@utoronto.ca wrote:
> Hello,
>
> I am working as a gsoc student on porting rtems to the atmega128.
>
> I am having some trouble adding the .h files from avr-libc to newlib.
> the end result I would like is to have two directories in the newlib
> include path with the avr specific .h file in them so that when the
> files are included in the code they would be included in the same way as
> would be done with avr-libc
> ie. #include <avr/interrupts.h>
> this is my first time attempting something like this and all the help
> and patience is greatly appreciated.
Generally speaking, you seem to be putting "the horse before the cart",
i.e. you seem to approaching the problem from the wrong end.
In RTEMS, stuff like interrupts etc. belong into RTEMS, not into newlib.
Ralf
More information about the Newlib
mailing list