update credits
[librepilot.git] / flight / targets / boards / revonano / board-info.mk
blobe750c50bd9c36a3dec19661a1f4fd68271113336
1 BOARD_TYPE := 0x09
2 BOARD_REVISION := 0x05
3 BOOTLOADER_VERSION := 0x06
4 HW_TYPE := 0x00
6 MCU := cortex-m4
7 CHIP := STM32F411CE
8 CHIPFAMILY := STM32F411xx
9 BOARD := STM32F4xx_RN
10 MODEL := HD
11 MODEL_SUFFIX :=
13 OPENOCD_JTAG_CONFIG := stlink-v2.cfg
14 OPENOCD_CONFIG := stm32f4xx.stlink.cfg
16 # Flash memory map for Revolution Nano:
17 # Sector start size use
18 # 0 0x0800 0000 16k BL
19 # 1 0x0800 4000 16k BL
20 # 2 0x0800 8000 16k EE
21 # 3 0x0800 C000 16k EE
22 # 4 0x0801 0000 64k FW
23 # 5 0x0802 0000 128k FW --- Proto
24 # 6 0x0804 0000 128k FW
25 # 7 0x0806 0000 128k FW
28 # Note: These must match the values in link_$(BOARD)_memory.ld
29 BL_BANK_BASE := 0x08000000 # Start of bootloader flash
30 BL_BANK_SIZE := 0x00008000 # Should include BD_INFO region
32 # 16KB for settings storage
34 EE_BANK_BASE := 0x08008000 # EEPROM storage area
35 EE_BANK_SIZE := 0x00008000 # Size of EEPROM storage area
37 # Leave the remaining 64KB sectors for other uses
39 FW_BANK_BASE := 0x08010000 # Start of firmware flash
40 FW_BANK_SIZE := 0x00070000 # Should include FW_DESC_SIZE
42 FW_DESC_SIZE := 0x00000064
44 OSCILLATOR_FREQ := 8000000
45 SYSCLK_FREQ := 96000000