mirror of https://github.com/rusefi/ChibiOS.git
10 lines
301 B
Makefile
10 lines
301 B
Makefile
ifeq ($(USE_SMART_BUILD),yes)
|
|
ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),)
|
|
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c
|
|
endif
|
|
else
|
|
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c
|
|
endif
|
|
|
|
PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4
|