blob: 8c8f37a6af7079c4759067212520054979016fd4 (
plain)
1
2
3
4
5
6
7
8
9
|
ifeq ($(USE_SMART_BUILD),yes)
ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/AVR/MEGA/ADCv1/hal_adc_lld.c
endif
else
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/AVR/MEGA/ADCv1/hal_adc_lld.c
endif
PLATFORMINC += $(CHIBIOS)/os/hal/ports/AVR/MEGA/ADCv1
|