hwdef-bl.dat 949 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # hw definition file for processing by chibios_pins.py
  2. # for Matek F405-Wing bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 127
  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 USART3 UART4 UART5 USART6
  21. PA0 UART4_TX UART4
  22. PA1 UART4_RX UART4
  23. PA9 USART1_TX USART1
  24. PA10 USART1_RX USART1
  25. PA11 OTG_FS_DM OTG1
  26. PA12 OTG_FS_DP OTG1
  27. PC6 USART6_TX USART6
  28. PC7 USART6_RX USART6
  29. PC10 USART3_TX USART3
  30. PC11 USART3_RX USART3
  31. PC12 UART5_TX UART5
  32. PD2 UART5_RX UART5
  33. PA14 LED_BOOTLOADER OUTPUT LOW GPIO(0)
  34. PA13 LED_ACTIVITY OUTPUT LOW GPIO(1) # optional
  35. define HAL_LED_ON 0