aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk')
-rw-r--r--lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk b/lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk
new file mode 100644
index 000000000..9294c6a04
--- /dev/null
+++ b/lib/chibios-contrib/os/hal/ports/STM32/STM32F7xx/platform.mk
@@ -0,0 +1,24 @@
1include ${CHIBIOS}/os/hal/ports/STM32/STM32F7xx/platform.mk
2
3ifeq ($(USE_SMART_BUILD),yes)
4
5# Configuration files directory
6ifeq ($(CONFDIR),)
7 CONFDIR = .
8endif
9
10HALCONF := $(strip $(shell cat $(CONFDIR)/halconf.h $(CONFDIR)/halconf_community.h | egrep -e "\#define"))
11
12else
13endif
14
15include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/driver.mk
16include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/DMA2Dv1/driver.mk
17include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/FSMCv1/driver.mk
18include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/TIMv1/driver.mk
19include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/LTDCv1/driver.mk
20include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/USBHv1/driver.mk
21
22# Shared variables
23ALLCSRC += $(PLATFORMSRC_CONTRIB)
24ALLINC += $(PLATFORMINC_CONTRIB)