diff --git a/tools/unit-test-app/partition_table_unit_test_app_2m.csv b/tools/unit-test-app/partition_table_unit_test_app_2m.csv new file mode 100644 index 0000000000..0066635843 --- /dev/null +++ b/tools/unit-test-app/partition_table_unit_test_app_2m.csv @@ -0,0 +1,17 @@ +# Special partition table for unit test app +# +# 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, 0xb000, 0x5000 +otadata, data, ota, 0x10000, 0x2000 +phy_init, data, phy, 0x12000, 0x1000 +factory, 0, 0, 0x20000, 0x160000 +# these OTA partitions are used for tests, but can't fit real OTA apps in them +# (done this way to reduce total flash usage.) +ota_0, 0, ota_0, , 64K +ota_1, 0, ota_1, , 64K +# flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests +flash_test, data, fat, , 320K +nvs_key, data, nvs_keys, , 0x1000, encrypted + +# Note: occupied 1.85MB in the 2MB flash diff --git a/tools/unit-test-app/sdkconfig.defaults.esp8684 b/tools/unit-test-app/sdkconfig.defaults.esp8684 new file mode 100644 index 0000000000..5bb0b940f9 --- /dev/null +++ b/tools/unit-test-app/sdkconfig.defaults.esp8684 @@ -0,0 +1,4 @@ +CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n +CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_app_2m.csv" +CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_app_2m.csv"