Add defines to avoid magic values in the dtsi. Replace usb_dc_stm32_get_maximum_speed() with device tree property. - Use DT_INST_STRING_UPPER_TOKEN(0, maximum_speed) to set the USB speed. - Remove PCD_SPEED_FULL initialization. Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usb_dc_dw_stm32.h | ||
| usb_dc_dw.c | ||
| usb_dc_it82xx2.c | ||
| usb_dc_kinetis.c | ||
| usb_dc_mcux.c | ||
| usb_dc_native_posix_adapt.c | ||
| usb_dc_native_posix_adapt.h | ||
| usb_dc_native_posix.c | ||
| usb_dc_nrfx.c | ||
| usb_dc_numaker.c | ||
| usb_dc_rpi_pico.c | ||
| usb_dc_sam0.c | ||
| usb_dc_sam_usbc.c | ||
| usb_dc_sam_usbhs.c | ||
| usb_dc_smartbond.c | ||
| usb_dc_stm32.c | ||