hwdef-bl.dat 849 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # hw definition file for processing by chibios_pins.py
  2. # for Furious FPV F35 Lightning type hardware bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 135
  7. # crystal frequency
  8. OSCILLATOR_HZ 8000000
  9. STM32_PLLM_VALUE 8
  10. # bootloader is installed at zero offset
  11. FLASH_RESERVE_START_KB 0
  12. FLASH_SIZE_KB 1024
  13. # the location where the bootloader will put the firmware
  14. FLASH_BOOTLOADER_LOAD_KB 64
  15. define HAL_STORAGE_SIZE 15360
  16. define STORAGE_FLASH_PAGE 1
  17. # board voltage
  18. STM32_VDD 330U
  19. # order of UARTs
  20. UART_ORDER OTG1 USART1 USART2 UART5
  21. PA11 OTG_FS_DM OTG1
  22. PA12 OTG_FS_DP OTG1
  23. # UART1
  24. PA9 USART1_TX USART1
  25. PA10 USART1_RX USART1
  26. # UART2
  27. PA2 USART2_TX USART2
  28. PA3 USART2_RX USART2
  29. # UART5
  30. PC12 UART5_TX UART5
  31. PD2 UART5_RX UART5
  32. PC10 LED_BOOTLOADER OUTPUT LOW GPIO(0)
  33. define HAL_LED_ON 0