driver.mk 487 B

12345678910111213
  1. ifeq ($(USE_SMART_BUILD),yes)
  2. ifneq ($(findstring HAL_USE_I2S TRUE,$(HALCONF)),)
  3. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c
  4. endif
  5. ifneq ($(findstring HAL_USE_SPI TRUE,$(HALCONF)),)
  6. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
  7. endif
  8. else
  9. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c
  10. PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
  11. endif
  12. PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv2