2018-02-02 16:35:18 -04:00
|
|
|
# Board-specific configuration values. Flash and SRAM sizes in bytes.
|
|
|
|
|
2018-02-28 05:08:39 -04:00
|
|
|
MCU := STM32F405RG
|
|
|
|
PRODUCT_ID := 0003
|
|
|
|
DENSITY := STM32_HIGH_DENSITY
|
|
|
|
FLASH_SIZE := 1048576
|
|
|
|
SRAM_SIZE := 131072
|
|
|
|
|
|
|
|
BOARD_TYPE := 70
|
|
|
|
BOARD_REV := 0
|
|
|
|
BOOTLOADER := revo405_bl
|
2018-02-02 16:35:18 -04:00
|
|
|
|
|
|
|
# Memory target-specific configuration values
|
|
|
|
|
|
|
|
ifeq ($(MEMORY_TARGET), ram)
|
|
|
|
LDSCRIPT := ram.ld
|
|
|
|
VECT_BASE_ADDR := VECT_TAB_RAM
|
|
|
|
endif
|
|
|
|
ifeq ($(MEMORY_TARGET), flash)
|
|
|
|
LDSCRIPT := flash.ld
|
|
|
|
VECT_BASE_ADDR := VECT_TAB_FLASH
|
|
|
|
endif
|
|
|
|
ifeq ($(MEMORY_TARGET), jtag)
|
|
|
|
LDSCRIPT := jtag.ld
|
|
|
|
VECT_BASE_ADDR := VECT_TAB_BASE
|
|
|
|
endif
|