hwdef-bl.dat 749 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # hw definition file for processing by chibios_pins.py
  2. # for minimal F405 bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 124
  7. # crystal frequency
  8. OSCILLATOR_HZ 8000000
  9. STM32_PLLM_VALUE 8
  10. FLASH_SIZE_KB 1024
  11. # don't allow bootloader to use more than 16k
  12. FLASH_USE_MAX_KB 16
  13. # bootloader is installed at zero offset
  14. FLASH_RESERVE_START_KB 0
  15. # LEDs
  16. PB5 LED_BOOTLOADER OUTPUT LOW
  17. PB4 LED_ACTIVITY OUTPUT LOW
  18. define HAL_LED_ON 0
  19. # the location where the bootloader will put the firmware
  20. FLASH_BOOTLOADER_LOAD_KB 64
  21. # board voltage
  22. STM32_VDD 330U
  23. # order of UARTs
  24. UART_ORDER OTG1
  25. PA11 OTG_FS_DM OTG1
  26. PA12 OTG_FS_DP OTG1
  27. define HAL_USE_EMPTY_STORAGE 1
  28. define HAL_STORAGE_SIZE 15360