Updated release notes, lwip architecture port files

This commit is contained in:
Joseph Henry
2017-09-15 19:30:48 -07:00
parent 709fc40483
commit 88efcf984a
3 changed files with 22 additions and 31 deletions

View File

@@ -83,7 +83,7 @@ typedef unsigned long mem_ptr_t;
/* Plaform specific diagnostic output */
//#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
#include "Debug.hpp"
#define LWIP_PLATFORM_DIAG(x) DEBUG_STACK(x);
#define LWIP_PLATFORM_DIAG(x) DEBUG_STACK x;
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)

View File

@@ -76,7 +76,8 @@
* systems, this should be defined to something less resource-consuming.
*/
#ifndef LWIP_PLATFORM_DIAG
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
#include "Debug.hpp"
#define LWIP_PLATFORM_DIAG(x) printf(x);
#include <stdio.h>
#include <stdlib.h>
#endif