Commit Graph

93 Commits

Author SHA1 Message Date
Shu Chen 4575995c5b Merge branch 'fix_relative_paths' into 'main'
Fix building examples if placed outside the repo

See merge request app-frameworks/esp-matter!729
2024-05-09 16:18:34 +08:00
Yuan Ming Fu 7ef1f5e13a example: use 26MHz XTAL default on esp32-c2 2024-05-07 19:28:22 +08:00
Shubham Patil 6dd7a44272 Fix building examples if placed outside the repo
Fixes https://github.com/espressif/esp-matter/issues/916

Build path using ESP_MATTER_PATH variable and not with
CMAKE_CURRENT_LIST_DIR.

If example is moved out from their current place then the compilation
breaks, becuase it tries to find the file wrt to current project
directory.
2024-05-06 11:57:56 +05:30
Hrishikesh Dhayagude a81100ad98 Merge branch 'handle_nvs_primitive_types' into 'main'
Ensure backward compatibility for attributes stored in NVS with primitive data type

See merge request app-frameworks/esp-matter!594
2024-04-19 16:45:43 +08:00
YuanMingFu 46c3d4d07b relinker: add support for more idf version 2024-04-18 11:40:34 +08:00
Shubham Patil 68714c0e2d Ensure backward compatibility for attributes stored in NVS with
primitive data type

Removed config option ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE.

Previously, the ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE option
determined whether to store attributes as a blob or a primitive data
type in NVS. Since this configuration is not backward compatible, we now
read the attribute as a primitive data type if not found. If it's a
blob, we read it and rewrite it as a primitive data type.
2024-04-12 12:38:16 +05:30
liyashuai 2ef30e7a47 fix ci error 2024-04-10 16:43:53 +08:00
Shubham Patil ec72e3209d examples: added ABORT_APP_ON_FAILURE macro to abort if APIs return error 2024-02-07 17:47:54 +05:30
WanqQixiang 14da080ac3 esp_matter: Add an option to disable Matter server for client-only examples 2024-01-29 19:35:41 +08:00
Shu Chen 9703555506 Merge branch 'dynamic_passcode' into 'main'
example: Add dynamic passcode commissionable data provider for light-switch app

See merge request app-frameworks/esp-matter!555
2024-01-25 11:53:31 +08:00
liyashuai 1977e50b09 update esp32c6 ble deinit and mem release config 2024-01-17 19:34:00 +08:00
Shubham Patil 7973dae303 Add CONFIG_BT_RELEASE_IRAM option to sdkconfig.defaults.esp32c2
This will free up the BLE IRAM when BLE is not in use.
2024-01-04 14:06:32 +05:30
WanqQixiang f83d896e2a example: Add dynamic passcode commissionable data provider for light-switch app 2023-12-01 18:38:33 +08:00
WanqQixiang 12e73847aa client: remove is_group in command_handle to make cluster_update be able to notify all the binding entries
closes CON-874
2023-11-10 10:35:59 +08:00
Hrishikesh Dhayagude 198db1245d Merge branch 'fix_strtol' into 'main'
Replace strtol with strtoul wherever required

See merge request app-frameworks/esp-matter!528
2023-11-03 17:55:34 +08:00
WanqQixiang 64bd657cc5 examples: all the examples of ESP32-C6 over Wi-Fi and add thread-example build CI for c6 2023-11-03 10:52:32 +08:00
Shubham Patil 71379cc963 Replace strtol with strtoul wherever required 2023-11-01 17:44:35 +05:30
Shubham Patil 54a8903f32 Few documentation fixes
- Added some docs for attribute and identify callback
- mfg_tool: Add the sourcing of esp-idf's export.sh script
- Added the link for getting the repository in top level README.md
- Table for Matter specification version and release branches
- FAQ for stuck at "Solving dependencies requirements"
- Change the link and doc in rainmaker example
2023-10-05 12:47:35 +05:30
PSONALl d4c8b65772 Matter v1.2 TE-2 optional features and submodule update 2023-09-11 09:16:55 +05:30
WanqQixiang b2be128c96 Update IDF to v5.1.1 tag for ESP32-H2 and ESP32-C6 builds 2023-08-29 10:48:16 +08:00
WanqQixiang 250b202d2e examples: Remove requirements for main components 2023-08-10 16:48:13 +08:00
liyashuai de530ef5d0 change example default nvs size to 48k 2023-07-27 14:51:32 +08:00
liyashuai 7a3748edb3 change example software version string format form v1.0 to 1.0 for apple homekit show 2023-06-27 10:08:28 +08:00
WanqQixiang 0687657ede examples: Increase LwIP IPv6 address number to 6 (MAX_FABRIC + 1) 2023-06-25 10:40:42 +08:00
WanqQixiang fee4a9330f esp-matter: update zap-common and clean zap-file for zap-light example 2023-06-21 14:38:06 +08:00
Shu Chen bd692f3b9e Merge branch 'example/clean_mbedtls_config' into 'main'
examples: Clean the mbedtls config and add otadata partition for esp32h2

