Skip to content

Commit 170c8e4

Browse files
Revert "Merge CSA V1.4 branch in our release_2.6-1.4 (#449)"
This reverts commit d21730b.
1 parent feec059 commit 170c8e4

File tree

691 files changed

+15272
-66286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

691 files changed

+15272
-66286
lines changed

.github/.wordlist.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ CurrentHue
326326
CurrentLevel
327327
CurrentSaturation
328328
customAcl
329-
customizable
330329
customizations
331330
cvfJ
332331
cxx
@@ -1040,7 +1039,6 @@ otatesting
10401039
otaURL
10411040
OTBR
10421041
otcli
1043-
OU
10441042
outform
10451043
outgoingCommands
10461044
overridable
@@ -1152,7 +1150,6 @@ PyObject
11521150
pypi
11531151
PyRun
11541152
pytest
1155-
PYTHONPATH
11561153
QEMU
11571154
Qorvo
11581155
QPG
@@ -1329,7 +1326,6 @@ SRP
13291326
SRV
13301327
SSBL
13311328
SSID
1332-
SSL
13331329
startoffset
13341330
StartScan
13351331
startsWith
@@ -1494,7 +1490,6 @@ unfocus
14941490
Unicast
14951491
UniFlash
14961492
UnitLocalization
1497-
unittest
14981493
unpair
14991494
unprovisioned
15001495
Unsecure

.github/workflows/tests.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,6 @@ jobs:
497497
--target linux-x64-fabric-admin-rpc-ipv6only-clang \
498498
--target linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang \
499499
--target linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang \
500-
--target linux-x64-terms-and-conditions \
501500
--target linux-x64-python-bindings \
502501
build \
503502
--copy-artifacts-to objdir-clone \
@@ -515,7 +514,6 @@ jobs:
515514
echo "FABRIC_ADMIN_APP: out/linux-x64-fabric-admin-rpc-ipv6only-clang/fabric-admin" >> /tmp/test_env.yaml
516515
echo "FABRIC_BRIDGE_APP: out/linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang/fabric-bridge-app" >> /tmp/test_env.yaml
517516
echo "LIGHTING_APP_NO_UNIQUE_ID: out/linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang/chip-lighting-app" >> /tmp/test_env.yaml
518-
echo "TERMS_AND_CONDITIONS_APP: out/linux-x64-terms-and-conditions/chip-terms-and-conditions-app" >> /tmp/test_env.yaml
519517
echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
520518
echo "TRACE_TEST_JSON: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
521519
echo "TRACE_TEST_PERFETTO: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
@@ -532,7 +530,6 @@ jobs:
532530
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestConformanceTest.py'
533531
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestChoiceConformanceSupport.py'
534532
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestMatterTestingSupport.py'
535-
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSelection.py'
536533
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSupport.py'
537534
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_TC_ICDM_2_1.py'
538535
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_IDM_10_4.py'

.vscode/launch.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,6 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
{
8-
"name": "Python: Mock Server Tests",
9-
"type": "debugpy",
10-
"request": "launch",
11-
"module": "unittest",
12-
"args": [
13-
"${workspaceFolder}/integrations/mock_server/tests/test_mock_server.py"
14-
],
15-
"env": {
16-
"PYTHONPATH": "${workspaceFolder}/integrations/mock_server/src:${PYTHONPATH}"
17-
},
18-
"console": "integratedTerminal",
19-
"cwd": "${workspaceFolder}"
20-
},
21-
{
22-
"name": "Python Debugger: test_dcl_server",
23-
"type": "debugpy",
24-
"request": "launch",
25-
"program": "${workspaceFolder}/integrations/mock_server/src/main.py",
26-
"args": [
27-
"--port",
28-
"8443",
29-
"--config",
30-
"${workspaceFolder}/integrations/mock_server/configurations/server_config.json",
31-
"--routing-config-dir",
32-
"${workspaceFolder}/integrations/mock_server/configurations/fake_distributed_compliance_ledger",
33-
"--cert",
34-
"${workspaceFolder}/server.crt",
35-
"--key",
36-
"${workspaceFolder}/server.key"
37-
],
38-
"console": "integratedTerminal"
39-
},
407
{
418
"name": "Attach to running process",
429
"type": "lldb",

config/esp32/components/chip/CMakeLists.txt

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ endif()
4141

4242
if (NOT CMAKE_BUILD_EARLY_EXPANSION)
4343
if (CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE)
44-
set(is_debug FALSE)
45-
else()
4644
set(is_debug TRUE)
45+
else()
46+
set(is_debug FALSE)
4747
endif()
4848
endif()
4949

@@ -252,10 +252,6 @@ if (CONFIG_ENABLE_OTA_REQUESTOR)
252252
chip_gn_arg_append("chip_enable_ota_requestor" "true")
253253
endif()
254254

255-
if (CONFIG_ENABLE_ACCESS_RESTRICTIONS)
256-
chip_gn_arg_append("chip_enable_access_restrictions" "true")
257-
endif()
258-
259255
if (CONFIG_ENABLE_ROTATING_DEVICE_ID)
260256
chip_gn_arg_append("chip_enable_additional_data_advertising" "true")
261257
chip_gn_arg_append("chip_enable_rotating_device_id" "true")
@@ -397,6 +393,7 @@ externalproject_add(
397393
BUILD_COMMAND ninja "esp32"
398394
INSTALL_COMMAND ""
399395
BUILD_BYPRODUCTS ${chip_libraries}
396+
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
400397
DEPENDS args_gn
401398
BUILD_ALWAYS 1
402399
)
@@ -438,15 +435,7 @@ if(CONFIG_BT_ENABLED)
438435
if((target_name STREQUAL "esp32h2") OR (target_name STREQUAL "esp32c2") OR (target_name STREQUAL "esp32c6"))
439436
idf_component_get_property(bt_dir bt COMPONENT_DIR)
440437
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}>)
441-
if (EXISTS ${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/libble_app.a)
442-
list(APPEND chip_libraries "${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/libble_app.a")
443-
elseif(EXISTS ${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/${target_name}/libble_app.a)
444-
list(APPEND chip_libraries "${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/${target_name}/libble_app.a")
445-
else()
446-
message(WARNING "There is no libble_app.a in the given path")
447-
endif()
448-
elseif(target_name STREQUAL "esp32p4")
449-
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}>)
438+
list(APPEND chip_libraries "${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/libble_app.a")
450439
else()
451440
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}> -lbtdm_app)
452441
endif()
@@ -525,12 +514,11 @@ endif()
525514
idf_component_get_property(lwip_lib lwip COMPONENT_LIB)
526515
list(APPEND chip_libraries $<TARGET_FILE:${lwip_lib}>)
527516

