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

Tom Nyström m99tomny at embassaden.liu.se
Tue Apr 15 13:59:56 CEST 2003


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



More information about the En-Nut-Discussion mailing list