See merge request app-frameworks/esp-matter!397
2023-06-15 09:34:11 +08:00
WanqQixiang 476e403e53 examples: Clean the mbedtls config and add otadata partition for esp32h2 2023-06-14 17:34:35 +08:00
WanqQixiang cd7457684f Submodule: update submodule to 6382144be 2023-06-13 12:07:49 +08:00
Shu Chen a6b958ba05 Merge branch 'bump_submodule' into 'main'
Changes to bump connectedhomeip submodule to revision: 8642c0d

See merge request app-frameworks/esp-matter!386
2023-05-30 18:55:39 +08:00
Shubham Patil d0b81170f3 Changes to bump connectedhomeip submodule to revision: 65b6ed4
- Replaced component esp32_mbedtls with mbedtls from requirements
- Enabled CONFIG_MBEDTLS_HKDF_C option in all the sdkconfig.defaults
- Removed secure cert dac provider from here and using one in
  connectedhomeip repo
- Enabled CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL in sdkconfig.defaults.esp32h2
2023-05-30 18:05:25 +08:00
Shu Chen 33d00c5969 example: reduce the ot_storage size in examples partition table 2023-05-29 17:13:19 +08:00
Hrishikesh Dhayagude 7cfe6c995f Merge branch 'pr_323' into 'main'
[GH_PR] [format_specifier] - Fixes ESP_LOG format specifier mismatches in components/esp_matter (CON-414)

See merge request app-frameworks/esp-matter!356
2023-04-27 00:00:49 +08:00
dhairyashah1 859ea8f023 Fixes format specifier mismatches in ESP_LOG prints & snprintf's using endpoint_id, cluster_id, attribute_id & command_id of components/esp_matter, examples/zigbee_bridge
[examples] Removes '-Wformat=0' flag from root CMakeLists.txt's from examples
Solves and fixes #296

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>

[zigbee_bridge] Adds PRI format specifiers in zigbee_bridge.cpp

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>
2023-04-19 23:25:11 +05:30
Hrishikesh Dhayagude 26e81f4598 Merge branch 'example/clean_zap_generated' into 'main'
example: Clean files under main/zap-generated path

See merge request app-frameworks/esp-matter!358
2023-04-19 19:01:49 +08:00
WanqQixiang 5d97f7ec83 example: Clean files under main/zap-generated path 2023-04-19 15:55:16 +08:00
Shubham Patil ef2c3e4d8b core: Use NVS APIs to get/set attributes with primitive datatype
Added the config option to all examples' sdkconfig.defaults
2023-04-17 13:18:33 +05:30
WanqQixiang 97fc93655e examples: make ESP32C6 and ESP32H2 use the same partition table 2023-04-10 14:21:24 +08:00
Hrishikesh Dhayagude 3a65dfc753 Merge branch 'bugfix/add-esp32s3' into 'main'
Added esp32s3 option for light_switch and set Momentory switch as

See merge request app-frameworks/esp-matter!330
2023-04-03 18:35:28 +08:00
Rohit Jadhav bbe1d8c08d Added esp32s3 option for light_switch and set Momentory switch as
default for generic_switch fixes https://github.com/espressif/esp-matter/issues/295
2023-04-03 13:19:14 +05:30
InfiniteYuan ba96bc8d6e example: add memory optimization for esp32-c2 2023-03-31 16:41:20 +08:00
Shubham Patil e13d2b96d2 Flag esp_secure_cert and nvs_keys partitions as encrypted
By default esp_secure_cert and nvs_keys partitions are encrypted as
their content needs to be secured using flash encryption, but examples
do not flag them as encrypted. So, lets flag them as encrypted for
consistency.
2023-03-28 11:57:25 +05:30
Shu Chen f2e77d239e Merge branch 'support-c6-h2' into 'main'
Add support for ESP32-C2, ESP32-C6 and ESP32-H2-MP

See merge request app-frameworks/esp-matter!319
2023-03-24 15:30:52 +08:00
WanqQixiang 7b2912a9e5 submodule: Update connectedhomeip submodule to bc8c9ece1 to support ESP32-C6 and ESP32-H2-MP
docs: Add details for esp32h2, esp32c2, and esp32c6
2023-03-23 21:10:37 +08:00
Shubham Patil d7215de6d2 identify: Make init API configurable and pass in identify effect in cb
Closes https://github.com/espressif/esp-matter/issues/238
2023-03-16 13:53:49 +05:30
Shubham Patil 9c7e738cbb Changes in examples for C2 2023-03-16 14:18:40 +08:00
WanqQixiang c44c2177a3 submodule-update: Update connectedhomeip submodule to 7e69c66bb for matter 1.1 TE1 2023-03-16 14:15:23 +08:00
Chirag Atal 1856e151b8 zap_generated: Add support to change the dynamic endpoint count through menuconfig
Added some menuconfig options which can be helpful for memory optimisations.
2023-03-15 09:51:32 +05:30
VaishaliAvhale 480f045599 Removed fabricIndex:1 from light_switch README file 2023-03-01 18:25:36 +05:30
WanqQixiang 0330dadfbb bugfix: Register client command when matter shell is disabled 2023-02-20 19:20:31 +08:00
Shubham Patil 4dcf8e95ef docs: Point all doc links to latest deployment
This is the left over from !280
2023-02-01 14:54:27 +05:30