Переглянути джерело

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

Roland Dobai 3 роки тому
батько
коміт
78e6a04eae
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      components/esptool_py/project_include.cmake

+ 3 - 0
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})