diff options
Diffstat (limited to 'os/hal/ports/STM32/LLD/ADCv2')
-rw-r--r-- | os/hal/ports/STM32/LLD/ADCv2/driver.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/ADCv2/driver.mk b/os/hal/ports/STM32/LLD/ADCv2/driver.mk new file mode 100644 index 000000000..9be6513bb --- /dev/null +++ b/os/hal/ports/STM32/LLD/ADCv2/driver.mk @@ -0,0 +1,9 @@ +ifeq ($(USE_SMART_BUILD),yes)
+ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),)
+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c
+endif
+else
+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c
+endif
+
+PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv2
|