driver.mk 292 B

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