You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
ifeq ($(TARGET),f407)
|
|
|
|
cmsis_startup += $(cmsis_dir)/src/startup_stm32f40xx.S
|
|
|
|
ROMSZ := 256k
|
|
|
|
RAMSZ := 128k
|
|
|
|
TARGET_CFLAGS += -DSTM32F40_41xxx -DHSE_VALUE=8000000
|
|
|
|
cmsis_srcs += $(stdph_dir)/src/stm32f4xx_fsmc.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(TARGET),f429)
|
|
|
|
cmsis_startup += $(cmsis_dir)/src/startup_stm32f429_439xx.S
|
|
|
|
ROMSZ := 2048k
|
|
|
|
RAMSZ := 192k
|
|
|
|
TARGET_CFLAGS += -DSTM32F429xx -DSTM32F429_439xx -DHSE_VALUE=8000000 -DDATA_IN_ExtSDRAM
|
|
|
|
cmsis_srcs += $(stdph_dir)/src/stm32f4xx_fmc.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(TARGET),audio)
|
|
|
|
cmsis_startup += $(cmsis_dir)/src/startup_stm32f429_439xx.S
|
|
|
|
ROMSZ := 2048k
|
|
|
|
RAMSZ := 192k
|
|
|
|
link_script := $(top_dir)/src/flash.ld
|
|
|
|
TARGET_CFLAGS += -DSTM32F429xx -DSTM32F429_439xx -DHSE_VALUE=8000000 -DSDRAM_IS42S32800G
|
|
|
|
cmsis_srcs += $(stdph_dir)/src/stm32f4xx_fmc.c
|
|
|
|
endif
|
|
|
|
|