From 4a2743e0ca3d29b6bac8f077630e9375c9d8c6f4 Mon Sep 17 00:00:00 2001 From: Pradip De Date: Mon, 29 Apr 2024 20:13:07 +0000 Subject: [PATCH] Disable TCP on the MCU based platforms by default. Some of the MCU based platforms had TCP enabled on them without having to use it. Disabling the flag before landing the TCP PR #30339 to avoid increase in code size. We can assess the need to enable TCP on these platforms later. --- config/ameba/args.gni | 2 +- config/beken/args.gni | 2 +- config/esp32/args.gni | 2 +- config/genio/args.gni | 2 +- config/mbed/chip-gn/args.gni | 2 +- examples/lighting-app/beken/args.gni | 2 +- src/platform/ASR/args.gni | 2 +- src/platform/Ameba/args.gni | 2 +- src/platform/Beken/args.gni | 2 +- src/platform/bouffalolab/BL602/args.gni | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/ameba/args.gni b/config/ameba/args.gni index a60eee6db2887c..3be47a85291024 100755 --- a/config/ameba/args.gni +++ b/config/ameba/args.gni @@ -28,7 +28,7 @@ lwip_platform = "external" chip_build_tests = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true chip_config_network_layer_ble = true diff --git a/config/beken/args.gni b/config/beken/args.gni index d9bbba606df7ba..018c3e99ad22bc 100755 --- a/config/beken/args.gni +++ b/config/beken/args.gni @@ -26,7 +26,7 @@ lwip_platform = "external" chip_build_tests = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true chip_config_network_layer_ble = true diff --git a/config/esp32/args.gni b/config/esp32/args.gni index c8de67ddc87506..f818a37f258e49 100644 --- a/config/esp32/args.gni +++ b/config/esp32/args.gni @@ -26,7 +26,7 @@ lwip_platform = "external" #Enabling this causes some error #chip_inet_config_enable_tun_endpoint = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true custom_toolchain = "//third_party/connectedhomeip/config/esp32/toolchain:esp32" diff --git a/config/genio/args.gni b/config/genio/args.gni index 50d0a514c10616..c2012d61d0905a 100644 --- a/config/genio/args.gni +++ b/config/genio/args.gni @@ -24,7 +24,7 @@ lwip_platform = "external" chip_build_tests = true -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true custom_toolchain = "//third_party/connectedhomeip/config/genio/toolchain:genio" diff --git a/config/mbed/chip-gn/args.gni b/config/mbed/chip-gn/args.gni index 83753bc7ca8012..804e9efaea74f6 100644 --- a/config/mbed/chip-gn/args.gni +++ b/config/mbed/chip-gn/args.gni @@ -21,7 +21,7 @@ chip_system_project_config_include = "" chip_device_project_config_include = "" chip_inet_config_enable_udp_endpoint = true -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false custom_toolchain = "${chip_root}/config/mbed/chip-gn/toolchain:mbed" mbedtls_target = "${chip_root}/config/mbed/chip-gn/mbedtls:mbedtls" diff --git a/examples/lighting-app/beken/args.gni b/examples/lighting-app/beken/args.gni index 79a52c9890eaca..a999e3ed08f897 100755 --- a/examples/lighting-app/beken/args.gni +++ b/examples/lighting-app/beken/args.gni @@ -29,7 +29,7 @@ lwip_platform = "external" chip_build_tests = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true chip_config_network_layer_ble = true diff --git a/src/platform/ASR/args.gni b/src/platform/ASR/args.gni index 4301315205975a..246fed39f99bb4 100755 --- a/src/platform/ASR/args.gni +++ b/src/platform/ASR/args.gni @@ -25,5 +25,5 @@ lwip_platform = "asr" chip_build_tests = false chip_inet_config_enable_ipv4 = true -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true diff --git a/src/platform/Ameba/args.gni b/src/platform/Ameba/args.gni index dd6b1bcdb9ca8f..bcda3812b8d781 100755 --- a/src/platform/Ameba/args.gni +++ b/src/platform/Ameba/args.gni @@ -21,5 +21,5 @@ mbedtls_target = "//mbedtls:mbedtls" chip_build_tests = false chip_inet_config_enable_tun_endpoint = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true diff --git a/src/platform/Beken/args.gni b/src/platform/Beken/args.gni index fbc11f681de7aa..6556eaf714d692 100755 --- a/src/platform/Beken/args.gni +++ b/src/platform/Beken/args.gni @@ -21,5 +21,5 @@ mbedtls_target = "//mbedtls:mbedtls" chip_build_tests = false chip_inet_config_enable_tun_endpoint = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true diff --git a/src/platform/bouffalolab/BL602/args.gni b/src/platform/bouffalolab/BL602/args.gni index fbabcea74083b7..7ceb33e9ed68ca 100644 --- a/src/platform/bouffalolab/BL602/args.gni +++ b/src/platform/bouffalolab/BL602/args.gni @@ -29,5 +29,5 @@ lwip_platform = "bl602" chip_build_tests = false chip_inet_config_enable_dns_resolver = false chip_inet_config_enable_tun_endpoint = false -chip_inet_config_enable_tcp_endpoint = true +chip_inet_config_enable_tcp_endpoint = false chip_inet_config_enable_udp_endpoint = true