mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
406339eb49
Conflicts: flight/Libraries/inc/op_dfu.h flight/Libraries/op_dfu.c flight/targets/Bootloaders/CopterControl/inc/op_dfu.h flight/targets/Bootloaders/OSD/op_dfu.c flight/targets/boards/coptercontrol/bootloader/inc/op_dfu.h flight/targets/boards/coptercontrol/bootloader/op_dfu.c flight/targets/boards/oplinkmini/bootloader/inc/op_dfu.h flight/targets/boards/oplinkmini/bootloader/op_dfu.c flight/targets/boards/osd/bootloader/inc/op_dfu.h flight/targets/boards/osd/bootloader/op_dfu.c flight/targets/boards/revolution/bootloader/inc/op_dfu.h flight/targets/boards/revolution/bootloader/op_dfu.c flight/targets/boards/sensortest/bootloader/inc/op_dfu.h flight/targets/boards/sensortest/bootloader/op_dfu.c make/boot-defs.mk
28 lines
833 B
Makefile
28 lines
833 B
Makefile
BOARD_TYPE := 0x09
|
|
BOARD_REVISION := 0x03
|
|
BOOTLOADER_VERSION := 0x04
|
|
HW_TYPE := 0x00
|
|
|
|
MCU := cortex-m4
|
|
CHIP := STM32F405RGT
|
|
BOARD := STM32F4xx_RM
|
|
MODEL := HD
|
|
MODEL_SUFFIX :=
|
|
|
|
OPENOCD_JTAG_CONFIG := stlink-v2.cfg
|
|
OPENOCD_CONFIG := stm32f4xx.stlink.cfg
|
|
|
|
# Note: These must match the values in link_$(BOARD)_memory.ld
|
|
BL_BANK_BASE := 0x08000000 # Start of bootloader flash
|
|
BL_BANK_SIZE := 0x00008000 # Should include BD_INFO region
|
|
|
|
# Leave the remaining 16KB and 64KB sectors for other uses
|
|
|
|
FW_BANK_BASE := 0x08020000 # Start of firmware flash
|
|
FW_BANK_SIZE := 0x00040000 # Should include FW_DESC_SIZE
|
|
|
|
FW_DESC_SIZE := 0x00000064
|
|
|
|
OSCILLATOR_FREQ := 8000000
|
|
SYSCLK_FREQ := 168000000
|