Skip to content

Commit 8b0925f

Browse files
committed
Update to new esp-matter
1 parent a71e299 commit 8b0925f

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

README.md

+10-14
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
This projects aims at possibility to easily launch Matter internet-of-things protocol on ESP32 with Arduino. Repository contains precompiled and ready to use components from two projects: [Espressif's SDK for Matter](https://github.com/espressif/esp-matter) and [Matter](https://github.com/project-chip/connectedhomeip).
33

44
## Installing on Arduino IDE
5-
1. Make sure that ESP32 board version is **2.0.9**. **This is crucial**, because this library contains pre-compiled files.
5+
1. Make sure that ESP32 board version is **2.0.11**. **This is crucial**, because this library contains pre-compiled files.
66
2. [Turn on C++17 support for Arduino](#enabling-c17-on-arduino-ide).
77
3. [Download](https://github.com/Yacubane/esp32-arduino-matter/releases) and [import library into Arduino IDE](https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries).
88
4. Choose larger partition scheme, for example `Minimal SPIFFS`.
99
5. To prevent some issues related to old data, enable `Erase Flash Before Sketch Upload` option.
1010
6. Run example sketch.
1111

1212
## Installing on PlatformIO
13-
1. Use espressif32 platform at version **v6.2.0**, by setting `platform = espressif32@6.2.0` in `platformio.ini`. **This is crucial**, because this library contains pre-compiled files.
13+
1. Use espressif32 platform at version compatible with **2.0.11** `arduino-esp32` core version (you can determine it by looking at changelog [here](https://github.com/platformio/platform-espressif32/releases)). Other versions might work, but there is no guarantee - this library contains precompiled libraries and binaries might or might not be compatible. Set that version by adding: `platform = [email protected]` in `platformio.ini`.
1414
2. Turn on C++17 support, by setting `build_unflags=-std=gnu++11` and `build_flags=-std=gnu++17` in `platformio.ini`.
1515
3. [Download](https://github.com/Yacubane/esp32-arduino-matter/releases) and put library into `lib` folder of project (:warning: you cannot use `lib_deps` in `platformio.ini`, because this repository does not contain binaries due to too big size). The desired structure is as follows:
1616
```
@@ -28,14 +28,10 @@ This projects aims at possibility to easily launch Matter internet-of-things pro
2828
In `examples` folder there are some sketches that demonstrates usage of Matter. `Light` example is tested every release. Example sketches are in [release](https://github.com/Yacubane/esp32-arduino-matter/releases) created from [esp32-arduino-matter-builder repository](https://github.com/Yacubane/esp32-arduino-matter-builder/tree/master/lib_files/examples).
2929

3030
## Compatibility
31-
This project contains precompiled libraries based on specific version of ESP32 SDK and this library does not guarantee support for other versions. Current build is based on `esp-idf` at version 7641c8ef4f (4.4.4 with patch) and will work with:
32-
* Arduino IDE with [ESP32 board](https://github.com/espressif/arduino-esp32) at version 2.0.9
33-
* PlatformIO with [PlatformIO espressif32 platform](https://github.com/platformio/platform-espressif32) at version v6.2.0
31+
This project contains precompiled libraries based on specific version of ESP32 SDK and this library does not guarantee support for other versions. Current build is based on `esp-idf` at version v4.4.5 and will work with Arduino IDE on [ESP32 board](https://github.com/espressif/arduino-esp32) at version 2.0.11
3432

3533
## Limitations
3634
* Library only works on ESP32 (ESP32-C3 and ESP32-S3 might work as well, but aren't tested).
37-
* There is no possibility to change vendor/product ID as this value is pre-compiled.
38-
* There is no known possibility to change setup PIN.
3935
* This library comes with precompiled NimBLE, because default Bluedroid shipped with arduino-esp32 takes too much RAM memory.
4036
* Matter Controllers such as Apple Home, Google Home, SmartThings and others might not have full support of all device types.
4137
* This repository does not contain source code of this library, because binaries were too big and exceeded Github limits. Please look at Github [releases](https://github.com/Yacubane/esp32-arduino-matter/releases) to download whole package. All library files without binaries are stored [here](https://github.com/Yacubane/esp32-arduino-matter-builder).
@@ -45,18 +41,18 @@ This project is currently build based on these projects:
4541

4642
| Project | Tag / Commit hash |
4743
| ------------- | ------------- |
48-
| [esp32-arduino-matter-builder](https://github.com/Yacubane/esp32-arduino-matter-builder) | v1.0.0-beta5 |
49-
| [Matter](https://github.com/project-chip/connectedhomeip) | v1.1.0.1 |
50-
| [esp-matter](https://github.com/espressif/esp-matter) | 4707b88 |
51-
| [esp-idf](https://github.com/espressif/esp-idf) | 7641c8ef4f (4.4.4 with patch) |
52-
| [arduino-esp32](https://github.com/espressif/arduino-esp32) | 2.0.9 |
44+
| [esp32-arduino-matter-builder](https://github.com/Yacubane/esp32-arduino-matter-builder) | v1.0.0-beta6 |
45+
| [Matter](https://github.com/project-chip/connectedhomeip) | 08b13661b6 |
46+
| [esp-matter](https://github.com/espressif/esp-matter) | 603296a |
47+
| [esp-idf](https://github.com/espressif/esp-idf) | v4.4.5 |
48+
| [arduino-esp32](https://github.com/espressif/arduino-esp32) | 2.0.11 |
5349

5450
## Enabling C++17 on Arduino IDE
5551
1. Find `platform.txt` for ESP32 board. Location of this file is platform depended.
5652

57-
MacOS: `~/Library/Arduino15/packages/esp32/hardware/esp32/2.0.9/platform.txt`
53+
MacOS: `~/Library/Arduino15/packages/esp32/hardware/esp32/2.0.11/platform.txt`
5854

59-
Windows: `C:\Users\<USER>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\platform.txt`
55+
Windows: `C:\Users\<USER>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\platform.txt`
6056

6157
2. Inside `platform.txt` find `ESP32 Support Start` section and it's `compiler.cpp.flags.esp32` key. Change `-std=gnu++11` to `-std=gnu++17`. Do the same thing for `ESP32S3` and `ESP32C3` `Support Start` section if you are using ESP32-S3/ESP32-C3.
6258

0 commit comments

Comments
 (0)