From 4a21b0e3322e05024af4aa6e5dcb46dc9ef97af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20M=C3=BAdry?= Date: Sat, 17 Aug 2024 22:52:23 +0200 Subject: [PATCH] fix: Bootloader size increase broke perf_benchmark example compilation --- .../storage/perf_benchmark/partitions_example.csv | 11 +++++------ examples/storage/perf_benchmark/sdkconfig.defaults | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/storage/perf_benchmark/partitions_example.csv b/examples/storage/perf_benchmark/partitions_example.csv index bee0115ea9..862fefac0d 100644 --- a/examples/storage/perf_benchmark/partitions_example.csv +++ b/examples/storage/perf_benchmark/partitions_example.csv @@ -1,6 +1,5 @@ -# Name, Type, SubType, Offset, Size, Flags -# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap -nvs, data, nvs, 0x9000, 0x6000, -phy_init, data, phy, 0xf000, 0x1000, -factory, app, factory, 0x10000, 1M, -storage, data, undefined, , 2M, +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, , 0x6000, +phy_init, data, phy, , 0x1000, +factory, app, factory, , 1M, +storage, data, undefined, , 2M, diff --git a/examples/storage/perf_benchmark/sdkconfig.defaults b/examples/storage/perf_benchmark/sdkconfig.defaults index 8e0f47a89c..cc7c20c831 100644 --- a/examples/storage/perf_benchmark/sdkconfig.defaults +++ b/examples/storage/perf_benchmark/sdkconfig.defaults @@ -1,6 +1,7 @@ CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv" +CONFIG_PARTITION_TABLE_OFFSET=0x9000 CONFIG_ESP_TASK_WDT_EN=n # FATFS