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