hwdef-bl.dat 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. # USB setup
  6. USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
  7. USB_PRODUCT 0x1016
  8. USB_STRING_MANUFACTURER "Hex/ProfiCNC"
  9. USB_STRING_PRODUCT "CubeOrange-BL"
  10. USB_STRING_SERIAL "%SERIAL%"
  11. # crystal frequency
  12. OSCILLATOR_HZ 24000000
  13. # board ID for firmware load
  14. APJ_BOARD_ID 140
  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. define HAL_LED_ON 0
  22. # board voltage
  23. STM32_VDD 330U
  24. # order of UARTs (and USB)
  25. UART_ORDER OTG1 UART7
  26. # UART7 maps to uartF in the HAL (serial5 in SERIALn_ parameters).
  27. PE7 UART7_RX UART7
  28. PE8 UART7_TX UART7
  29. # Pin for PWM Voltage Selection
  30. PB4 PWM_VOLT_SEL OUTPUT HIGH
  31. PA11 OTG_FS_DM OTG1
  32. PA12 OTG_FS_DP OTG1
  33. PA13 JTMS-SWDIO SWD
  34. PA14 JTCK-SWCLK SWD
  35. define HAL_USE_EMPTY_STORAGE 1
  36. define HAL_STORAGE_SIZE 16384