hwdef-bl.dat 1020 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # hw definition file for processing by chibios_hwdef.py
  2. # for H743 bootloader
  3. # MCU class and specific type
  4. MCU STM32H7xx STM32H743xx
  5. # crystal frequency
  6. OSCILLATOR_HZ 16000000
  7. # USB setup
  8. USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
  9. USB_PRODUCT 0x004B
  10. USB_STRING_MANUFACTURER "Holybro"
  11. USB_STRING_PRODUCT "Durandal-BL"
  12. USB_STRING_SERIAL "%SERIAL%"
  13. # board ID for firmware load
  14. APJ_BOARD_ID 139
  15. FLASH_SIZE_KB 2048
  16. # bootloader is installed at zero offset
  17. FLASH_RESERVE_START_KB 0
  18. # the location where the bootloader will put the firmware
  19. # the H743 has 128k sectors
  20. FLASH_BOOTLOADER_LOAD_KB 128
  21. PB1 LED_RED OUTPUT LOW # red
  22. PC6 LED_ACTIVITY OUTPUT LOW # green
  23. PC7 LED_BOOTLOADER OUTPUT LOW # blue
  24. define HAL_LED_ON 0
  25. # board voltage
  26. STM32_VDD 330U
  27. # order of UARTs (and USB)
  28. UART_ORDER OTG1 UART7
  29. # UART7 is debug
  30. PF6 UART7_RX UART7 NODMA
  31. PE8 UART7_TX UART7 NODMA
  32. PA11 OTG_FS_DM OTG1
  33. PA12 OTG_FS_DP OTG1
  34. PA13 JTMS-SWDIO SWD
  35. PA14 JTCK-SWCLK SWD
  36. define HAL_USE_EMPTY_STORAGE 1
  37. define HAL_STORAGE_SIZE 16384