hwdef-bl.dat 720 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # hw definition file for processing by chibios_pins.py
  2. # for omnibusf4pro bootloader
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 131
  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