-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add_connectedhomeip_component' into 'main'
Add matter component based on esp-matter sdk and connectedhomeip See merge request app-frameworks/esp-matter!552
- Loading branch information
Showing
7 changed files
with
1,372 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Push components to Espressif Component Service | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
upload_components: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Upload components to component service | ||
uses: espressif/upload-components-ci-action@v1 | ||
with: | ||
name: "esp_matter" | ||
namespace: "espressif" | ||
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rsource "connectedhomeip/connectedhomeip/config/esp32/components/chip/Kconfig" | ||
rsource "components/esp_matter/Kconfig" | ||
rsource "components/esp_matter_bridge/Kconfig" | ||
rsource "components/esp_matter_console/Kconfig" | ||
rsource "components/esp_matter_controller/Kconfig" |
80 changes: 80 additions & 0 deletions
80
examples/common/blemesh_platform/platform/ESP32_custom/external_platform.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# check the source file dirs | ||
set(EXPLANT_SRC_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}/" | ||
"${CMAKE_CURRENT_LIST_DIR}/route_hook") | ||
|
||
set(EXPLANT_INCLUDE_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}/../../" | ||
"${CMAKE_CURRENT_LIST_DIR}" | ||
"${CMAKE_CURRENT_LIST_DIR}/bluedroid" | ||
"${CMAKE_CURRENT_LIST_DIR}/nimble" | ||
"${CMAKE_CURRENT_LIST_DIR}/route_hook") | ||
|
||
set(EXPLANT_EXCLUDE_SRCS_LIST) | ||
|
||
if (CONFIG_USE_MINIMAL_MDNS) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/DnssdImpl.cpp") | ||
endif() | ||
|
||
if ((CONFIG_USE_MINIMAL_MDNS) OR ((NOT CONFIG_ENABLE_WIFI_STATION) AND (NOT CONFIG_ENABLE_WIFI_AP))) | ||
list(APPEND EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/WiFiDnssdImpl.cpp") | ||
endif() | ||
|
||
if((NOT CONFIG_ENABLE_WIFI_STATION) AND (NOT CONFIG_ENABLE_WIFI_AP)) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ConnectivityManagerImpl_WiFi.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/NetworkCommissioningDriver.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/route_hook/ESP32RouteHook.c" | ||
"${CMAKE_CURRENT_LIST_DIR}/route_hook/ESP32RouteTable.c") | ||
endif() | ||
|
||
if(NOT CONFIG_ENABLE_ROUTE_HOOK) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/route_hook/ESP32RouteHook.c" | ||
"${CMAKE_CURRENT_LIST_DIR}/route_hook/ESP32RouteTable.c") | ||
endif() | ||
|
||
if ((CONFIG_BT_ENABLED) AND (CONFIG_ENABLE_CHIPOBLE)) | ||
if (CONFIG_BT_NIMBLE_ENABLED) | ||
list(APPEND EXPLANT_SRC_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}/nimble") | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/bluedroid/BLEManagerImpl.cpp") | ||
if(NOT CONFIG_ENABLE_ESP32_BLE_CONTROLLER) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/bluedroid/ChipDeviceScanner.cpp") | ||
endif() | ||
else() | ||
list(APPEND EXPLANT_SRC_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}/bluedroid") | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/nimble/BLEManagerImpl.cpp") | ||
if(NOT CONFIG_ENABLE_ESP32_BLE_CONTROLLER) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/nimble/ChipDeviceScanner.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/nimble/misc.c" | ||
"${CMAKE_CURRENT_LIST_DIR}/nimble/peer.c") | ||
endif() | ||
endif() | ||
endif() | ||
|
||
if (NOT CONFIG_ENABLE_ETHERNET_TELEMETRY) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ConnectivityManagerImpl_Ethernet.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/NetworkCommissioningDriver_Ethernet.cpp") | ||
endif() | ||
|
||
if (NOT CONFIG_ENABLE_MATTER_OVER_THREAD) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/OpenthreadLauncher.c" | ||
"${CMAKE_CURRENT_LIST_DIR}/ThreadStackManagerImpl.cpp") | ||
endif() | ||
|
||
if (NOT CONFIG_ENABLE_OTA_REQUESTOR) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/OTAImageProcessorImpl.cpp") | ||
endif() | ||
|
||
|
||
if (NOT CONFIG_ENABLE_ESP32_FACTORY_DATA_PROVIDER) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ESP32FactoryDataProvider.cpp") | ||
endif() | ||
|
||
if (NOT CONFIG_ENABLE_ESP32_DEVICE_INFO_PROVIDER) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ESP32DeviceInfoProvider.cpp") | ||
endif() | ||
|
||
if (NOT CONFIG_SEC_CERT_DAC_PROVIDER) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ESP32SecureCertDACProvider.cpp") | ||
endif() | ||
|
||
if (NOT CONFIG_USE_ESP32_ECDSA_PERIPHERAL) | ||
list(APPEND EXPLANT_EXCLUDE_SRCS_LIST "${CMAKE_CURRENT_LIST_DIR}/ESP32CHIPCryptoPAL.cpp") | ||
endif() |
Oops, something went wrong.