<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0c0c0>
<DIV><FONT face=Arial size=2>Hi Jose,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>to do this I simply modified the .cfg file
(leon2.cfg) and added a <FONT face="Times New Roman"
size=3>CONSOLE_USE_INTERRUPTS</FONT> compilation directive to the CFLAGS
line.</FONT></DIV>
<DIV><FONT face=Arial size=2>It works in 4.7.1.</FONT></DIV>
<DIV><FONT face=Arial size=2>John.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jfa@reexsa.com href="mailto:jfa@reexsa.com">jfa@reexsa.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rtems-users@rtems.org
href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 14, 2008 6:21
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> LEON2 console ringbuf.h</DIV>
<DIV><BR></DIV><BR>Hi all,<BR><BR><BR>I am trying to build an RTEMS for a
LEON2 processor using the UART support (CONSOLE_USE_INTERRUPTS=1). The
compilation fails when processing console.c because it can not find
ringbuf.h.<BR><BR>I have tried with rtems-4.7.99.2 and the prebuitl tools from
Gaisler Research, and with the rtems-4.8 and a self made toolchain. Both of
them work without problems without the UART support.<BR><BR>cd
b-leon2<BR>../rtems-4.8.0/configure --target=sparc-rtmes
--enable-rtemsbsp=leon2 --enable-test=samples --disable-itron --disable-posix
CONSOLE_USE_INTERRUPTS=1<BR>make<BR><BR>Any hint of what could I be
missing?<BR><BR><BR>Jose<BR><BR clear=all><BR><BR><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>rtems-users mailing
list<BR>rtems-users@rtems.com<BR>http://rtems.rtems.org/mailman/listinfo/rtems-users<BR></BLOCKQUOTE></BODY></HTML>