You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.
IDF / ESP32-Arduino version.
ESP-IDF v5.4-dev-3201-g46acfdce96
Operating System used.
macOS
How did you build your project?
Command line with idf.py
Development Kit.
ESP32-C6-DevKitC-1 V1.2(ESP32-C6-DEVKIT-1-N8)
What is the expected behavior?
I expect that the example(matter_controller) build completed successfully.
What is the actual behavior?
Build stopped with an error
Steps to reproduce.
idf.py set-target esp32c6
idf.py build
Build Logs.
-- Build files have been written to: /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build
[4/1425] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
esp_secure_cert,63,6,0xd000,8K,encrypted
nvs,data,nvs,0x10000,48K,
nvs_keys,data,nvs_keys,0x1c000,4K,encrypted
otadata,data,ota,0x1d000,8K,
phy_init,data,phy,0x1f000,4K,
ota_0,app,ota_0,0x20000,1920K,
ota_1,app,ota_1,0x200000,1920K,
fctry,data,nvs,0x3e0000,24K,
*******************************************************************************
...
[1423/1425] Generating binary image from built executable
esptool.py v4.8.0
Creating esp32c6 image...
Merged 1 ELF section
Successfully created esp32c6 image.
Generated /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/matter_light.bin
[1424/1425] cd /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/esp-idf/esptool_py && .../partition-table.bin /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/matter_light.bin
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/esp-idf/esptool_py/CMakeFiles/app_check_size
cd /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/esp-idf/esptool_py && /Users/jsheo/.espressif/python_env/idf5.4_py3.9_env/bin/python /Users/jsheo/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/partition_table/partition-table.bin /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/matter_light.bin
Error: All app partitions are too small for binary matter_light.bin size 0x1fb840:
- Part 'ota_0' 0/16 @ 0x20000 size 0x1e0000 (overflow 0x1b840)
- Part 'ota_1' 0/17 @ 0x200000 size 0x1e0000 (overflow 0x1b840)
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stderr_output_76307 and /Users/jsheo/esp/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stdout_output_76307
More Information.
I tried to fix it by changing partition table in menuconfig but not working.
As far as I know, the target device has 8MB spi flash memory. so, I'm just guessing this issue may be related with partitioning.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Cannot build Rainmaker+Matter example
Cannot build Rainmaker+Matter example (MEGH-6010)
Sep 30, 2024
I consulted with the document and found out how to customize partition table.
I solved the problem with it.
But please update the example so that it works without any modification by end user.
Answers checklist.
IDF / ESP32-Arduino version.
ESP-IDF v5.4-dev-3201-g46acfdce96
Operating System used.
macOS
How did you build your project?
Command line with idf.py
Development Kit.
ESP32-C6-DevKitC-1 V1.2(ESP32-C6-DEVKIT-1-N8)
What is the expected behavior?
I expect that the example(matter_controller) build completed successfully.
What is the actual behavior?
Build stopped with an error
Steps to reproduce.
idf.py set-target esp32c6
idf.py build
Build Logs.
More Information.
I tried to fix it by changing partition table in menuconfig but not working.
As far as I know, the target device has 8MB spi flash memory. so, I'm just guessing this issue may be related with partitioning.
The text was updated successfully, but these errors were encountered: