1LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5GLOBAL_INCLUDES += $(LOCAL_DIR)/inc
6
7MODULE_SRCS += \
8	$(LOCAL_DIR)/src/misc.c \
9	$(LOCAL_DIR)/src/stm32f4xx_adc.c \
10	$(LOCAL_DIR)/src/stm32f4xx_can.c \
11	$(LOCAL_DIR)/src/stm32f4xx_cec.c \
12	$(LOCAL_DIR)/src/stm32f4xx_crc.c \
13	$(LOCAL_DIR)/src/stm32f4xx_cryp_aes.c \
14	$(LOCAL_DIR)/src/stm32f4xx_cryp.c \
15	$(LOCAL_DIR)/src/stm32f4xx_cryp_des.c \
16	$(LOCAL_DIR)/src/stm32f4xx_cryp_tdes.c \
17	$(LOCAL_DIR)/src/stm32f4xx_dac.c \
18	$(LOCAL_DIR)/src/stm32f4xx_dbgmcu.c \
19	$(LOCAL_DIR)/src/stm32f4xx_dcmi.c \
20	$(LOCAL_DIR)/src/stm32f4xx_dma2d.c \
21	$(LOCAL_DIR)/src/stm32f4xx_dma.c \
22	$(LOCAL_DIR)/src/stm32f4xx_exti.c \
23	$(LOCAL_DIR)/src/stm32f4xx_flash.c \
24	$(LOCAL_DIR)/src/stm32f4xx_flash_ramfunc.c \
25	$(LOCAL_DIR)/src/stm32f4xx_fmpi2c.c \
26	$(LOCAL_DIR)/src/stm32f4xx_gpio.c \
27	$(LOCAL_DIR)/src/stm32f4xx_hash.c \
28	$(LOCAL_DIR)/src/stm32f4xx_hash_md5.c \
29	$(LOCAL_DIR)/src/stm32f4xx_hash_sha1.c \
30	$(LOCAL_DIR)/src/stm32f4xx_i2c.c \
31	$(LOCAL_DIR)/src/stm32f4xx_iwdg.c \
32	$(LOCAL_DIR)/src/stm32f4xx_ltdc.c \
33	$(LOCAL_DIR)/src/stm32f4xx_pwr.c \
34	$(LOCAL_DIR)/src/stm32f4xx_qspi.c \
35	$(LOCAL_DIR)/src/stm32f4xx_rcc.c \
36	$(LOCAL_DIR)/src/stm32f4xx_rng.c \
37	$(LOCAL_DIR)/src/stm32f4xx_rtc.c \
38	$(LOCAL_DIR)/src/stm32f4xx_sai.c \
39	$(LOCAL_DIR)/src/stm32f4xx_sdio.c \
40	$(LOCAL_DIR)/src/stm32f4xx_spdifrx.c \
41	$(LOCAL_DIR)/src/stm32f4xx_spi.c \
42	$(LOCAL_DIR)/src/stm32f4xx_syscfg.c \
43	$(LOCAL_DIR)/src/stm32f4xx_tim.c \
44	$(LOCAL_DIR)/src/stm32f4xx_usart.c \
45	$(LOCAL_DIR)/src/stm32f4xx_wwdg.c \
46	$(LOCAL_DIR)/src/system_stm32f4xx.c
47
48ifeq ($(STM32_CHIP),stm32f429)
49	MODULE_SRCS += $(LOCAL_DIR)/src/stm32f4xx_fmc.c
50else
51	MODULE_SRCS += $(LOCAL_DIR)/src/stm32f4xx_fsmc.c
52endif
53
54include $(LOCAL_DIR)/CMSIS/rules.mk
55
56include make/module.mk
57