diff --git a/components/esptool_py/project_include.cmake b/components/esptool_py/project_include.cmake index 88378071bf..3d9a19fdd6 100644 --- a/components/esptool_py/project_include.cmake +++ b/components/esptool_py/project_include.cmake @@ -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})