aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk')
-rw-r--r--lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk b/lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk
new file mode 100644
index 000000000..c68b2dccf
--- /dev/null
+++ b/lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk
@@ -0,0 +1,50 @@
1# Required platform files.
2PLATFORMSRC := $(CHIBIOS)/os/hal/ports/common/ARMCMx/nvic.c \
3 $(CHIBIOS)/os/hal/ports/STM32/STM32H7xx/stm32_isr.c \
4 $(CHIBIOS)/os/hal/ports/STM32/STM32H7xx/hal_lld.c
5
6# Required include directories.
7PLATFORMINC := $(CHIBIOS)/os/hal/ports/common/ARMCMx \
8 $(CHIBIOS)/os/hal/ports/STM32/STM32H7xx
9
10# Optional platform files.
11ifeq ($(USE_SMART_BUILD),yes)
12
13# Configuration files directory
14ifeq ($(HALCONFDIR),)
15 ifeq ($(CONFDIR),)
16 HALCONFDIR = .
17 else
18 HALCONFDIR := $(CONFDIR)
19 endif
20endif
21
22HALCONF := $(strip $(shell cat $(HALCONFDIR)/halconf.h | egrep -e "\#define"))
23
24else
25endif
26
27# Drivers compatible with the platform.
28include $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4/driver.mk
29include $(CHIBIOS)/os/hal/ports/STM32/LLD/BDMAv1/driver.mk
30include $(CHIBIOS)/os/hal/ports/STM32/LLD/CRYPv1/driver.mk
31include $(CHIBIOS)/os/hal/ports/STM32/LLD/DACv1/driver.mk
32include $(CHIBIOS)/os/hal/ports/STM32/LLD/DMAv2/driver.mk
33include $(CHIBIOS)/os/hal/ports/STM32/LLD/EXTIv1/driver.mk
34include $(CHIBIOS)/os/hal/ports/STM32/LLD/FDCANv1/driver.mk
35include $(CHIBIOS)/os/hal/ports/STM32/LLD/GPIOv2/driver.mk
36include $(CHIBIOS)/os/hal/ports/STM32/LLD/I2Cv3/driver.mk
37include $(CHIBIOS)/os/hal/ports/STM32/LLD/MDMAv1/driver.mk
38include $(CHIBIOS)/os/hal/ports/STM32/LLD/OTGv1/driver.mk
39include $(CHIBIOS)/os/hal/ports/STM32/LLD/QUADSPIv2/driver.mk
40include $(CHIBIOS)/os/hal/ports/STM32/LLD/SDMMCv2/driver.mk
41include $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv3/driver.mk
42include $(CHIBIOS)/os/hal/ports/STM32/LLD/RNGv1/driver.mk
43include $(CHIBIOS)/os/hal/ports/STM32/LLD/RTCv2/driver.mk
44include $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/driver.mk
45include $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv2/driver.mk
46include $(CHIBIOS)/os/hal/ports/STM32/LLD/xWDGv1/driver.mk
47
48# Shared variables
49ALLCSRC += $(PLATFORMSRC)
50ALLINC += $(PLATFORMINC)