These are pre-built Matter images that are ready to flash onto ESP32 boards. They are built from the repo https://github.com/project-chip/connectedhomeip.
matter-program.bin
is the merged firmware file from the other files within respective folderall-clusters
example has all features like tempearture, thermostat, heater, light, color, brightness, on/off, lock, window, etc.lock-app
is a door lock examplelighting-app
is a light bulb example with brightness, on/off, and color control (via hue & saturation behind the scenes)- Note: folder contains
LEDWidget.cpp
which has been modified to work on 10 pixel color LED strip
- Note: folder contains
Install esptool
pip install esptool
- Merge command
esptool --chip esp32 merge_bin -o matter-program.bin --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 chip-all-clusters-app.bin
esptool --chip esp32 merge_bin -o matter-program.bin --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 chip-lock-app.bin
esptool --chip esp32 merge_bin -o matter-program.bin --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 chip-lighting-app.bin
- Erase flash
esptool erase_flash
- Flash firmware
esptool -b 460800 --before default_reset --after no_reset write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x0 matter-program.bin
### For reflashing just the app, w/out erasing network credentials
esptool -b 460800 --before default_reset --after no_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x20000 chip-lighting-app.bin
- Mac:
### Get usb devices
ls /dev/cu.usb*
### Monitor
screen /dev/cu.usbserial-0 115200
- Windows:
- Open Putty
- Select Session
- Select Serial under Connection type
- Enter the com port and set speed to 115200
- Click open