Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
fnet_user_config.h
00001 /* 00002 * Copyright (c) 2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 /**********************************************************************/ /*! 00019 * 00020 * @file fnet_user_config.h 00021 * 00022 * @brief FNET User configuration file. 00023 * It should be used to change any default configuration parameter. 00024 * 00025 ***************************************************************************/ 00026 00027 #ifndef _FNET_USER_CONFIG_H_ 00028 00029 #define _FNET_USER_CONFIG_H_ 00030 00031 /***************************************************************************** 00032 * IPv4 and/or IPv6 protocol support. 00033 ******************************************************************************/ 00034 #define FNET_CFG_IP4 (0) 00035 #define FNET_CFG_IP6 (1) 00036 00037 /***************************************************************************** 00038 * Multicast DNS (mDNS) "Bonjour" server/responder support. 00039 ******************************************************************************/ 00040 #define FNET_CFG_MDNS (1) 00041 #define FNET_CFG_MULTICAST (1) 00042 00043 /* Environment */ 00044 #define FNET_CFG_CPU_LITTLE_ENDIAN (1) // Simulator is big endian, Add HW endianess also, follow target 00045 #define FNET_CFG_COMP_GNUC (1) // select compiler to keep compiler selection happy 00046 #define FNET_CFG_MDNS_MAX (1) // allow only 1 mDNS server, as socket needs to be bound to port 5353 00047 #define FNET_CFG_MDNS_SERVICE_MAX (2) // Allow 2 services per server 00048 00049 #define FNET_CFG_OVERLOAD_MEMCPY (1) // Use standard memcpy 00050 #define fnet_memcpy memcpy 00051 00052 /* Testing */ 00053 #define FNET_CFG_DEBUG (0) // enable debug traces 00054 #define FNET_CFG_DEBUG_MDNS (0) // enable mDNS debug traces 00055 00056 #endif /* _FNET_USER_CONFIG_H_ */
Generated on Tue Jul 12 2022 12:21:53 by
