tools: Generate images for ESP32-C2 with required minimal revision

This commit is contained in:
Roland Dobai 2022-06-22 13:24:10 +02:00 committed by Marius Vikhammer
parent 390c572bb6
commit 9ee3661b4b

View File

@ -56,6 +56,9 @@ endif()
if(CONFIG_ESP32C3_REV_MIN)
set(min_rev ${CONFIG_ESP32C3_REV_MIN})
endif()
if(CONFIG_IDF_TARGET_ESP32C2)
set(min_rev 1)
endif()
if(min_rev)
list(APPEND esptool_elf2image_args --min-rev ${min_rev})