Closed
Description
STM32CubeIDE (STM32CubeMX) already has support for Audio, HID, MSC, CDC, Virtual Port, MTP. Perhaps it will be much faster if you can use these libraries as a base so that this core can support these functions.
I found an example of Ethernet, LAN8720, which makes use of a LWIP library compatible with this core, and I found it very interesting. Perhaps it was based on the STM32CubeMX LWIP library.
LwIP
Lightweight TCP/IP stack (LwIP) is a small independent implementation of the TCP/IP protocol suite that has been initially developed by Adam Dunkels and is now continued here.
Modified to fit Arduino libraries specifications.