hwdef-bl.dat 683 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # hw definition file for processing by chibios_hwdef.py
  2. # for f4by bootloader
  3. MCU STM32F4xx STM32F407xx
  4. APJ_BOARD_ID 20
  5. OSCILLATOR_HZ 8000000
  6. STM32_PLLM_VALUE 8
  7. # board voltage
  8. STM32_VDD 330U
  9. STM32_ST_USE_TIMER 5
  10. # flash size
  11. FLASH_SIZE_KB 1024
  12. # order of UARTs (and USB)
  13. UART_ORDER OTG1 USART2
  14. PE3 LED_BOOTLOADER OUTPUT
  15. PE2 LED_ACTIVITY OUTPUT
  16. define HAL_LED_ON 1
  17. PA9 VBUS INPUT
  18. PA11 OTG_FS_DM OTG1
  19. PA12 OTG_FS_DP OTG1
  20. PA13 JTMS-SWDIO SWD
  21. PA14 JTCK-SWCLK SWD
  22. PD5 USART2_TX USART2
  23. PD6 USART2_RX USART2
  24. FLASH_USE_MAX_KB 16
  25. FLASH_RESERVE_START_KB 0
  26. define HAL_USE_EMPTY_STORAGE 1
  27. define HAL_STORAGE_SIZE 16384
  28. # location of application code
  29. FLASH_BOOTLOADER_LOAD_KB 16