Support for STM32 with Arduino IDE

Hi there community!
I would like to use ethernet with a bluepill stm32. It is not difficult to establish a server or client with this board. However the arduino library seems to that does not support the bluepill.
Is there some library mod to work with? Or may I should use an arduino board?
Thanks in advance.

If you can connect to the internet without, then you may initalize with
It worked for me.