mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[esp32] Fix flash size warning when using IDF (#7983)
This commit is contained in:
		| @@ -602,6 +602,9 @@ async def to_code(config): | |||||||
|         cg.add_platformio_option( |         cg.add_platformio_option( | ||||||
|             "platform_packages", ["espressif/toolchain-esp32ulp@2.35.0-20220830"] |             "platform_packages", ["espressif/toolchain-esp32ulp@2.35.0-20220830"] | ||||||
|         ) |         ) | ||||||
|  |         add_idf_sdkconfig_option( | ||||||
|  |             f"CONFIG_ESPTOOLPY_FLASHSIZE_{config[CONF_FLASH_SIZE]}", True | ||||||
|  |         ) | ||||||
|         add_idf_sdkconfig_option("CONFIG_PARTITION_TABLE_SINGLE_APP", False) |         add_idf_sdkconfig_option("CONFIG_PARTITION_TABLE_SINGLE_APP", False) | ||||||
|         add_idf_sdkconfig_option("CONFIG_PARTITION_TABLE_CUSTOM", True) |         add_idf_sdkconfig_option("CONFIG_PARTITION_TABLE_CUSTOM", True) | ||||||
|         add_idf_sdkconfig_option( |         add_idf_sdkconfig_option( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user