2018-05-08 04:45:14 -03:00
|
|
|
# Board-specific configuration values. Flash and SRAM sizes in bytes.
|
|
|
|
|
|
|
|
MCU := STM32F405RG
|
|
|
|
PRODUCT_ID := 0003
|
|
|
|
DENSITY := STM32_HIGH_DENSITY
|
|
|
|
FLASH_SIZE := 1048576
|
|
|
|
SRAM_SIZE := 131072
|
|
|
|
|
|
|
|
BOARD_TYPE := 70
|
|
|
|
BOARD_REV := 8
|
2018-07-18 04:04:44 -03:00
|
|
|
BOOTLOADER := F4LightF405_bl
|
2018-05-08 04:45:14 -03: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
|