mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +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
		
			
				
	
	
	
		
			827 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			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 | 
| 5 | nvs, data, nvs, 0xb000, 0x5000 | 
| 6 | otadata, data, ota, 0x10000, 0x2000 | 
| 7 | phy_init, data, phy, 0x12000, 0x1000 | 
| 8 | factory, 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.) | 
| 11 | ota_0, 0, ota_0, , 64K | 
| 12 | ota_1, 0, ota_1, , 64K | 
| 13 | # flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests | 
| 14 | flash_test, data, fat, , 528K | 
| 15 | nvs_key, data, nvs_keys, , 0x1000, encrypted | 
| 16 | # Note: still 1MB of a 4MB flash left free for some other purpose |