blob: 8bf38b1129fc563d6e0ae9209f27b62a4907e9f5 [file] [log] [blame]
/*
*
* Copyright (c) 2022 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef USER_LWIPOPTS_H
#define USER_LWIPOPTS_H
#define LWIP_STATS (0)
#define LWIP_IGMP (1)
#define LWIP_RAW (1)
#define MEM_LIBC_MALLOC (1)
#define MEM_USE_POOLS (0)
#ifdef LWIP_DEBUG
// Debug Options
#define NETIF_DEBUG LWIP_DBG_ON
#define IP_DEBUG LWIP_DBG_ON
#define TCP_DEBUG LWIP_DBG_ON
#define UDP_DEBUG LWIP_DBG_ON
#define IP6_DEBUG LWIP_DBG_ON
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
#endif
#ifndef LWIP_PLATFORM_DIAG
#define LWIP_PLATFORM_DIAG(x) \
do \
{ \
DEBUG_PRINT x; \
DEBUG_PRINT("\r"); \
} while (0)
#endif
#endif /* USER_LWIPOPTS_H */