mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	 aca9ec28b3
			
		
	
	aca9ec28b3
	
	
	
		
			
			* 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
		
			
				
	
	
		
			18 lines
		
	
	
		
			827 B
		
	
	
	
		
			CSV
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			827 B
		
	
	
	
		
			CSV
		
	
	
	
	
	
| # 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, 0x260000
 | |
| # 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,      ,        528K
 | |
| nvs_key,    data, nvs_keys, ,        0x1000, encrypted
 | |
| 
 | |
| # Note: still 1MB of a 4MB flash left free for some other purpose
 |