Add STM32F429I-DISCO1 support(default serial:USART1).

This commit is contained in:
Martin Foo
2017-07-02 18:26:52 +08:00
committed by Travis Geiselbrecht
parent 42ddc062f3
commit b66bd3e420
12 changed files with 236 additions and 1 deletions

View File

@@ -106,6 +106,11 @@
#define STM32F427_437xx
#endif /* STM32F427X */
/* Old STM32F427X definition, maintained for legacy purpose */
#ifdef STM32F429_439XX
#define STM32F429_439xx
#endif /* STM32F427X */
/* Tip: To avoid modifying this file each time you need to switch between these
devices, you can define the device in your toolchain compiler preprocessor.
*/

View File

@@ -23,7 +23,6 @@ MODULE_SRCS += \
$(LOCAL_DIR)/src/stm32f4xx_flash.c \
$(LOCAL_DIR)/src/stm32f4xx_flash_ramfunc.c \
$(LOCAL_DIR)/src/stm32f4xx_fmpi2c.c \
$(LOCAL_DIR)/src/stm32f4xx_fsmc.c \
$(LOCAL_DIR)/src/stm32f4xx_gpio.c \
$(LOCAL_DIR)/src/stm32f4xx_hash.c \
$(LOCAL_DIR)/src/stm32f4xx_hash_md5.c \
@@ -46,6 +45,12 @@ MODULE_SRCS += \
$(LOCAL_DIR)/src/stm32f4xx_wwdg.c \
$(LOCAL_DIR)/src/system_stm32f4xx.c
ifeq ($(STM32_CHIP),stm32f429)
MODULE_SRCS += $(LOCAL_DIR)/src/stm32f4xx_fmc.c
else
MODULE_SRCS += $(LOCAL_DIR)/src/stm32f4xx_fsmc.c
endif
include $(LOCAL_DIR)/CMSIS/rules.mk
include make/module.mk