diff options
Diffstat (limited to 'lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk')
-rw-r--r-- | lib/chibios/os/hal/ports/STM32/STM32H7xx/platform.mk | 50 |
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. | ||
2 | PLATFORMSRC := $(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. | ||
7 | PLATFORMINC := $(CHIBIOS)/os/hal/ports/common/ARMCMx \ | ||
8 | $(CHIBIOS)/os/hal/ports/STM32/STM32H7xx | ||
9 | |||
10 | # Optional platform files. | ||
11 | ifeq ($(USE_SMART_BUILD),yes) | ||
12 | |||
13 | # Configuration files directory | ||
14 | ifeq ($(HALCONFDIR),) | ||
15 | ifeq ($(CONFDIR),) | ||
16 | HALCONFDIR = . | ||
17 | else | ||
18 | HALCONFDIR := $(CONFDIR) | ||
19 | endif | ||
20 | endif | ||
21 | |||
22 | HALCONF := $(strip $(shell cat $(HALCONFDIR)/halconf.h | egrep -e "\#define")) | ||
23 | |||
24 | else | ||
25 | endif | ||
26 | |||
27 | # Drivers compatible with the platform. | ||
28 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4/driver.mk | ||
29 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/BDMAv1/driver.mk | ||
30 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/CRYPv1/driver.mk | ||
31 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/DACv1/driver.mk | ||
32 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/DMAv2/driver.mk | ||
33 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/EXTIv1/driver.mk | ||
34 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/FDCANv1/driver.mk | ||
35 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/GPIOv2/driver.mk | ||
36 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/I2Cv3/driver.mk | ||
37 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/MDMAv1/driver.mk | ||
38 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/OTGv1/driver.mk | ||
39 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/QUADSPIv2/driver.mk | ||
40 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/SDMMCv2/driver.mk | ||
41 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv3/driver.mk | ||
42 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/RNGv1/driver.mk | ||
43 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/RTCv2/driver.mk | ||
44 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/driver.mk | ||
45 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv2/driver.mk | ||
46 | include $(CHIBIOS)/os/hal/ports/STM32/LLD/xWDGv1/driver.mk | ||
47 | |||
48 | # Shared variables | ||
49 | ALLCSRC += $(PLATFORMSRC) | ||
50 | ALLINC += $(PLATFORMINC) | ||