Building a Custom Board statement

Hello I am building a custom board I am building a custom board using STM32F427VIT6 Based on FMUV4 I wrote a hwdef for my board, built the firmware and uploaded it to my board. Via STLINK, here’s where I ran into a problem. When I enable USART1 in the hwdef, windows keeps saying USB is connected and disconnected, but when I disable USART1 in the hwdef, windows doesn’t recognize the USB. Does anyone know of such a problem?