Skip to content

Commit e234833

Browse files
committed
Update test data
1 parent 9169db3 commit e234833

File tree

2 files changed

+99
-1
lines changed

2 files changed

+99
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/*
2+
*
3+
* Copyright (c) 2020 Project CHIP Authors
4+
* All rights reserved.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/**
20+
* @file
21+
* Overrides to default OpenThread configuration.
22+
*
23+
*/
24+
25+
#pragma once
26+
27+
#ifdef DeviceFamily_CC13X2_CC26X2
28+
29+
/* Number of message buffers reduced to fit into CC26x2x3 RAM */
30+
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 22
31+
32+
#endif // DeviceFamily_CC13X2_CC26X2
33+
34+
#define OPENTHREAD_CONFIG_LOG_OUTPUT OPENTHREAD_CONFIG_LOG_OUTPUT_APP
35+
36+
// When operating in a less than ideal RF environment, having a more forgiving configuration
37+
// of OpenThread makes thread a great deal more reliable.
38+
#define OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_MAX_RETRY_DELAY 120 // default is 28800
39+
#define OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT 15 // default is 3
40+
#define OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT 1 // default is 0
41+
#define OPENTHREAD_CONFIG_MAC_MAX_TX_ATTEMPTS_INDIRECT_POLLS 16 // default is 4
42+
43+
// Enable periodic parent search to speed up finding a better parent.
44+
#define OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE 1 // default is 0
45+
#define OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD -45 // default is -65
46+
#define OPENTHREAD_CONFIG_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH 1 // default is 0
47+
48+
// Use smaller maximum interval to speed up reattaching.
49+
#define OPENTHREAD_CONFIG_MLE_ATTACH_BACKOFF_MAXIMUM_INTERVAL (60 * 10 * 1000) // default 1200000 ms
50+
51+
#define OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE 1
52+
//#define OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE 0
53+
#define UART_AS_SERIAL_TRANSPORT 1
54+
#define OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE 1
55+
56+
#define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1
57+
#define OPENTHREAD_CONFIG_ECDSA_ENABLE 1
58+
#define OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE 1
59+
#define OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE 1
60+
#define OPENTHREAD_CONFIG_DNS_CLIENT_SERVICE_DISCOVERY_ENABLE 1
61+
62+
#define OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE 0
63+
#define OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE 0
64+
#define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 0
65+
#define OPENTHREAD_CONFIG_JOINER_ENABLE 0
66+
67+
#define OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS 0
68+
// TCP disabled until OpenThread has a GN/Ninja build for the tcplp library
69+
#define OPENTHREAD_CONFIG_TCP_ENABLE 0
70+
71+
#define OPENTHREAD_CONFIG_THREAD_VERSION OT_THREAD_VERSION_1_3
72+
73+
//#define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 1
74+
//#define OPENTHREAD_CONFIG_COAP_API_ENABLE 1
75+
#define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 0
76+
#define OPENTHREAD_CONFIG_COAP_API_ENABLE 0
77+
#define OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE 0
78+
#define OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE 0
79+
#define OPENTHREAD_CONFIG_DIAG_ENABLE 0
80+
#define OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 0
81+
#define OPENTHREAD_CONFIG_DUA_ENABLE 1
82+
#define OPENTHREAD_CONFIG_LINK_RAW_ENABLE 1
83+
#define OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 1
84+
#define OPENTHREAD_CONFIG_MAC_CSL_TRANSMITTER_ENABLE 1
85+
#define OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 0
86+
#define OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE 1
87+
#define OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE 1
88+
#define OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE 1
89+
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE 1
90+
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE 1
91+
#define OPENTHREAD_CONFIG_MLR_ENABLE 1
92+
#define OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE 1
93+
#define OPENTHREAD_CONFIG_SRP_CLIENT_AUTO_START_DEFAULT_MODE 1
94+
#define OPENTHREAD_CONFIG_SRP_SERVER_ENABLE 0
95+
#define OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE 1
96+
97+
// Use the TI-supplied default platform configuration for remainder
98+
#include "openthread-core-cc13xx_cc26xx-config.h"

scripts/build/testdata/all_targets_linux_x64.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ameba-amebad-{all-clusters,all-clusters-minimal,light,light-switch,pigweed}
22
android-{arm,arm64,x86,x64,androidstudio-arm,androidstudio-arm64,androidstudio-x86,androidstudio-x64}-{chip-tool,chip-test,tv-server,tv-casting-app,java-matter-controller}[-no-debug]
33
bouffalolab-{bl602-iot-matter-v1,bl602-iot-dvk-3s,bl602-night-light,xt-zb6-devkit,bl706-iot-dvk,bl706-night-light}-light[-shell][-115200][-rpc][-cdc]
4-
cc13x2x7_26x2x7-{all-clusters,all-clusters-minimal,lock,pump,pump-controller,shell}[-ftd][-mtd]
4+
cc13x2x7_26x2x7-{lock}[-ftd][-mtd]
55
cc32xx-lock
66
cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor,switch}
77
efr32-{brd4161a,brd4187c,brd4186c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock,thermostat}[-rpc][-with-ota-requestor][-sed][-low-power][-shell][-no_logging][-openthread_mtd][-enable_heap_monitoring][-no_openthread_cli][-show_qr_code][-wifi][-rs911x][-wf200][-wifi_ipv4][-additional_data_advertising][-use_ot_lib][-use_ot_coap_lib][-no-version]

0 commit comments

Comments
 (0)