Skip to content

Commit 40ca7ea

Browse files
committed
Merge branch 'component_v1_4_0_1' into 'release/v1.4'
esp_matter managed component: v1.4.0~1 See merge request app-frameworks/esp-matter!1212
2 parents bea837e + 06940e3 commit 40ca7ea

File tree

4 files changed

+26
-12
lines changed

4 files changed

+26
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# Changelog for esp_matter component registry
22

3-
## [1.4.1](https://components.espressif.com/components/espressif/esp_matter/versions/1.4.1)
3+
## [1.4.0~1](https://components.espressif.com/components/espressif/esp_matter/versions/1.4.0~1)
44

55
#### Bug Fixes
66

7+
- fix compiling error for `to_underlying` when using c++23
78
- `NDEBUG` flag will be added if `CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE` is set.
89

910
#### Features
1011

11-
- esp-matter commit: 725558007ca8d77de8faad2175b04016e90da57c
12-
- connectedhomeip commit: 19aeeb3ba072250b47c21cd242e657d5949a97d3
12+
- Use v1.4.0~N based on Matter v1.4.0, remove component v1.4.1
13+
- esp-matter commit: bea837ee556c82571537791c774d2e2aa219fa33
14+
- connectedhomeip commit: 87cf8e5030284e3357cfdff5e0b83eb9d5ff73c9
1315

1416
## [1.4.0](https://components.espressif.com/components/espressif/esp_matter/versions/1.4.0)
1517

CMakeLists.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ target_link_options(${COMPONENT_LIB} PRIVATE -Wl,-O2 -Wl,--gc-sections -Os -Werr
461461
# compile options from esp-matter/components/
462462
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-error=uninitialized;-Wno-error=maybe-uninitialized;-Wno-missing-field-initializers")
463463
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-error=array-bounds;-Wno-write-strings")
464+
target_compile_options(${COMPONENT_LIB} PUBLIC "-DCHIP_HAVE_CONFIG_H")
464465

465466
# TODO: remove this when building connectedhomeip/src/controller/CHIPDeviceController.cpp with no format error
466467
if (CONFIG_ENABLE_CHIP_CONTROLLER_BUILD)
@@ -539,11 +540,18 @@ cmake_policy(SET CMP0007 NEW)
539540
include(${CMAKE_CURRENT_LIST_DIR}/connectedhomeip/connectedhomeip/config/esp32/components/chip/ota-image.cmake)
540541
# Build Matter OTA image
541542
if (CONFIG_CHIP_OTA_IMAGE_BUILD)
542-
chip_ota_image(chip-ota-image
543-
INPUT_FILES ${BUILD_DIR}/${CMAKE_PROJECT_NAME}.bin
544-
OUTPUT_FILE ${BUILD_DIR}/${CMAKE_PROJECT_NAME}-ota.bin
545-
)
546-
# Adding dependecy as app target so that this runs after images are ready
547-
add_dependencies(chip-ota-image app)
543+
if (CONFIG_OPENTHREAD_BORDER_ROUTER AND CONFIG_AUTO_UPDATE_RCP)
544+
chip_ota_image(chip-ota-image
545+
INPUT_FILES ${BUILD_DIR}/ota_with_rcp_image
546+
OUTPUT_FILE ${BUILD_DIR}/ota_with_rcp_image-ota.bin
547+
)
548+
add_dependencies(chip-ota-image gen_ota_image)
549+
else()
550+
chip_ota_image(chip-ota-image
551+
INPUT_FILES ${BUILD_DIR}/${CMAKE_PROJECT_NAME}.bin
552+
OUTPUT_FILE ${BUILD_DIR}/${CMAKE_PROJECT_NAME}-ota.bin
553+
)
554+
add_dependencies(chip-ota-image app)
555+
endif()
548556
endif()
549557
cmake_policy(SET CMP0007 ${policy_status})

generate-include-files.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,11 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/platform/CHIPDeviceBuildConfig.h
526526
527527
#define CHIP_DEVICE_CONFIG_ENABLE_DYNAMIC_MRP_CONFIG 0
528528
#define CHIP_DEVICE_CONFIG_ENABLE_WIFIPAF 0
529+
#ifdef CONFIG_ENABLE_CHIPOBLE
530+
#define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 1
531+
#else
532+
#define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 0
533+
#endif
529534
")
530535
endif()
531536

@@ -763,7 +768,6 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CHIPVersion.h
763768
#define BLE_PROJECT_CONFIG_INCLUDE 1
764769
#define INET_PROJECT_CONFIG_INCLUDE 1
765770
#define LWIP_DEBUG 1
766-
#define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 1
767771
#define CHIP_DEVICE_CONFIG_ENABLE_NFC 1
768772
#define CONFIG_CHIP_NFC_COMMISSIONING 1
769773
#define CHIP_DEVICE_PROJECT_CONFIG_INCLUDE 1

idf_component.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## IDF Component Manager Manifest File
2-
version: 1.4.1
2+
version: 1.4.0~1
33
description: Espressif's Matter SDK Component
44
url: https://github.com/espressif/esp-matter
55
files:
@@ -104,7 +104,7 @@ dependencies:
104104
espressif/json_generator: "~1.1.0"
105105

106106
espressif/esp_rcp_update:
107-
version: "1.2.0"
107+
version: "1.3.0"
108108
rules:
109109
- if: "idf_version >=5.0"
110110

0 commit comments

Comments
 (0)