528-
if (CONFIG_ESP32_WIFI_ENABLED OR CONFIG_IDF_TARGET_ESP32P4)
529-
idf_component_get_property(esp_wifi_lib esp_wifi COMPONENT_LIB)
530-
list(APPEND chip_libraries $<TARGET_FILE:${esp_wifi_lib}>)
531-
endif()
517+
532518
if (CONFIG_ESP32_WIFI_ENABLED)
519+
idf_component_get_property(esp_wifi_lib esp_wifi COMPONENT_LIB)
533520
idf_component_get_property(esp_wifi_dir esp_wifi COMPONENT_DIR)
521+
list(APPEND chip_libraries $<TARGET_FILE:${esp_wifi_lib}>)
534522
if (CONFIG_IDF_TARGET_ESP32C2)
535523
set(blobs core net80211 pp)
536524
else()
@@ -556,7 +544,6 @@ list(APPEND chip_libraries $<TARGET_FILE:${esp_netif_lib}>)
556544
idf_component_get_property(esp_hw_support_lib esp_hw_support COMPONENT_LIB)
557545
list(APPEND chip_libraries $<TARGET_FILE:${esp_hw_support_lib}>)
558546

559-
if (NOT CONFIG_IDF_TARGET_ESP32P4)
560547
idf_component_get_property(esp_phy_lib esp_phy COMPONENT_LIB)
561548
idf_component_get_property(esp_phy_dir esp_phy COMPONENT_DIR)
562549
list(APPEND chip_libraries $<TARGET_FILE:${esp_phy_lib}>)
@@ -571,12 +558,8 @@ endif()
571558
foreach(phy_blob ${phy_blobs})
572559
list(APPEND chip_libraries "${esp_phy_dir}/lib/${target_name}/lib${phy_blob}.a")
573560
endforeach()
574-
endif()
575561

576-
set(components_to_link esp_event hal esp_system soc efuse vfs driver freertos esp_timer)
577-
if (NOT CONFIG_IDF_TARGET_ESP32P4)
578-
list(APPEND components_to_link esp_coex)
579-
endif()
562+
set(components_to_link esp_event hal esp_system soc efuse vfs driver esp_coex freertos esp_timer)
580563
idf_build_get_property(build_components BUILD_COMPONENTS)
581564
foreach(component ${components_to_link})
582565
# Some of the components are not present in IDF v4.x

config/esp32/components/chip/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,12 +1406,4 @@ menu "CHIP Device Layer"
14061406

14071407
endmenu
14081408

1409-
menu "Cluster Configuration Options"
1410-
config ENABLE_ACCESS_RESTRICTIONS
1411-
bool "Enable Access Restrictions of Access Control Cluster"
1412-
default n
1413-
help
1414-
Enable this option to enable Access Restrictions on the device.
1415-
1416-
endmenu
14171409
endmenu

config/esp32/components/chip/idf_component.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- if: "target != esp32h2"
88

99
espressif/esp_secure_cert_mgr:
10-
version: "^2.5.0"
10+
version: "^2.3.0"
1111
rules:
1212
- if: "idf_version >=4.3"
1313

@@ -18,14 +18,22 @@ dependencies:
1818
- if: "idf_version >=4.4"
1919

2020
espressif/esp_insights:
21-
version: "1.2.2"
21+
version: "1.0.1"
2222
require: public
2323
# There is an issue with IDF-Component-Manager when ESP Insights is included.
2424
# Issue: https://github.com/project-chip/connectedhomeip/issues/29125
2525
rules:
2626
- if: "idf_version >=5.0"
2727
- if: "target != esp32h2"
2828

29+
# This matches the dependency of esp_insights
30+
espressif/esp_diag_data_store:
31+
version: "1.0.1"
32+
require: public
33+
rules:
34+
- if: "idf_version >=5.0"
35+
- if: "target != esp32h2"
36+
2937
espressif/esp_rcp_update:
3038
version: "1.2.0"
3139
rules:
@@ -36,8 +44,3 @@ dependencies:
3644
require: public
3745
rules:
3846
- if: "idf_version >=4.3"
39-
40-
espressif/esp_wifi_remote:
41-
version: ">=0.1.12"
42-
rules:
43-
- if: "target in [esp32p4]"

0 commit comments

Comments
 (0)