Page 1 of 1

BLE OTA example from esp-iot-solution does not build standalone on ESP-IDF v5.3.4 (ESP32-S3)

Posted: Tue Jan 06, 2026 10:08 am
by RomalRadiance
Hello Espressif Team,

I am trying to build the BLE OTA example located at:
esp-iot-solution/examples/bluetooth/ble_ota

Environment:
- ESP-IDF v5.3.4
- Target: ESP32-S3
- OS: Windows

When building this example as a standalone ESP-IDF project, I encounter multiple build-time issues such as:
- missing ble_ota.h include path,
- esp_delta_ota managed component integrity errors,
- deprecated CMake/Kconfig symbols (IDF 5.3.4),
- legacy macros like create_esp_enc_img.

It appears this example assumes the full esp-iot-solution build environment and does not build cleanly with plain ESP-IDF v5.3.4.

Could you please clarify:
1) Whether this example is officially supported to be built standalone with ESP-IDF v5.3.4, or
2) If there is a recommended or maintained reference for BLE-based OTA on ESP32-S3 with ESP-IDF v5.3.4?

Thank you.

Re: BLE OTA example from esp-iot-solution does not build standalone on ESP-IDF v5.3.4 (ESP32-S3)

Posted: Wed Jan 07, 2026 12:18 am
by nopnop2002
It's no problem.

Code: Select all

$ idf.py --version
ESP-IDF v5.3.4
$ idf.py build
Project build complete. To flash, run:
 idf.py flash
or
 idf.py -p PORT flash
or
 python -m esptool --chip esp32s3 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0xd000 build/ota_data_initial.bin 0x10000 build/ble_ota.bin
or from the "/home/nop/esp-iot-solution/examples/bluetooth/ble_ota/build" directory