Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: udc: stm32: add kconfig dependency on !USB_DC_STM32
If both new and old stm32 usb drivers are enabled, the HAL callbacks will raise multiple definition linker errors. By adding this kconfig dependency, this will be reported as a kconfig warning that should be easier to understand. This will happen when trying to run samples with -DCONF_FILE=usbd_next_prj.conf for boards that automatically enable the legacy usb stack (e.g. arduino_portenta/stm32h747xx/m7). Signed-off-by: Tobias Pisani <[email protected]>
- Loading branch information