I want to integrate OTA into ESP32

I am a beginner. Please give me your best regards.
The board is ESP32 and I am using PlatformIO.

I want to implement OTA function from AWSIoTCore using AmazonFreeRTOS OTA function. Which is the fastest implementation for this? I do not have much time left.

I found the following two articles on AWS and FreeRTOS.
(1) and (2). However, the article for (1) states that it is deprecated from 2024. Should I use ② instead of ①?

It would be great if you could tell us.
Thank you in advance.

Take a look at this reference integration - GitHub - FreeRTOS/iot-reference-esp32c3.

For a new project which is just integrating OTA, it would be ideal to go with the new OTA library (2).

It may be quicker to get going with the ESP32 reference Gaurav linked, which currently uses the older OTA library.

Sorry for not getting back to you for so long.

The framework I am using is arduino.
Is it possible to port it to this framework?

Hi @s-kusunoki,
I haven’t had the opportunity to attempt this on Arduino before. IMHO, while it should be portable, I would respectfully suggest using this repository directly for the best results.

Thank you.