2018-03-12 13:33:11 -07:00
|
|
|
include ${CHIBIOS}/os/hal/ports/STM32/STM32L4xx/platform.mk
|
|
|
|
|
2018-09-24 06:25:22 -07:00
|
|
|
ifeq ($(USE_SMART_BUILD),yes)
|
2018-03-12 13:33:11 -07:00
|
|
|
|
2018-09-24 06:25:22 -07:00
|
|
|
# Configuration files directory
|
|
|
|
ifeq ($(CONFDIR),)
|
|
|
|
CONFDIR = .
|
|
|
|
endif
|
|
|
|
|
|
|
|
HALCONF := $(strip $(shell cat $(CONFDIR)/halconf.h $(CONFDIR)/halconf_community.h | egrep -e "\#define"))
|
|
|
|
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/driver.mk
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/DMA2Dv1/driver.mk
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/FSMCv1/driver.mk
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/LTDCv1/driver.mk
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/TIMv1/driver.mk
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/USBHv1/driver.mk
|
|
|
|
|
|
|
|
# Shared variables
|
|
|
|
ALLCSRC += $(PLATFORMSRC_CONTRIB)
|
|
|
|
ALLINC += $(PLATFORMINC_CONTRIB)
|