Skip to content

Commit 204fb27

Browse files
authored
ESP32: Remove unused config (#36869)
1 parent 4828e16 commit 204fb27

File tree

11 files changed

+4
-190
lines changed

11 files changed

+4
-190
lines changed

config/esp32/components/chip/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,10 @@ if (CONFIG_CHIP_DEVICE_ENABLE_DYNAMIC_SERVER)
310310
chip_gn_arg_append("chip_build_controller_dynamic_server" "true")
311311
endif()
312312

313+
if (CONFIG_ICD_MAX_NOTIFICATION_SUBSCRIBERS)
314+
chip_gn_arg_append("icd_max_notification_subscribers" ${CONFIG_ICD_MAX_NOTIFICATION_SUBSCRIBERS})
315+
endif()
316+
313317
set(args_gn_input "${CMAKE_CURRENT_BINARY_DIR}/args.gn.in")
314318
file(GENERATE OUTPUT "${args_gn_input}" CONTENT "${chip_gn_args}")
315319

config/esp32/components/chip/Kconfig

-179
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ menu "CHIP Core"
4747
Each fabric can provision the device with its unique operational credentials and
4848
manage its own access control lists.
4949

50-
config MAX_PEER_NODES
51-
int "Max Peer Nodes"
52-
range 0 65535
53-
default 16
54-
help
55-
The maximum number of peer nodes that the local node can communicate with using
56-
connectionless communication (e.g. UDP). This value sizes a table that tracks
57-
communication state with peer nodes by their CHIP node id.
58-
5950
config MAX_UNSOLICITED_MESSAGE_HANDLERS
6051
int "Max Unsolicited Message Handlers"
6152
range 0 65535
@@ -223,28 +214,6 @@ menu "CHIP Core"
223214
CHIP generally needs one UDP EndPoint object for each local network
224215
interface, plus 2 additional EndPoints for general UDP communcation.
225216

226-
config MAX_CONNECTIONS
227-
int "Max CHIP Connections"
228-
range 0 65535
229-
default 8
230-
help
231-
The maximum number of simultaneously active CHIP connections, either locally
232-
or remotely initiated. This limit covers both CHIP TCP connections, and
233-
CHIP-over-BLE (WoBLE) connections.
234-
235-
config DEFAULT_INCOMING_CONNECTION_IDLE_TIMEOUT
236-
int "Default Incoming Connection Idle Timeout (ms)"
237-
range 0 1000000
238-
default 15000
239-
help
240-
The maximum amount of time, in milliseconds, that an idle inbound
241-
CHIP connection will be allowed to exist before being closed.
242-
243-
This is a default value that can be overridden at runtime by the
244-
application.
245-
246-
A value of 0 disables automatic closing of idle connections.
247-
248217
config ENABLE_ROUTE_HOOK
249218
bool "Enable route hook"
250219
depends on LWIP_HOOK_IP6_ROUTE_DEFAULT && LWIP_HOOK_ND6_GET_GW_DEFAULT
@@ -643,58 +612,6 @@ menu "CHIP Device Layer"
643612

644613
endmenu
645614

646-
menu "WiFi AP Options"
647-
648-
config ENABLE_WIFI_AP
649-
depends on ESP_WIFI_SOFTAP_SUPPORT
650-
bool "Enable CHIP WIFI AP"
651-
default y
652-
help
653-
Enables WiFi AP for CHIP.
654-
655-
config WIFI_AP_SSID_PREFIX
656-
string "WiFi AP SSID Prefix"
657-
default "MATTER-"
658-
depends on ENABLE_WIFI_AP
659-
help
660-
A prefix string used in forming the WiFi soft-AP SSID. The remainder of the SSID
661-
consists of the final two bytes of the device's primary WiFi MAC address in hex.
662-
663-
config WIFI_AP_CHANNEL
664-
int "WiFi AP Channel"
665-
range 1 14
666-
default 1
667-
depends on ENABLE_WIFI_AP
668-
help
669-
The WiFi channel number to be used by the soft-AP.
670-
671-
config WIFI_AP_MAX_STATIONS
672-
int "WiFi AP Max Allowed Stations"
673-
range 1 10
674-
default 4
675-
depends on ENABLE_WIFI_AP
676-
help
677-
The maximum number of stations allowed to connect to the soft-AP.
678-
679-
config WIFI_AP_BEACON_INTERVAL
680-
int "WiFi AP Beacon Interval (ms)"
681-
range 100 60000
682-
default 100
683-
depends on ENABLE_WIFI_AP
684-
help
685-
The beacon interval (in milliseconds) for the WiFi soft-AP.
686-
687-
config WIFI_AP_IDLE_TIMEOUT
688-
int "WiFi AP Idle Timeout (ms)"
689-
range 0 600000
690-
default 120000
691-
depends on ENABLE_WIFI_AP
692-
help
693-
The amount of time (in milliseconds) after which the CHIP platform will deactivate the soft-AP
694-
if it has been idle.
695-
696-
endmenu
697-
698615
menu "BLE Options"
699616
visible if BT_ENABLED
700617

@@ -853,85 +770,7 @@ menu "CHIP Device Layer"
853770

854771
endmenu
855772

856-
menu "Time Sync Options"
857-
858-
config ENABLE_SERVICE_DIRECTORY_TIME_SYNC
859-
bool "Enable Service Directory Time Sync"
860-
default y
861-
help
862-
Enables synchronizing the device real-time clock using information returned during
863-
a CHIP service directory query. For any device that uses the CHIP service directory
864-
to lookup a tunnel server, enabling this option will result in the real time clock being
865-
synchronized every time the service tunnel is established.
866-
867-
config ENABLE_CHIP_TIME_SERVICE_TIME_SYNC
868-
bool "Enable Time Service Time Sync"
869-
default n
870-
help
871-
Enables synchronizing the device's real time clock with a remote CHIP Time service
872-
using the CHIP Time Sync protocol.
873-
874-
config CHIP_TIME_SERVICE_ENDPOINT_ID
875-
hex "CHIP Time Service Endpoint Id"
876-
default 18B4300200000005
877-
depends on ENABLE_CHIP_TIME_SERVICE_TIME_SYNC
878-
help
879-
Specifies the service endpoint id of the CHIP Time Sync service to be used to synchronize time.
880-
881-
config DEFAULT_TIME_SYNC_INTERVAL
882-
int "Time Sync Interval (seconds)"
883-
default 60
884-
depends on ENABLE_CHIP_TIME_SERVICE_TIME_SYNC
885-
help
886-
Specifies the minimum interval (in seconds) at which the device should synchronize its real time
887-
clock with the configured CHIP Time Sync server.
888-
889-
config TIME_SYNC_TIMEOUT
890-
int "Time Sync Timeout (ms)"
891-
default 10000
892-
depends on ENABLE_CHIP_TIME_SERVICE_TIME_SYNC
893-
help
894-
Specifies the maximum amount of time (in milliseconds) to wait for a response from a
895-
CHIP Time Sync server.
896-
897-
endmenu
898-
899-
menu "Service Provisioning Options"
900-
901-
config SERVICE_PROVISIONING_ENDPOINT_ID
902-
hex "CHIP Service Provisioning Endpoint Id"
903-
default 18B4300200000010
904-
help
905-
Specifies the service endpoint id of the CHIP Service Provisioning service. When a device
906-
undergoes service provisioning, this is the endpoint to which it will send its Pair Device
907-
to Account request.
908-
909-
config SERVICE_PROVISIONING_CONNECTIVITY_TIMEOUT
910-
int "Service Provisioning Connectivity Timeout (ms)"
911-
default 10000
912-
help
913-
The maximum amount of time (in milliseconds) to wait for service connectivity during the device
914-
service provisioning step. More specifically, this is the maximum amount of time the device will
915-
wait for connectivity to be established with the service at the point where the device waiting
916-
to send a Pair Device to Account request to the Service Provisioning service.
917-
918-
config SERVICE_PROVISIONING_REQUEST_TIMEOUT
919-
int "Service Provisioning Request Timeout (ms)"
920-
default 10000
921-
help
922-
Specifies the maximum amount of time (in milliseconds) to wait for a response from the Service
923-
Provisioning service.
924-
925-
endmenu
926-
927773
menu "Commissioning options"
928-
config RENDEZVOUS_WAIT_FOR_COMMISSIONING_COMPLETE
929-
int "Use full IP-based commissioning (expect cluster commands)"
930-
default 0
931-
help
932-
Setting this to y will cause the commissioner to send commissioning commands to the
933-
various clusters after establishing a PASE session.
934-
935774
config ENABLE_ROTATING_DEVICE_ID
936775
depends on ENABLE_CHIPOBLE
937776
bool "Enable Rotating Device Identifier Support"
@@ -1065,24 +904,6 @@ menu "CHIP Device Layer"
1065904
The EnableKey in hex string format used by TestEventTrigger command in GeneralDiagnostics
1066905
cluster. The length of the string should be 32.
1067906

1068-
config ENABLE_FIXED_TUNNEL_SERVER
1069-
bool "Use Fixed Tunnel Server"
1070-
default n
1071-
help
1072-
Forces the use of a service tunnel server at a fixed IP address and port. This
1073-
bypasses the need for a directory query to the service directory endpoint to
1074-
determine the tunnel server address. When enabled, this option allows devices
1075-
that haven't been service provisioned to establish a service tunnel.
1076-
1077-
config TUNNEL_SERVER_ADDRESS
1078-
string "Tunnel Server Address"
1079-
default ""
1080-
depends on ENABLE_FIXED_TUNNEL_SERVER
1081-
help
1082-
The IP address and port of the server to which the device should establish a service tunnel.
1083-
The supplied address must be a dot-notation IP address--not a host name. The port number is
1084-
optional; if present it should be separated from the IP address with a colon (e.g. 192.168.1.100:5540).
1085-
1086907
endmenu
1087908

1088909
menu "Network Telemetry Options"

examples/all-clusters-app/esp32/sdkconfig.defaults.esp32c6

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
5353

5454
# Wi-Fi Settings
5555
CONFIG_ENABLE_WIFI_STATION=y
56-
CONFIG_ENABLE_WIFI_AP=n
5756
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
5857
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
5958

examples/all-clusters-app/esp32/sdkconfig.defaults.esp32h2

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
6464

6565
# Disable STA and AP for ESP32H2
6666
CONFIG_ENABLE_WIFI_STATION=n
67-
CONFIG_ENABLE_WIFI_AP=n
6867
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
6968
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
7069

examples/energy-management-app/esp32/sdkconfig.defaults.esp32c6

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
5353

5454
# Wi-Fi Settings
5555
CONFIG_ENABLE_WIFI_STATION=y
56-
CONFIG_ENABLE_WIFI_AP=n
5756
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
5857
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
5958

examples/energy-management-app/esp32/sdkconfig.defaults.esp32h2

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
6767

6868
# Disable STA and AP for ESP32H2
6969
CONFIG_ENABLE_WIFI_STATION=n
70-
CONFIG_ENABLE_WIFI_AP=n
7170
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
7271
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
7372

examples/lighting-app/esp32/sdkconfig.defaults.esp32c6

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
5353

5454
# Wi-Fi Settings
5555
CONFIG_ENABLE_WIFI_STATION=y
56-
CONFIG_ENABLE_WIFI_AP=n
5756
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
5857
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
5958

examples/lighting-app/esp32/sdkconfig.defaults.esp32h2

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
6767

6868
# Disable STA and AP for ESP32H2
6969
CONFIG_ENABLE_WIFI_STATION=n
70-
CONFIG_ENABLE_WIFI_AP=n
7170
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
7271
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
7372

examples/lit-icd-app/esp32/sdkconfig.defaults

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ CONFIG_PARTITION_TABLE_OFFSET=0xC000
5151

5252
# Disable STA and AP for ESP32H2
5353
CONFIG_ENABLE_WIFI_STATION=n
54-
CONFIG_ENABLE_WIFI_AP=n
5554
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n
5655

5756
# Disable chip shell

examples/lock-app/esp32/sdkconfig.defaults.esp32c6

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
5252

5353
# Wi-Fi Settings
5454
CONFIG_ENABLE_WIFI_STATION=y
55-
CONFIG_ENABLE_WIFI_AP=n
5655
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp'
5756
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
5857

src/platform/ESP32/CHIPDevicePlatformConfig.h

-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@
121121
#define CHIP_DEVICE_CONFIG_BLE_SLOW_ADVERTISING_INTERVAL_MAX CONFIG_BLE_SLOW_ADVERTISING_INTERVAL_MAX
122122
#define CHIP_DEVICE_CONFIG_CHIPOBLE_SINGLE_CONNECTION CONFIG_CHIPOBLE_SINGLE_CONNECTION
123123
#define CHIP_DEVICE_CONFIG_CHIPOBLE_ENABLE_ADVERTISING_AUTOSTART CONFIG_CHIPOBLE_ENABLE_ADVERTISING_AUTOSTART
124-
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_ENDPOINT_ID CONFIG_SERVICE_PROVISIONING_ENDPOINT_ID
125-
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_CONNECTIVITY_TIMEOUT CONFIG_SERVICE_PROVISIONING_CONNECTIVITY_TIMEOUT
126-
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT
127124
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS CONFIG_ENABLE_TEST_SETUP_PARAMS
128125
#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER CONFIG_USE_TEST_SERIAL_NUMBER
129126

0 commit comments

Comments
 (0)