DM90x0 driver hooked into DM320

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@367 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-11-04 16:31:24 +00:00
parent da7b0d1d90
commit 643c8d6401
8 changed files with 158 additions and 18 deletions
+9 -1
View File
@@ -45,6 +45,10 @@
#include "nettest.h"
/****************************************************************************
* Definitions
****************************************************************************/
/****************************************************************************
* Private Data
****************************************************************************/
@@ -104,5 +108,9 @@ int user_start(int argc, char *argv[])
void uip_log(char *m)
{
printf("uIP log message: %s\n", m);
/* Since uip_log is called from interrupt handling logic, it cannot use
* or other standard I/O. This should work from an interrupt handler:
*/
lib_rawprintf("uIP log message: %s\n", m);
}
+9 -1
View File
@@ -76,6 +76,10 @@
# error "No network application specified"
#endif
/****************************************************************************
* Definitions
****************************************************************************/
/****************************************************************************
* Private Data
****************************************************************************/
@@ -205,7 +209,11 @@ int user_start(int argc, char *argv[])
void uip_log(char *m)
{
printf("uIP log message: %s\n", m);
/* Since uip_log is called from interrupt handling logic, it cannot use
* or other standard I/O. This should work from an interrupt handler:
*/
lib_rawprintf("uIP log message: %s\n", m);
}
#if defined(CONFIG_EXAMPLE_UIP_WEBCLIENT)