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
parent 203c3e6e1c
commit 78e6a04eae

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})