driver.mk 292 B

123456789
  1. ifeq ($(USE_SMART_BUILD),yes)
  2. ifneq ($(findstring HAL_USE_USB TRUE,$(HALCONF)),)
  3. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
  4. endif
  5. else
  6. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
  7. endif
  8. PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USBv1