hwdef-bl.dat 718 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # hw definition file for processing by chibios_pins.py
  2. # for speedybeef4 bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 134
  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. define HAL_LED_ON 0
  18. # the location where the bootloader will put the firmware
  19. FLASH_BOOTLOADER_LOAD_KB 64
  20. # board voltage
  21. STM32_VDD 330U
  22. # order of UARTs
  23. UART_ORDER OTG1
  24. PA11 OTG_FS_DM OTG1
  25. PA12 OTG_FS_DP OTG1
  26. define HAL_USE_EMPTY_STORAGE 1
  27. define HAL_STORAGE_SIZE 15360