esp-idf/tools/unit-test-app/partition_table_unit_test_app.csv
Jakob Hasse aca9ec28b3 NVS: using esp_partition API
* partition api changed from spi_flash* API to
  esp_partition* API and is abstracted as a C++
  interface.
* The old nvs encryption is still possible
* changed default unit test app partition table
* Partitions coming from esp_partition API are
  checked for generic flash encryption. If yes,
  an error is returned since generic flash
  encryption isn't compatible with nvs
  encryption
* esp32, esp32s2 tests don't require nvs_flash
  but mbedtls now

Closes IDF-1340
Closes IDF-858
2020-09-14 10:34:34 +08:00

827 B

1# Special partition table for unit test app
2#
3# Name, Type, SubType, Offset, Size, Flags
4# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
5nvs, data, nvs, 0xb000, 0x5000
6otadata, data, ota, 0x10000, 0x2000
7phy_init, data, phy, 0x12000, 0x1000
8factory, 0, 0, 0x20000, 0x260000
9# these OTA partitions are used for tests, but can't fit real OTA apps in them
10# (done this way to reduce total flash usage.)
11ota_0, 0, ota_0, , 64K
12ota_1, 0, ota_1, , 64K
13# flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests
14flash_test, data, fat, , 528K
15nvs_key, data, nvs_keys, , 0x1000, encrypted
16# Note: still 1MB of a 4MB flash left free for some other purpose