From: Angus Gratton Date: Thu, 13 Apr 2017 07:37:35 +0000 (+1000) Subject: unit tests: Shrink unit test partition table so tests can run on 2MB of flash X-Git-Tag: v2.1-rc1~186^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b99d5df9228e2f4f48b43cedcfc14ec339f2bf93;p=esp-idf unit tests: Shrink unit test partition table so tests can run on 2MB of flash --- diff --git a/tools/unit-test-app/partition_table_unit_test_app.csv b/tools/unit-test-app/partition_table_unit_test_app.csv index b6e57b4ed3..129d0d3f64 100644 --- a/tools/unit-test-app/partition_table_unit_test_app.csv +++ b/tools/unit-test-app/partition_table_unit_test_app.csv @@ -6,7 +6,9 @@ nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 factory, 0, 0, 0x10000, 1M -ota_0, 0, ota_0, , 1M -ota_1, 0, ota_1, , 1M +# these OTA partitions are used for tests, but can't fit real OTA apps in them +# (done this way so tests can run in 2MB of flash.) +ota_0, 0, ota_0, , 128K +ota_1, 0, ota_1, , 128K # flash_test partition used for SPI flash tests flash_test, 0x55, 0x55, , 512K