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

Alexander Baranov Baranov at intech21.com
Tue Apr 15 15:36:08 CEST 2003


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




More information about the En-Nut-Discussion mailing list