build: refactor fw, bl and bu rules
- New macros for fw, bl and bu rules in top-level make
- Per-board info factored into make/board/*/board-info.mk
- Per-board info now shared btw. fw, bl and blupd for each board
- BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION, HW_TYPE
- MCU, CHIP, BOARD, MODEL, MODEL_SUFFIX
- START_OF_BL_CODE, START_OF_FW_CODE
- blupd_* goals renamed to bu_*
- all_blupd goal renamed to all_bu
- firmware goals renamed to fw_*, board name goals are preserved
- bu_*_program now writes updater to correct address for all boards
- BL updater firmware builds now produce .opf format including
version info blob.
- BL updater firmware name now includes board name.
- INS makefile brought up to date w.r.t. linker scripts
2011-05-23 21:11:53 +02:00
|
|
|
BOARD_TYPE := 0x05
|
|
|
|
BOARD_REVISION := 0x01
|
|
|
|
BOOTLOADER_VERSION := 0x00
|
|
|
|
HW_TYPE := 0x00
|
|
|
|
|
2012-05-05 18:40:44 +02:00
|
|
|
MCU := cortex-m4
|
|
|
|
CHIP := STM32F205RGT
|
|
|
|
BOARD := STM32F2xx_INS
|
build: refactor fw, bl and bu rules
- New macros for fw, bl and bu rules in top-level make
- Per-board info factored into make/board/*/board-info.mk
- Per-board info now shared btw. fw, bl and blupd for each board
- BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION, HW_TYPE
- MCU, CHIP, BOARD, MODEL, MODEL_SUFFIX
- START_OF_BL_CODE, START_OF_FW_CODE
- blupd_* goals renamed to bu_*
- all_blupd goal renamed to all_bu
- firmware goals renamed to fw_*, board name goals are preserved
- bu_*_program now writes updater to correct address for all boards
- BL updater firmware builds now produce .opf format including
version info blob.
- BL updater firmware name now includes board name.
- INS makefile brought up to date w.r.t. linker scripts
2011-05-23 21:11:53 +02:00
|
|
|
MODEL := HD
|
2012-05-05 18:40:44 +02:00
|
|
|
MODEL_SUFFIX :=
|
build: refactor fw, bl and bu rules
- New macros for fw, bl and bu rules in top-level make
- Per-board info factored into make/board/*/board-info.mk
- Per-board info now shared btw. fw, bl and blupd for each board
- BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION, HW_TYPE
- MCU, CHIP, BOARD, MODEL, MODEL_SUFFIX
- START_OF_BL_CODE, START_OF_FW_CODE
- blupd_* goals renamed to bu_*
- all_blupd goal renamed to all_bu
- firmware goals renamed to fw_*, board name goals are preserved
- bu_*_program now writes updater to correct address for all boards
- BL updater firmware builds now produce .opf format including
version info blob.
- BL updater firmware name now includes board name.
- INS makefile brought up to date w.r.t. linker scripts
2011-05-23 21:11:53 +02:00
|
|
|
|
2012-05-05 18:40:44 +02:00
|
|
|
OPENOCD_CONFIG := stm32f4xx.cfg
|
2011-08-27 16:43:02 +02:00
|
|
|
|
2011-05-25 05:47:03 +02:00
|
|
|
# Note: These must match the values in link_$(BOARD)_memory.ld
|
|
|
|
BL_BANK_BASE := 0x08000000 # Start of bootloader flash
|
2012-05-05 18:40:44 +02:00
|
|
|
BL_BANK_SIZE := 0x00008000 # Should include BD_INFO region
|
|
|
|
FW_BANK_BASE := 0x08008000 # Start of firmware flash
|
2011-05-25 05:47:03 +02:00
|
|
|
FW_BANK_SIZE := 0x0001E000 # Should include FW_DESC_SIZE
|
|
|
|
|
|
|
|
FW_DESC_SIZE := 0x00000064
|
2012-05-05 18:40:44 +02:00
|
|
|
|
|
|
|
OSCILLATOR_FREQ := 8000000
|
|
|
|
SYSCLK_FREQ := 168000000
|