- minor changes to increase the debugging output

git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@30 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-08-04 11:17:14 +00:00
parent 6fdb0a2068
commit 1383b8ece5
2 changed files with 18 additions and 6 deletions

View file

@ -52,12 +52,12 @@ typedef signed int s32_t;
typedef size_t mem_ptr_t;
/* Define (sn)printf formatters for these lwIP types */
#define U16_F "u"
#define S16_F "d"
#define X16_F "x"
#define U32_F "u"
#define S32_F "d"
#define X32_F "x"
#define U16_F "hu"
#define S16_F "hd"
#define X16_F "hx"
#define U32_F "lu"
#define S32_F "ld"
#define X32_F "lx"
/* Compiler hints for packing structures */
//#define PACK_STRUCT_FIELD(x) x __attribute__((packed))

View file

@ -31,4 +31,16 @@
*/
#define LWIP_TCP 1
/* DEBUG options */
#define LWIP_DEBUG 1
#define DHCP_DEBUG LWIP_DBG_ON
#define ETHARP_DEBUG LWIP_DBG_ON
#define TCPIP_DEBUG LWIP_DBG_ON
#define SYS_DEBUG LWIP_DBG_ON
#define RAW_DEBUG LWIP_DBG_ON
#define MEM_DEBUG LWIP_DBG_ON
#define IP_DEBUG LWIP_DBG_ON
#define INET_DEBUG LWIP_DBG_ON
#define NETIF_DEBUG LWIP_DBG_ON
#endif