Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / targets / boards / oplinkmini / board-info.mk
blobd87a6814292c7b778737b79c47a49d12cfdc728f
1 BOARD_TYPE := 0x03
2 BOARD_REVISION := 0x01
3 BOOTLOADER_VERSION := 0x04
4 HW_TYPE := 0x01
6 MCU := cortex-m3
7 CHIP := STM32F103CBT
8 BOARD := STM32103CB_OPLINKMINI
9 MODEL := MD
10 MODEL_SUFFIX := _PX
12 OPENOCD_JTAG_CONFIG := stlink-v2.cfg
13 OPENOCD_CONFIG := stm32f1x.stlink.cfg
15 # Flash memory map for OPLM:
16 # Sector start size use
17 # 0 0x0800 0000 1k BL
18 # 1 0x0800 0400 1k BL
19 # .. ..
20 # 10 0x0800 2C00 1k BL
21 # 11 0x0800 3000 1k FW
22 # 12 0x0800 1000 1k FW
23 # .. ..
24 # 125 0x0801 F400 1k FW
25 # 126 0x0801 F800 1k EE
26 # 127 0x0801 FC00 1k EE
29 # Note: These must match the values in link_$(BOARD)_memory.ld
30 BL_BANK_BASE := 0x08000000 # Start of bootloader flash
31 BL_BANK_SIZE := 0x00003000 # Should include BD_INFO region
32 FW_BANK_BASE := 0x08003000 # Start of firmware flash
33 FW_BANK_SIZE := 0x0001CC00 # Should include FW_DESC_SIZE
34 FW_BANK_SIZE := 0x00019000 # Should include FW_DESC_SIZE
35 EE_BANK_BASE := 0x0801C000 # EEPROM storage area
36 EE_BANK_SIZE := 0x00004000 # Size of EEPROM storage area
38 FW_DESC_SIZE := 0x00000064
40 OSCILLATOR_FREQ := 8000000