mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
This allows enabling lwIP debugging output. For example, to enable PPP
debugging add the following to `mpconfigboard.h`:
#define LWIP_DEBUG 1
#define PPP_DEBUG LWIP_DBG_ON
Signed-off-by: Damien George <damien@micropython.org>
13 lines
317 B
C
13 lines
317 B
C
#ifndef MICROPY_INCLUDED_STM32_LWIP_ARCH_CC_H
|
|
#define MICROPY_INCLUDED_STM32_LWIP_ARCH_CC_H
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
#define LWIP_PLATFORM_DIAG(x) do { printf x; } while (0)
|
|
#define LWIP_PLATFORM_ASSERT(x) { assert(1); }
|
|
|
|
#define LWIP_NO_CTYPE_H 1
|
|
|
|
#endif // MICROPY_INCLUDED_STM32_LWIP_ARCH_CC_H
|