From b2e8d304140f7652f85259e22fcf335c43e29784 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 7 Jun 2019 18:00:55 +1000 Subject: [PATCH] esp32s2beta: esptool support --- components/esptool_py/esptool | 2 +- components/esptool_py/project_include.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esptool_py/esptool b/components/esptool_py/esptool index cd38666103..9c41a57955 160000 --- a/components/esptool_py/esptool +++ b/components/esptool_py/esptool @@ -1 +1 @@ -Subproject commit cd386661033d25521b1312cf7fa4699ff4719f77 +Subproject commit 9c41a57955b3c4b3873d653ac0d87c0900b135ff diff --git a/components/esptool_py/project_include.cmake b/components/esptool_py/project_include.cmake index b284845f70..dd3659dd59 100644 --- a/components/esptool_py/project_include.cmake +++ b/components/esptool_py/project_include.cmake @@ -2,7 +2,7 @@ # # Many of these are read when generating flash_app_args & flash_project_args idf_build_get_property(python PYTHON) -set(ESPTOOLPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip esp32) +set(ESPTOOLPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip ${IDF_TARGET}) set(ESPSECUREPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espsecure.py") set(ESPEFUSEPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espefuse.py")