complie and debug test_net

This commit is contained in:
lr
2024-05-23 11:26:36 +08:00
parent dced598cbf
commit 2147d92121
9 changed files with 229 additions and 22 deletions
@@ -46,6 +46,7 @@
#endif
#include "arch/cc.h"
#include "libserial.h"
/**
* @defgroup compiler_abstraction Compiler/platform abstraction
@@ -78,7 +79,7 @@
* systems, this should be defined to something less resource-consuming.
*/
#ifndef LWIP_PLATFORM_DIAG
#define LWIP_PLATFORM_DIAG(x) do {printf(x);} while(0)
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
// #include <stdio.h>
#include <stdlib.h>
#endif