Serial communication to work on the USB OTG

Hi ,

Is there any way to enable the USB -CDC on STM32F429Zi Nucleo board, USB-OTG ?I’m using Arduino framework on PIO .I can configure using cube MX but not sure about PIO .Appreciate if someone can help me .


If it’s using the standard Arduino STM32 core, then try to follow the configuration options shown at Difficulty with getting USB serial [USB CDC] working - #6 by maxgerhardt (the build_flags section)

Thank you so much Sir for all the help ,and it works !!!