mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
d4b0475f6a
This makes the BL and FW images distinct devices with unique serial numbers. Windows (and maybe Mac) remembers the device descriptors and the associated drivers based on this serial number. Providing unique serial numbers for the BL and FW images allows us to provide different sets of descriptors for the BL and FW images without confusing these OSes. BL version number is now also bumped to reflect the new serial number generation algorithm.
22 lines
711 B
Makefile
22 lines
711 B
Makefile
BOARD_TYPE := 0x04
|
|
BOARD_REVISION := 0x02
|
|
BOOTLOADER_VERSION := 0x03
|
|
HW_TYPE := 0x01
|
|
|
|
MCU := cortex-m3
|
|
CHIP := STM32F103CBT
|
|
BOARD := STM32103CB_CC_Rev1
|
|
MODEL := MD
|
|
MODEL_SUFFIX := _CC
|
|
|
|
OPENOCD_JTAG_CONFIG := foss-jtag.revb.cfg
|
|
OPENOCD_CONFIG := stm32f1x.cfg
|
|
|
|
# Note: These must match the values in link_$(BOARD)_memory.ld
|
|
BL_BANK_BASE := 0x08000000 # Start of bootloader flash
|
|
BL_BANK_SIZE := 0x00003000 # Should include BD_INFO region
|
|
FW_BANK_BASE := 0x08003000 # Start of firmware flash
|
|
FW_BANK_SIZE := 0x0001D000 # Should include FW_DESC_SIZE
|
|
|
|
FW_DESC_SIZE := 0x00000064
|