In order to clean up clock related code, replace static build time clock configuration code by a runtime check. Since I'm not able to guarantee this check will provide a correct verdict in 100% of the cases (I'm thinking to ULPI or exotic configurations like F7 OTG-HS), add a config option to disable it if needed. It also doesn't apply on F1/F3 series. Keep the build time check for now. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usb_dc_dw.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_rpi_pico.c | ||
| usb_dc_sam0.c | ||
| usb_dc_sam_usbc.c | ||
| usb_dc_sam_usbhs.c | ||
| usb_dc_stm32.c | ||
| usb_dw_registers.h | ||