Skip to content

Commit 5416391

Browse files
authored
Merge branch 'project-chip:v1.4-branch' into v1.4-branch
2 parents fb331a4 + d9999f4 commit 5416391

File tree

646 files changed

+64677
-15120
lines changed

Some content is hidden

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

646 files changed

+64677
-15120
lines changed

.github/workflows/tests.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ jobs:
494494
--target linux-x64-fabric-admin-rpc-ipv6only-clang \
495495
--target linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang \
496496
--target linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang \
497+
--target linux-x64-terms-and-conditions \
497498
--target linux-x64-python-bindings \
498499
build \
499500
--copy-artifacts-to objdir-clone \
@@ -511,6 +512,7 @@ jobs:
511512
echo "FABRIC_ADMIN_APP: out/linux-x64-fabric-admin-rpc-ipv6only-clang/fabric-admin" >> /tmp/test_env.yaml
512513
echo "FABRIC_BRIDGE_APP: out/linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang/fabric-bridge-app" >> /tmp/test_env.yaml
513514
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
515+
echo "TERMS_AND_CONDITIONS_APP: out/linux-x64-terms-and-conditions/chip-terms-and-conditions-app" >> /tmp/test_env.yaml
514516
echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
515517
echo "TRACE_TEST_JSON: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
516518
echo "TRACE_TEST_PERFETTO: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
@@ -527,6 +529,7 @@ jobs:
527529
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestConformanceTest.py'
528530
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestChoiceConformanceSupport.py'
529531
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestMatterTestingSupport.py'
532+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSelection.py'
530533
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSupport.py'
531534
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_TC_ICDM_2_1.py'
532535
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_IDM_10_4.py'

config/esp32/components/chip/CMakeLists.txt

+12-5
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ externalproject_add(
393393
BUILD_COMMAND ninja "esp32"
394394
INSTALL_COMMAND ""
395395
BUILD_BYPRODUCTS ${chip_libraries}
396-
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
397396
DEPENDS args_gn
398397
BUILD_ALWAYS 1
399398
)
@@ -436,6 +435,8 @@ if(CONFIG_BT_ENABLED)
436435
idf_component_get_property(bt_dir bt COMPONENT_DIR)
437436
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}>)
438437
list(APPEND chip_libraries "${bt_dir}/controller/lib_${target_name}/${target_name}-bt-lib/libble_app.a")
438+
elseif(target_name STREQUAL "esp32p4")
439+
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}>)
439440
else()
440441
list(APPEND chip_libraries $<TARGET_FILE:${bt_lib}> -lbtdm_app)
441442
endif()
@@ -514,11 +515,12 @@ endif()
514515
idf_component_get_property(lwip_lib lwip COMPONENT_LIB)
515516
list(APPEND chip_libraries $<TARGET_FILE:${lwip_lib}>)
516517

517-
518-
if (CONFIG_ESP32_WIFI_ENABLED)
518+
if (CONFIG_ESP32_WIFI_ENABLED OR CONFIG_IDF_TARGET_ESP32P4)
519519
idf_component_get_property(esp_wifi_lib esp_wifi COMPONENT_LIB)
520-
idf_component_get_property(esp_wifi_dir esp_wifi COMPONENT_DIR)
521520
list(APPEND chip_libraries $<TARGET_FILE:${esp_wifi_lib}>)
521+
endif()
522+
if (CONFIG_ESP32_WIFI_ENABLED)
523+
idf_component_get_property(esp_wifi_dir esp_wifi COMPONENT_DIR)
522524
if (CONFIG_IDF_TARGET_ESP32C2)
523525
set(blobs core net80211 pp)
524526
else()
@@ -544,6 +546,7 @@ list(APPEND chip_libraries $<TARGET_FILE:${esp_netif_lib}>)
544546
idf_component_get_property(esp_hw_support_lib esp_hw_support COMPONENT_LIB)
545547
list(APPEND chip_libraries $<TARGET_FILE:${esp_hw_support_lib}>)
546548

549+
if (NOT CONFIG_IDF_TARGET_ESP32P4)
547550
idf_component_get_property(esp_phy_lib esp_phy COMPONENT_LIB)
548551
idf_component_get_property(esp_phy_dir esp_phy COMPONENT_DIR)
549552
list(APPEND chip_libraries $<TARGET_FILE:${esp_phy_lib}>)
@@ -558,8 +561,12 @@ endif()
558561
foreach(phy_blob ${phy_blobs})
559562
list(APPEND chip_libraries "${esp_phy_dir}/lib/${target_name}/lib${phy_blob}.a")
560563
endforeach()
564+
endif()
561565

562-
set(components_to_link esp_event hal esp_system soc efuse vfs driver esp_coex freertos esp_timer)
566+
set(components_to_link esp_event hal esp_system soc efuse vfs driver freertos esp_timer)
567+
if (NOT CONFIG_IDF_TARGET_ESP32P4)
568+
list(APPEND components_to_link esp_coex)
569+
endif()
563570
idf_build_get_property(build_components BUILD_COMPONENTS)
564571
foreach(component ${components_to_link})
565572
# Some of the components are not present in IDF v4.x

config/esp32/components/chip/idf_component.yml

+7-10
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.3.0"
10+
version: "^2.5.0"
1111
rules:
1212
- if: "idf_version >=4.3"
1313

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

2020
espressif/esp_insights:
21-
version: "1.0.1"
21+
version: "1.2.2"
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-
3729
espressif/esp_rcp_update:
3830
version: "1.2.0"
3931
rules:
@@ -44,3 +36,8 @@ dependencies:
4436
require: public
4537
rules:
4638
- 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)