Skip to content

Commit f11cca3

Browse files
Remove some stale defines from config files. (#36316)
* Remove some stale defines from config files. These macros don't configure anything anymore. * Apply suggestion from code review. * Remove more whitespace.
1 parent 6aa13c0 commit f11cca3

File tree

8 files changed

+1
-22
lines changed

8 files changed

+1
-22
lines changed

config/android/CHIPProjectConfig.h

+1-8
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,11 @@
2626
#ifndef CHIPPROJECTCONFIG_H
2727
#define CHIPPROJECTCONFIG_H
2828

29-
// Enable UDP listening on demand in the CHIPDeviceController
30-
#define CHIP_CONFIG_DEVICE_CONTROLLER_DEMAND_ENABLE_UDP 1
31-
3229
#define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
3330

3431
// Uncomment this for a large Tunnel MTU.
35-
//#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
32+
// #define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
3633

3734
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 300
3835

39-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
40-
41-
#define CHIP_CONFIG_MAX_SOFTWARE_VERSION_LENGTH 128
42-
4336
#endif /* CHIPPROJECTCONFIG_H */

config/python/CHIPProjectConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959

6060
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
6161

62-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
63-
6462
/* TODO: Ideally, these #defines should be enabled by default for Linux
6563
AND the python tool would provide runtime options to enable/disable them */
6664
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY 1

config/standalone/CHIPProjectConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060

6161
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
6262

63-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
64-
6563
#ifndef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
6664
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT 4
6765
#endif

examples/chip-tool/include/CHIPProjectAppConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454

5555
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
5656

57-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
58-
5957
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY 1
6058

6159
// Enable some test-only interaction model APIs.

examples/fabric-admin/include/CHIPProjectAppConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454

5555
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
5656

57-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
58-
5957
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY 1
6058

6159
// Enable some test-only interaction model APIs.

examples/java-matter-controller/include/CHIPProjectAppConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646

4747
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
4848

49-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
50-
5149
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY 1
5250

5351
// Enable some test-only interaction model APIs.

examples/kotlin-matter-controller/include/CHIPProjectAppConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646

4747
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
4848

49-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
50-
5149
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY 1
5250

5351
// Enable some test-only interaction model APIs.

examples/lit-icd-app/linux/config/CHIPProjectConfig.h

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363

6464
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
6565

66-
#define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
67-
6866
#ifndef CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
6967
#define CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT 4
7068
#endif

0 commit comments

Comments
 (0)