1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

revo: increase FW_BANK_SIZE to be flash sector aligned

The F4 CPUs have 16KB x 4, 64KB x 1 and 128KB x 7 sectors
of flash.  The FW image currently ends in the middle of a
128KB sector.  FW_BANK is now increased to end on a sector
boundary.
This commit is contained in:
Stacey Sheldon 2012-03-04 20:01:41 -05:00
parent e2ab662b5d
commit 50b74fa90c

View File

@ -16,7 +16,7 @@ OPENOCD_CONFIG := stm32f4xx.stlink.cfg
BL_BANK_BASE := 0x08000000 # Start of bootloader flash
BL_BANK_SIZE := 0x00008000 # Should include BD_INFO region
FW_BANK_BASE := 0x08008000 # Start of firmware flash
FW_BANK_SIZE := 0x0001E000 # Should include FW_DESC_SIZE
FW_BANK_SIZE := 0x00038000 # Should include FW_DESC_SIZE
FW_DESC_SIZE := 0x00000064