1 /* 2 * Copyright (c) 2023, The OpenThread Authors. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 3. Neither the name of the copyright holder nor the 13 * names of its contributors may be used to endorse or promote products 14 * derived from this software without specific prior written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26 * POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29 /** 30 * This header file defines the OpenThread core configuration example for an FTD device (not acting as BR). This is 31 * intended for use in `script/check-size`. 32 * 33 */ 34 35 #ifndef OT_CORE_CONFIG_CHECK_SIZE_FTD_H_ 36 #define OT_CORE_CONFIG_CHECK_SIZE_FTD_H_ 37 38 #define OPENTHREAD_CONFIG_THREAD_VERSION OT_THREAD_VERSION_1_3 39 40 #define OPENTHREAD_CONFIG_ASSERT_ENABLE 1 41 #define OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE 0 42 #define OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE 1 43 #define OPENTHREAD_CONFIG_BORDER_AGENT_ID_ENABLE 1 44 #define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 0 45 #define OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE 0 46 #define OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE 0 47 #define OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE 1 48 #define OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE 1 49 #define OPENTHREAD_CONFIG_COAP_API_ENABLE 1 50 #define OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE 0 51 #define OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE 0 52 #define OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE 1 53 #define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 1 54 #define OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE 1 55 #define OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE 1 56 #define OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE 1 57 #define OPENTHREAD_CONFIG_DIAG_ENABLE 1 58 #define OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 0 59 #define OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE 1 60 #define OPENTHREAD_CONFIG_DNS_DSO_ENABLE 0 61 #define OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE 0 62 #define OPENTHREAD_CONFIG_DUA_ENABLE 1 63 #define OPENTHREAD_CONFIG_ECDSA_ENABLE 1 64 #define OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE 0 65 #define OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE 0 66 #define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1 67 #define OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE 1 68 #define OPENTHREAD_CONFIG_JOINER_ENABLE 1 69 #define OPENTHREAD_CONFIG_LINK_METRICS_MANAGER_ENABLE 1 70 #define OPENTHREAD_CONFIG_LINK_RAW_ENABLE 1 71 #define OPENTHREAD_CONFIG_LOG_LEVEL OT_LOG_LEVEL_INFO 72 #define OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE 0 73 #define OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 1 74 #define OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 1 75 #define OPENTHREAD_CONFIG_MESH_DIAG_ENABLE 1 76 #define OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE 1 77 #define OPENTHREAD_CONFIG_MLE_DEVICE_PROPERTY_LEADER_WEIGHT_ENABLE 1 78 #define OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE 1 79 #define OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE 1 80 #define OPENTHREAD_CONFIG_MLR_ENABLE 1 81 #define OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE 0 82 #define OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE 0 83 #define OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE 0 84 #define OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE 0 85 #define OPENTHREAD_CONFIG_PING_SENDER_ENABLE 1 86 #define OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE 1 87 #define OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE 1 88 #define OPENTHREAD_CONFIG_SRP_SERVER_ENABLE 0 89 #define OPENTHREAD_CONFIG_TIME_SYNC_ENABLE 0 90 #define OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE 1 91 #define OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE 1 92 #define OPENTHREAD_CONFIG_TMF_NETDIAG_CLIENT_ENABLE 1 93 #define OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE 0 94 #define OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE 1 95 #define OPENTHREAD_CONFIG_UPTIME_ENABLE 1 96 97 #endif // OT_CORE_CONFIG_CHECK_SIZE_FTD_H_ 98