/*
 * FreeRTOS+TCP V3.1.0
 * Copyright (C) 2022 Amazon.com, Inc. or its affiliates.  All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * http://aws.amazon.com/freertos
 * http://www.FreeRTOS.org
 */


/*****************************************************************************
*
* See the following URL for configuration information.
* http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_IP_Configuration.html
*
*****************************************************************************/

#ifndef FREERTOS_IP_CONFIG_H
#define FREERTOS_IP_CONFIG_H
/* Empty configuration file to check the build with default configuration. */

/* It is not sensible for this macro to have a default value as it is hardware
 * dependent. */
#define ipconfigBYTE_ORDER    pdFREERTOS_LITTLE_ENDIAN
#define ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS 	4
#define ipconfigUSE_NETWORK_EVENT_HOOK 					1
#define ipconfigUSE_DHCP    										1
#define ipconfigUSE_DHCP_HOOK 									1
#define ipconfigUSE_DNS_CACHE										1
#define ipconfigMAC_INTERRUPT_PRIORITY	( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY )
#define ipconfigDHCP_REGISTER_HOSTNAME					1
#define ipconfigUSE_DNS													1
//#define ipconfigUSE_LLMNR												1
//#define ipconfigUSE_NBNS												1
//#define ipconfigETHERNET_DRIVER_FILTERS_FRAME_TYPES   1
//#define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM        1
//#define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM        1
//#define ipconfigZERO_COPY_RX_DRIVER                   1
//#define ipconfigZERO_COPY_TX_DRIVER                   1
//#define ipconfigUSE_LINKED_RX_MESSAGES                1
//#define ipconfigUDP_MAX_RX_PACKETS							10
//#define ipconfigSUPPORT_SIGNALS									1
#define ipconfigUSE_TCP_WIN   0
//#define ipconfigNETWORK_MTU   586
//#define ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS    10U

#ifdef DEBUG	
	//#define ipconfigHAS_DEBUG_PRINTF    						0
	#define ipconfigHAS_PRINTF 											1
	#ifndef FreeRTOS_debug_printf	
		#define FreeRTOS_debug_printf( X )    
	#else
		#define FreeRTOS_debug_printf( X )    printf X//, ##__VA_ARGS__
	#endif
	#define FreeRTOS_printf( X )    printf X
#endif
#endif
