Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion src/lwipopts_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,35 @@
*/
#define NO_SYS 1

/* LWIP Debug options */
#if !defined(NDEBUG)
#define LWIP_DBG_DEFAULT LWIP_DBG_ON
#else
#define LWIP_DBG_DEFAULT LWIP_DBG_OFF
#endif /* NDEBUG */

#if !defined(LWIP_DEBUG)
#define LWIP_DEBUG LWIP_DBG_DEFAULT
#endif /* LWIP_DEBUG */
#if !defined(NETIF_DEBUG)
#define NETIF_DEBUG LWIP_DBG_DEFAULT
#endif /* NETIF_DEBUG */
#if !defined(DHCP_DEBUG)
#define DHCP_DEBUG LWIP_DBG_DEFAULT
#endif /* DHCP_DEBUG */
#if !defined(UDP_DEBUG)
#define UDP_DEBUG LWIP_DBG_DEFAULT
#endif /* UDP_DEBUG */
#if !defined(MEMP_DEBUG)
#define MEMP_DEBUG LWIP_DBG_DEFAULT
#endif /* MEMP_DEBUG */
#if !defined(MEM_DEBUG)
#define MEM_DEBUG LWIP_DBG_DEFAULT
#endif /* MEM_DEBUG */
#if !defined(ICMP_DEBUG)
#define ICMP_DEBUG LWIP_DBG_DEFAULT
#endif /* ICMP_DEBUG */

/**
* SYS_LIGHTWEIGHT_PROT==1: if you want inter-task protection for certain
* critical regions during buffer allocation, deallocation and memory
Expand Down Expand Up @@ -218,7 +247,7 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums

/** Set this to 1 to include "fsdata_custom.c" instead of "fsdata.c" for the
* file system (to prevent changing the file included in CVS) */
#define HTTPD_USE_CUSTOM_FSDATA 1
#define HTTPD_USE_CUSTOM_FSDATA 0

/*
------------------------------------
Expand Down