driver.mk 949 B

1234567891011121314151617181920212223
  1. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
  2. ifeq ($(USE_SMART_BUILD),yes)
  3. ifneq ($(findstring HAL_USE_GPT TRUE,$(HALCONF)),)
  4. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c
  5. endif
  6. ifneq ($(findstring HAL_USE_ICU TRUE,$(HALCONF)),)
  7. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
  8. endif
  9. ifneq ($(findstring HAL_USE_EICU TRUE,$(HALCONF)),)
  10. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_eicu_lld.c
  11. endif
  12. ifneq ($(findstring HAL_USE_PWM TRUE,$(HALCONF)),)
  13. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c
  14. endif
  15. else
  16. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c
  17. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
  18. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c
  19. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/hal_eicu_lld.c
  20. endif
  21. PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1