hwdef-bl.dat 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 8000000
  7. define STM32_HSE_BYPASS
  8. # board ID for firmware load
  9. APJ_BOARD_ID 139
  10. # the nucleo seems to have trouble with flashing the last sector?
  11. FLASH_SIZE_KB 1920
  12. # bootloader is installed at zero offset
  13. FLASH_RESERVE_START_KB 0
  14. # the location where the bootloader will put the firmware
  15. # the H743 has 128k sectors
  16. FLASH_BOOTLOADER_LOAD_KB 128
  17. # board voltage
  18. STM32_VDD 330U
  19. # order of UARTs (and USB)
  20. UART_ORDER OTG1
  21. # UART7 is debug
  22. PF6 UART7_RX UART7 NODMA
  23. PE8 UART7_TX UART7 NODMA
  24. #PB0 LED_BOOTLOADER OUTPUT
  25. #PB7 LED_ACTIVITY OUTPUT
  26. #define HAL_LED_ON 0
  27. define STM32_SERIAL_USE_USART7 TRUE
  28. define HAL_USE_SERIAL TRUE
  29. PA11 OTG_FS_DM OTG1
  30. PA12 OTG_FS_DP OTG1
  31. PA13 JTMS-SWDIO SWD
  32. PA14 JTCK-SWCLK SWD
  33. define HAL_USE_EMPTY_STORAGE 1
  34. define HAL_STORAGE_SIZE 16384