hwdef-bl.dat 828 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # hw definition file for processing by chibios_hwdef.py
  2. # for FMUv4 bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F427xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 11
  7. # crystal frequency
  8. OSCILLATOR_HZ 24000000
  9. # board voltage
  10. STM32_VDD 330U
  11. # ChibiOS system timer
  12. STM32_ST_USE_TIMER 5
  13. # flash size
  14. FLASH_SIZE_KB 2048
  15. # order of UARTs (and USB)
  16. UART_ORDER OTG1 USART2
  17. PB1 LED_BOOTLOADER OUTPUT
  18. PB3 LED_ACTIVITY OUTPUT
  19. define HAL_LED_ON 1
  20. PA9 VBUS INPUT
  21. PA11 OTG_FS_DM OTG1
  22. PA12 OTG_FS_DP OTG1
  23. PA13 JTMS-SWDIO SWD
  24. PA14 JTCK-SWCLK SWD
  25. # USART2 serial2 telem1
  26. PD3 USART2_CTS USART2
  27. PD4 USART2_RTS USART2
  28. PD5 USART2_TX USART2
  29. PD6 USART2_RX USART2
  30. define HAL_STORAGE_SIZE 16384
  31. # location of application code
  32. FLASH_BOOTLOADER_LOAD_KB 16
  33. # bootloader loads at start of flash
  34. FLASH_RESERVE_START_KB 0