Stm32 ota firmware upload library

Hi,

does anyone know of a library that would work for updating the firmware on a stm32 (blue pill) based board.
I did find a few examples of using an esp8266/esp32 and connecting it to the stm32 to update its firmware.
What I want to do is directly upload to the stm32 using a w5100 / w5500 ethernet module.

Thanks!

(post deleted by author)

Reopened at the request of @Juraj