hwdef-bl.dat 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # hw definition file for processing by chibios_pins.py
  2. # for f745 bootloader
  3. # MCU class and specific type
  4. MCU STM32F7xx STM32F745xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 121
  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 is installed 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. UART_ORDER OTG1
  24. # PA10 IO-debug-console
  25. PA11 OTG_FS_DM OTG1
  26. PA12 OTG_FS_DP OTG1
  27. PA13 JTMS-SWDIO SWD
  28. PA14 JTCK-SWCLK SWD
  29. PA2 LED_BOOTLOADER OUTPUT HIGH
  30. define HAL_LED_ON 0
  31. define HAL_USE_EMPTY_STORAGE
  32. define HAL_STORAGE_SIZE 16384
  33. define STORAGE_FLASH_PAGE 1