]> granicus.if.org Git - esp-idf/commitdiff
unit tests: Shrink unit test partition table so tests can run on 2MB of flash
authorAngus Gratton <angus@espressif.com>
Thu, 13 Apr 2017 07:37:35 +0000 (17:37 +1000)
committerAngus Gratton <gus@projectgus.com>
Thu, 13 Apr 2017 07:55:49 +0000 (17:55 +1000)
tools/unit-test-app/partition_table_unit_test_app.csv

index b6e57b4ed32fc9c7f03dd03e06388bff5042b303..129d0d3f64b604413d301a6e7f8472e765baf7ec 100644 (file)
@@ -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