aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk')
-rw-r--r--lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk b/lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk
new file mode 100644
index 000000000..befe2293f
--- /dev/null
+++ b/lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk
@@ -0,0 +1,22 @@
1include ${CHIBIOS}/os/hal/ports/STM32/STM32F3xx/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/TIMv1/driver.mk
17include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1/driver.mk
18include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/OPAMPv1/driver.mk
19
20# Shared variables
21ALLCSRC += $(PLATFORMSRC_CONTRIB)
22ALLINC += $(PLATFORMINC_CONTRIB)