LP-480 work in progress: revo, nano & sparky2 targets ok.
[librepilot.git] / flight / targets / boards / revolution / board-info.mk
blobf323428bf60af6d8874c15983b621ccc3eca40d0
1 BOARD_TYPE := 0x09
2 BOARD_REVISION := 0x03
3 BOOTLOADER_VERSION := 0x06
4 HW_TYPE := 0x00
6 MCU := cortex-m4
7 CHIP := STM32F405RGT
8 BOARD := STM32F4xx_RM
9 MODEL := HD
10 MODEL_SUFFIX :=
12 OPENOCD_JTAG_CONFIG := stlink-v2.cfg
13 OPENOCD_CONFIG := stm32f4xx.stlink.cfg
15 # Flash memory map for Revolution:
16 # Sector start size use
17 # 0 0x0800 0000 16k BL
18 # 1 0x0800 4000 16k BL
19 # 2 0x0800 8000 16k EE
20 # 3 0x0800 C000 16k EE
21 # 4 0x0801 0000 64k Unused
22 # 5 0x0802 0000 128k FW
23 # 6 0x0804 0000 128k FW
24 # 7 0x0806 0000 128k FW
25 # 8 0x0808 0000 128k Unused
26 # 9 0x080A 0000 128k Unused
27 # 10 0x080C 0000 128k Unused ..
28 # 11 0x080E 0000 128k Unused
30 # Note: These must match the values in link_$(BOARD)_memory.ld
31 BL_BANK_BASE := 0x08000000 # Start of bootloader flash
32 BL_BANK_SIZE := 0x00008000 # Should include BD_INFO region
34 # 16KB for settings storage
36 EE_BANK_BASE := 0x08008000 # EEPROM storage area
37 EE_BANK_SIZE := 0x00008000 # Size of EEPROM storage area
39 # Leave the remaining 64KB sectors for other uses
41 FW_BANK_BASE := 0x08020000 # Start of firmware flash
42 FW_BANK_SIZE := 0x000A0000 # Should include FW_DESC_SIZE
44 FW_DESC_SIZE := 0x00000064
46 OSCILLATOR_FREQ := 8000000
47 SYSCLK_FREQ := 168000000