sifli-sdk: After using menuconfig to configure and generate the boot loader, compilation fails with error: OpenSiFli\sifli-sdk\middleware\boot\efuse.c:54:10: fatal error: mbedtls/cipher.h: No such file or directory

menuconfig configuration generates boot loader

What does this mean? By default, the project compiles the bootloader.

When compiling, selecting this option during configuration results in the error mentioned in the question.

Compilation works normally when this option is not selected, but the corresponding board’s bootloader cannot be found in the bootloader directory under the example folder.

When verifying BLE_OTA, the following error occurs after the upgrade package is fully received:

We suspect this might be caused by the absence of a boot loader. Is that correct?

No problem. Which routine are you using for testing?
The bootloader is automatically included in the build under the main project. The line you see in SConstruct:

AddBootLoader(SIFLI_SDK,rtconfig.CHIP)

is responsible for adding the bootloader.

The peripheral_with_ota example.

Yes, I can see the line AddBootLoader(SIFLI_SDK, rtconfig.CHIP) under the main project.

Then why does it report this error after OTA finishes receiving the data packets, causing the update to fail?

Please start a new thread to describe this issue, and you can provide more context to make it clearer.