Merge branch 'feature/update-chip-sunmodule-bd17b9f52' into 'main'

update connecthomeip submodule to bd17b9f52

See merge request app-frameworks/esp-matter!327
This commit is contained in:
Shu Chen
2023-03-30 10:09:15 +08:00
5 changed files with 48 additions and 12 deletions
@@ -3,9 +3,9 @@ if (NOT ("${IDF_TARGET}" STREQUAL "esp32c6" ))
message(FATAL_ERROR "please set esp32c6 as the IDF_TARGET using 'idf.py --preview set-target esp32c6'")
endif()
SET(device_type esp32c2_devkit_m)
SET(led_type gpio)
SET(button_type hollow_button)
SET(device_type esp32c6_devkit_c)
SET(led_type ws2812)
SET(button_type iot)
SET(extra_components_dirs_append "$ENV{ESP_MATTER_DEVICE_PATH}/../../led_driver"
"$ENV{ESP_MATTER_DEVICE_PATH}/../../button_driver/button")
"$ENV{ESP_MATTER_DEVICE_PATH}/../../button_driver/iot_button")
@@ -26,6 +26,9 @@ declare_args() {
chip_use_factory_data_provider = false
chip_use_device_info_provider = false
chip_config_software_version_number = 0
chip_enable_chipoble = true
chip_bt_nimble_enabled = true
chip_bt_bluedroid_enabled = true
}
config("ESP32_custom_include") {
@@ -76,7 +79,6 @@ group("platform_buildconfig") {
static_library("ESP32_custom") {
sources = [
"${chip_root}/src/platform/SingletonConfigurationManager.cpp",
"BLEManagerImpl.h",
"CHIPDevicePlatformConfig.h",
"CHIPDevicePlatformEvent.h",
"ConfigurationManagerImpl.cpp",
@@ -97,8 +99,6 @@ static_library("ESP32_custom") {
"PlatformManagerImpl.h",
"SystemTimeSupport.cpp",
"SystemTimeSupport.h",
"bluedroid/BLEManagerImpl.cpp",
"nimble/BLEManagerImpl.cpp",
]
deps = [
@@ -125,6 +125,24 @@ static_library("ESP32_custom") {
]
}
if (chip_enable_chipoble) {
sources += [
"BLEManagerImpl.h",
]
}
if (chip_bt_nimble_enabled) {
sources += [
"nimble/BLEManagerImpl.cpp",
]
}
if (chip_bt_bluedroid_enabled) {
sources += [
"bluedroid/BLEManagerImpl.cpp",
]
}
if (chip_enable_wifi) {
sources += [
"ConnectivityManagerImpl_WiFi.cpp",
+21 -3
View File
@@ -24,6 +24,9 @@ declare_args() {
chip_use_factory_data_provider = false
chip_use_device_info_provider = false
chip_config_software_version_number = 0
chip_enable_chipoble = true
chip_bt_nimble_enabled = true
chip_bt_bluedroid_enabled = true
}
config("ESP32_custom_include") {
@@ -73,7 +76,6 @@ group("platform_buildconfig") {
static_library("ESP32_custom") {
sources = [
"${chip_root}/src/platform/SingletonConfigurationManager.cpp",
"BLEManagerImpl.h",
"CHIPDevicePlatformConfig.h",
"CHIPDevicePlatformEvent.h",
"ConfigurationManagerImpl.cpp",
@@ -94,8 +96,6 @@ static_library("ESP32_custom") {
"PlatformManagerImpl.h",
"SystemTimeSupport.cpp",
"SystemTimeSupport.h",
"bluedroid/BLEManagerImpl.cpp",
"nimble/BLEManagerImpl.cpp",
]
deps = [
@@ -120,6 +120,24 @@ static_library("ESP32_custom") {
]
}
if (chip_enable_chipoble) {
sources += [
"BLEManagerImpl.h",
]
}
if (chip_bt_nimble_enabled) {
sources += [
"nimble/BLEManagerImpl.cpp",
]
}
if (chip_bt_bluedroid_enabled) {
sources += [
"bluedroid/BLEManagerImpl.cpp",
]
}
if (chip_enable_wifi) {
sources += [
"ConnectivityManagerImpl_WiFi.cpp",
+1 -1
View File
@@ -20,7 +20,7 @@ echo ""
# output after cut: zap/zap-v2023.03.06-nightly
# TODO: Remove the zap-version after https://github.com/project-chip/connectedhomeip/pull/25727 merged
zap_path=`python3 ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip/scripts/tools/zap/zap_download.py \
--sdk-root ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip --zap RELEASE --zap-version v2023.03.06-nightly \
--sdk-root ${ESP_MATTER_PATH}/connectedhomeip/connectedhomeip --zap RELEASE --zap-version v2023.03.27-nightly \
--extract-root .zap 2>/dev/null | cut -d= -f2`
# Check whether the download is successful.
if [ -z $zap_path ]; then