diff --git a/Sming/Arch/Esp32/Components/esp32/component.mk b/Sming/Arch/Esp32/Components/esp32/component.mk index 29893fb9ad..131665d0bf 100644 --- a/Sming/Arch/Esp32/Components/esp32/component.mk +++ b/Sming/Arch/Esp32/Components/esp32/component.mk @@ -36,6 +36,7 @@ LIBDIRS += \ $(addprefix $(SDK_COMPONENTS_PATH)/,$(SDK_LIBDIRS)) SDK_INCDIRS := \ + app_update/include \ bootloader_support/include \ bootloader_support/include_bootloader \ driver/$(ESP_VARIANT)/include \ diff --git a/Sming/Arch/Esp32/Tools/ci/build.run.cmd b/Sming/Arch/Esp32/Tools/ci/build.run.cmd index ad6fc47873..a11ad25554 100644 --- a/Sming/Arch/Esp32/Tools/ci/build.run.cmd +++ b/Sming/Arch/Esp32/Tools/ci/build.run.cmd @@ -14,6 +14,9 @@ REM esp32c3 REM esp32s3 %MAKE_PARALLEL% ESP_VARIANT=esp32s3 %ESP32_PROJECTS% || goto :error +REM make sure that the Ota Library sample compiles for ESP32 +%MAKE_PARALLEL% -C %SMING_HOME%\Libraries\OtaUpgradeMqtt\samples\Upgrade + goto :EOF diff --git a/Sming/Arch/Esp32/Tools/ci/build.run.sh b/Sming/Arch/Esp32/Tools/ci/build.run.sh index 2bd9758347..e9f18d091f 100644 --- a/Sming/Arch/Esp32/Tools/ci/build.run.sh +++ b/Sming/Arch/Esp32/Tools/ci/build.run.sh @@ -13,3 +13,6 @@ $MAKE_PARALLEL ESP_VARIANT=esp32c3 $ESP32_PROJECTS # esp32s3 $MAKE_PARALLEL ESP_VARIANT=esp32s3 $ESP32_PROJECTS + +# make sure that the Ota Library sample compiles for ESP32 +$MAKE_PARALLEL -C "$SMING_HOME/Libraries/OtaUpgradeMqtt/samples/Upgrade" \ No newline at end of file