mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user