Li, Jun R
I have a STM32F429 board on which the USB high speed port (pinned out by PB14 and PB15) is exposed as a USB normal speed port, compared with the USB FS port from PA11 and PA12 usually on other STM32F4’s discovery boards. I’m sure the high speed USB port on PB14 and PB15 can work as a normal speed USB port since we have another working firmware running on the same board and using the same USB port.
Now I’m trying to port Zephyr 1.12 to this board, and enabling this USB port. I’ve checked the USB device driver file: drivers/usb/device/usb_dc_stm32.c and found that it seems the high speed USB port is already supported if the macro “USB” is enabled. However, I can’t find where the macro “USB” can be enabled. So, I’m wondering if anyone has used the USB port on PB14 and PB15 with Zephyr and enabled the macro “USB”?
Also, the macro “USB” is very confusing with zephyr’s macro “CONFIG_USB”. I recommend to rename this one with other proper name. The macro seems to have been introduced by Yannis Damigos. So, I’m cc’ing Yannis Damigos here, trying to get his attention to this.
Jun Li @ Intel