From 744c7b4166b1b2cef368ff5c6a5b051ee5d1aac4 Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Thu, 29 Sep 2022 17:54:41 +0800 Subject: [PATCH] bugfix: fix error when enabling ESP32 OTA image build --- config/esp32/components/chip/ota-image.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/esp32/components/chip/ota-image.cmake b/config/esp32/components/chip/ota-image.cmake index 887333962d0aef..9679d5b07b2c5c 100644 --- a/config/esp32/components/chip/ota-image.cmake +++ b/config/esp32/components/chip/ota-image.cmake @@ -36,9 +36,9 @@ function(chip_ota_image TARGET_NAME) "--product-id" ${CONFIG_DEVICE_PRODUCT_ID} "--version" - ${CONFIG_DEVICE_SOFTWARE_VERSION_NUMBER} + ${PROJECT_VER_NUMBER} "--version-str" - ${CONFIG_DEVICE_SOFTWARE_VERSION} + ${PROJECT_VER} "--digest-algorithm" "sha256" )