You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1020 B
53 lines
1020 B
6 years ago
|
# hw definition file for processing by chibios_hwdef.py
|
||
6 years ago
|
# for H743 bootloader
|
||
6 years ago
|
|
||
|
# MCU class and specific type
|
||
|
MCU STM32H7xx STM32H743xx
|
||
|
|
||
|
# crystal frequency
|
||
|
OSCILLATOR_HZ 16000000
|
||
|
|
||
6 years ago
|
# USB setup
|
||
|
USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
|
||
|
USB_PRODUCT 0x004B
|
||
|
USB_STRING_MANUFACTURER "Holybro"
|
||
6 years ago
|
USB_STRING_PRODUCT "Durandal-BL"
|
||
6 years ago
|
USB_STRING_SERIAL "%SERIAL%"
|
||
|
|
||
6 years ago
|
# board ID for firmware load
|
||
|
APJ_BOARD_ID 139
|
||
|
|
||
|
FLASH_SIZE_KB 2048
|
||
|
|
||
|
# bootloader is installed at zero offset
|
||
|
FLASH_RESERVE_START_KB 0
|
||
|
|
||
|
# the location where the bootloader will put the firmware
|
||
|
# the H743 has 128k sectors
|
||
6 years ago
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||
6 years ago
|
|
||
|
PB1 LED_RED OUTPUT LOW # red
|
||
|
PC6 LED_ACTIVITY OUTPUT LOW # green
|
||
|
PC7 LED_BOOTLOADER OUTPUT LOW # blue
|
||
|
|
||
|
define HAL_LED_ON 0
|
||
|
|
||
|
# board voltage
|
||
|
STM32_VDD 330U
|
||
|
|
||
|
# order of UARTs (and USB)
|
||
6 years ago
|
UART_ORDER OTG1 UART7
|
||
|
|
||
|
# UART7 is debug
|
||
|
PF6 UART7_RX UART7 NODMA
|
||
|
PE8 UART7_TX UART7 NODMA
|
||
6 years ago
|
|
||
|
PA11 OTG_FS_DM OTG1
|
||
|
PA12 OTG_FS_DP OTG1
|
||
|
|
||
|
PA13 JTMS-SWDIO SWD
|
||
|
PA14 JTCK-SWCLK SWD
|
||
|
|
||
|
define HAL_USE_EMPTY_STORAGE 1
|
||
|
define HAL_STORAGE_SIZE 16384
|