From 78e6a04eae4e48a99c7baa82fc75c4b4f3504029 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Wed, 22 Jun 2022 13:24:10 +0200 Subject: [PATCH] tools: Generate images for ESP32-C2 with required minimal revision --- components/esptool_py/project_include.cmake | 3 +++ 1 file changed, 3 insertions(+) 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})