hwdef-bl.dat 864 B

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