hwdef-bl.dat 945 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # hw definition file for processing by chibios_pins.py
  2. # for Holybro KakuteF7 bootloader
  3. # MCU class and specific type
  4. MCU STM32F7xx STM32F745xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 123
  7. # crystal frequency, setup to use external oscillator
  8. OSCILLATOR_HZ 8000000
  9. define STM32_LSECLK 32768U
  10. define STM32_LSEDRV (3U << 3U)
  11. define STM32_PLLSRC STM32_PLLSRC_HSE
  12. define STM32_PLLM_VALUE 8
  13. define STM32_PLLN_VALUE 432
  14. define STM32_PLLP_VALUE 2
  15. define STM32_PLLQ_VALUE 9
  16. FLASH_SIZE_KB 1024
  17. # bootloader starts at zero offset
  18. FLASH_RESERVE_START_KB 0
  19. # the location where the bootloader will put the firmware
  20. FLASH_BOOTLOADER_LOAD_KB 96
  21. # board voltage
  22. STM32_VDD 330U
  23. # order of UARTs (and USB)
  24. UART_ORDER OTG1
  25. # PA10 IO-debug-console
  26. PA11 OTG_FS_DM OTG1
  27. PA12 OTG_FS_DP OTG1
  28. PA13 JTMS-SWDIO SWD
  29. PA14 JTCK-SWCLK SWD
  30. PA2 LED_BOOTLOADER OUTPUT LOW
  31. define HAL_LED_ON 0
  32. define HAL_USE_EMPTY_STORAGE 1
  33. define HAL_STORAGE_SIZE 16384