[En-Nut-Discussion] Reply to UART registration problem

Harald Kipp harald.kipp at egnite.de
Tue Apr 22 12:46:02 CEST 2003


I can't imagine how linking in the network libraries would
disable UART1. Anyway, it's always a good idea to check
the map file for what has been linked in.

Harald

At 09:36 15.04.2003 -0400, you wrote:
>Hi,
>Finally I solved that problem. I discovered, that if you do not want to
>install Ethernet, but have to install UART1, you should not include
>"lnutnet, lnutpro, lnutfs".
>The LIBS string in such file looks like:
>#LIBS =  $(LIBDIR)/init.o -lnutos -lnutdev -lnutos. I really don't know the
>reason.
>Alex.
>----- Original Message -----
>From: "Tom Nyström" <m99tomny at embassaden.liu.se>
>To: <en-nut-discussion at egnite.de>
>Sent: Tuesday, April 15, 2003 7:59 AM
>Subject: [En-Nut-Discussion] Reply to UART registration problem
>
>
> > Hello!
> >
> > We experienced the same problem as Alexander Baranov did in december of
>2002.
> > The UART registration does not work properly if you do not also register
>and configure
> > an Ethernet device. If you do not want to do that we found that including
>the function
> > below also does the trick. You do not have to use it, it just has to be
>defined.
> >
> > void bugfix(void *arg)
> > {
> >    NutEventPostAsync(arg);
> > }
> >
> > It seems NutEventPostAsync() needs to be called by something, but not
>necessarily run.
> > Perhaps the Ethernet registration/configuration does this.
> >
> > Regards
> > Tom Nyström
> > _______________________________________________
> > En-Nut-Discussion mailing list
> > En-Nut-Discussion at egnite.de
> > http://www.egnite.de/mailman/listinfo/en-nut-discussion
>
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list